Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ai
ygopro-222DIY-cards
Commits
c471762a
Commit
c471762a
authored
Mar 02, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
888
parent
481880f6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c115005.lua
expansions/script/c115005.lua
+1
-1
expansions/script/c115006.lua
expansions/script/c115006.lua
+1
-1
expansions/script/c12037006.lua
expansions/script/c12037006.lua
+2
-2
expansions/script/c12044021.lua
expansions/script/c12044021.lua
+1
-1
No files found.
expansions/script/c115005.lua
View file @
c471762a
...
...
@@ -108,7 +108,7 @@ end
function
cm
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
drcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
(),
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
drcfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
1
,
1
,
e
:
GetHandler
(),
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
drcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
(),
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
cm
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c115006.lua
View file @
c471762a
...
...
@@ -23,7 +23,7 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
+
LOCATION_GRAVE
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
e2
:
SetCode
(
EFFECT_
CHANGE
_ATTRIBUTE
)
e2
:
SetCode
(
EFFECT_
ADD
_ATTRIBUTE
)
e2
:
SetCondition
(
cm
.
condition
)
e2
:
SetValue
(
ATTRIBUTE_LIGHT
)
c
:
RegisterEffect
(
e2
)
...
...
expansions/script/c12037006.lua
View file @
c471762a
...
...
@@ -16,7 +16,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
--tohand
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
5
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCountLimit
(
1
,
m
)
...
...
@@ -33,7 +33,7 @@ function cm.cost3(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
con3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
Is
DefensePos
()
and
c
:
Is
SetCard
(
0x2fb5
)
return
c
:
IsSetCard
(
0x2fb5
)
end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x1fb5
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c12044021.lua
View file @
c471762a
...
...
@@ -102,7 +102,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
end
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
return
re
:
GetHandler
():
IsSetCard
(
0x
1fbd
)
and
loc
==
LOCATION_HAND
return
re
:
GetHandler
():
IsSetCard
(
0x
8fb5
)
and
loc
==
LOCATION_HAND
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
12044025
,
0
,
0x4011
,
1800
,
1800
,
4
,
RACE_PSYCHO
,
ATTRIBUTE_DARK
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment