Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
db931ed8
Commit
db931ed8
authored
Jul 18, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
for Forbidden
parent
b9f60344
Changes
41
Show whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
62 additions
and
50 deletions
+62
-50
c11136371.lua
c11136371.lua
+8
-5
c11790356.lua
c11790356.lua
+1
-1
c14756848.lua
c14756848.lua
+1
-1
c18060565.lua
c18060565.lua
+1
-1
c21249921.lua
c21249921.lua
+1
-1
c21790410.lua
c21790410.lua
+1
-1
c22842214.lua
c22842214.lua
+1
-1
c2461031.lua
c2461031.lua
+1
-1
c25682811.lua
c25682811.lua
+1
-1
c26211048.lua
c26211048.lua
+6
-3
c26885836.lua
c26885836.lua
+1
-1
c28183605.lua
c28183605.lua
+1
-1
c3019642.lua
c3019642.lua
+1
-1
c30312361.lua
c30312361.lua
+1
-1
c31563350.lua
c31563350.lua
+1
-1
c33460840.lua
c33460840.lua
+1
-1
c3428069.lua
c3428069.lua
+1
-1
c38450736.lua
c38450736.lua
+1
-1
c40418351.lua
c40418351.lua
+1
-1
c41230939.lua
c41230939.lua
+1
-1
c44505297.lua
c44505297.lua
+6
-3
c47408488.lua
c47408488.lua
+4
-1
c51345461.lua
c51345461.lua
+1
-1
c52601736.lua
c52601736.lua
+1
-1
c54578613.lua
c54578613.lua
+1
-1
c56051086.lua
c56051086.lua
+1
-1
c6075801.lua
c6075801.lua
+2
-2
c61538782.lua
c61538782.lua
+1
-1
c63487632.lua
c63487632.lua
+1
-1
c66066482.lua
c66066482.lua
+1
-1
c68184115.lua
c68184115.lua
+1
-1
c69207766.lua
c69207766.lua
+1
-1
c77625948.lua
c77625948.lua
+1
-1
c83326048.lua
c83326048.lua
+1
-1
c84769941.lua
c84769941.lua
+1
-1
c876330.lua
c876330.lua
+1
-1
c9161357.lua
c9161357.lua
+1
-1
c93157004.lua
c93157004.lua
+1
-1
c95090813.lua
c95090813.lua
+1
-1
c95395761.lua
c95395761.lua
+1
-1
c99659159.lua
c99659159.lua
+1
-1
No files found.
c11136371.lua
View file @
db931ed8
...
@@ -9,23 +9,26 @@ function c11136371.initial_effect(c)
...
@@ -9,23 +9,26 @@ function c11136371.initial_effect(c)
e1
:
SetOperation
(
c11136371
.
plop
)
e1
:
SetOperation
(
c11136371
.
plop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c11136371
.
pl
filter
(
c
)
function
c11136371
.
c
filter
(
c
)
return
c
:
GetSequence
()
<
5
and
c
:
IsAbleToGraveAsCost
()
return
c
:
GetSequence
()
<
5
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c11136371
.
plcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11136371
.
plcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11136371
.
pl
filter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11136371
.
c
filter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
e
:
GetHandler
())
end
local
g
=
Duel
.
GetMatchingGroup
(
c11136371
.
pl
filter
,
tp
,
LOCATION_SZONE
,
0
,
e
:
GetHandler
())
local
g
=
Duel
.
GetMatchingGroup
(
c11136371
.
c
filter
,
tp
,
LOCATION_SZONE
,
0
,
e
:
GetHandler
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
end
function
c11136371
.
plfilter
(
c
)
return
c
:
IsSetCard
(
0x1034
)
and
not
c
:
IsForbidden
()
end
function
c11136371
.
pltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11136371
.
pltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
0x1034
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11136371
.
plfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
end
function
c11136371
.
plop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11136371
.
plop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
if
ft
<=
0
then
return
end
if
ft
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
ft
,
ft
,
nil
,
0x1034
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c11136371
.
plfilter
,
tp
,
LOCATION_GRAVE
,
0
,
ft
,
ft
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
...
...
c11790356.lua
View file @
db931ed8
...
@@ -62,7 +62,7 @@ function c11790356.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,7 +62,7 @@ function c11790356.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
end
end
function
c11790356
.
filter2
(
c
)
function
c11790356
.
filter2
(
c
)
return
c
:
IsSetCard
(
0xd6
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0xd6
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c11790356
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c11790356
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c11790356
.
cfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c11790356
.
cfilter
(
chkc
)
end
...
...
c14756848.lua
View file @
db931ed8
...
@@ -112,7 +112,7 @@ function c14756848.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -112,7 +112,7 @@ function c14756848.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
6
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
7
))
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
6
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
7
))
and
not
tc
:
IsLocation
(
LOCATION_HAND
+
LOCATION_DECK
)
and
not
tc
:
IsLocation
(
LOCATION_HAND
+
LOCATION_DECK
)
and
not
tc
:
IsForbidden
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
14756848
,
4
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
14756848
,
4
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
...
...
c18060565.lua
View file @
db931ed8
...
@@ -26,7 +26,7 @@ function c18060565.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -26,7 +26,7 @@ function c18060565.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c18060565
.
eqfilter
(
c
)
function
c18060565
.
eqfilter
(
c
)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsLevelBelow
(
3
)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsLevelBelow
(
3
)
and
not
c
:
IsForbidden
()
end
end
function
c18060565
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c18060565
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
...
...
c21249921.lua
View file @
db931ed8
...
@@ -29,7 +29,7 @@ function c21249921.eqcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,7 +29,7 @@ function c21249921.eqcon(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
end
function
c21249921
.
filter
(
c
)
function
c21249921
.
filter
(
c
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c21249921
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c21249921
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c21249921
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c21249921
.
filter
(
chkc
)
end
...
...
c21790410.lua
View file @
db931ed8
...
@@ -30,7 +30,7 @@ function c21790410.initial_effect(c)
...
@@ -30,7 +30,7 @@ function c21790410.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c21790410
.
filter
(
c
)
function
c21790410
.
filter
(
c
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c21790410
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21790410
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c22842214.lua
View file @
db931ed8
...
@@ -31,7 +31,7 @@ function c22842214.initial_effect(c)
...
@@ -31,7 +31,7 @@ function c22842214.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c22842214
.
filter
(
c
)
function
c22842214
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FISH
+
RACE_AQUA
+
RACE_SEASERPENT
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FISH
+
RACE_AQUA
+
RACE_SEASERPENT
)
and
not
c
:
IsForbidden
()
end
end
function
c22842214
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c22842214
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c22842214
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c22842214
.
filter
(
chkc
)
end
...
...
c2461031.lua
View file @
db931ed8
...
@@ -38,7 +38,7 @@ function c2461031.initial_effect(c)
...
@@ -38,7 +38,7 @@ function c2461031.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c2461031
.
filter
(
c
)
function
c2461031
.
filter
(
c
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c2461031
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c2461031
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c25682811.lua
View file @
db931ed8
...
@@ -27,7 +27,7 @@ function c25682811.eqcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -27,7 +27,7 @@ function c25682811.eqcon(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
end
function
c25682811
.
filter
(
c
)
function
c25682811
.
filter
(
c
)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c25682811
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c25682811
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c25682811
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c25682811
.
filter
(
chkc
)
end
...
...
c26211048.lua
View file @
db931ed8
...
@@ -20,12 +20,15 @@ function c26211048.eqcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -20,12 +20,15 @@ function c26211048.eqcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
end
function
c26211048
.
eqfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
or
c
:
IsLocation
(
LOCATION_GRAVE
)
and
not
c
:
IsForbidden
()
end
function
c26211048
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c26211048
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
c
hkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsType
(
TYPE_MONSTER
)
end
if
chkc
then
return
c
26211048
.
eqfilter
(
chkc
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsType
(
TYPE_MONSTER
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingTarget
(
Card
.
IsType
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
1
,
nil
,
TYPE_MONSTER
)
end
and
Duel
.
IsExistingTarget
(
c26211048
.
eqfilter
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsType
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
1
,
1
,
nil
,
TYPE_MONSTER
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c26211048
.
eqfilter
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
1
,
1
,
nil
)
if
g
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
then
if
g
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
1
,
0
,
0
)
end
end
...
...
c26885836.lua
View file @
db931ed8
...
@@ -14,7 +14,7 @@ end
...
@@ -14,7 +14,7 @@ end
function
c26885836
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c26885836
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetBattleTarget
()
local
tc
=
e
:
GetHandler
():
GetBattleTarget
()
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
return
aux
.
bdogcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
bdogcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
not
tc
:
IsForbidden
()
end
end
function
c26885836
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c26885836
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsHasEffect
(
26885836
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsHasEffect
(
26885836
)
...
...
c28183605.lua
View file @
db931ed8
...
@@ -26,7 +26,7 @@ function c28183605.atkval(e,c)
...
@@ -26,7 +26,7 @@ function c28183605.atkval(e,c)
return
Duel
.
GetMatchingGroupCount
(
c28183605
.
atkfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
,
0
,
nil
)
*
200
return
Duel
.
GetMatchingGroupCount
(
c28183605
.
atkfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
,
0
,
nil
)
*
200
end
end
function
c28183605
.
filter
(
c
)
function
c28183605
.
filter
(
c
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c28183605
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c28183605
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c28183605
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c28183605
.
filter
(
chkc
)
end
...
...
c3019642.lua
View file @
db931ed8
...
@@ -23,7 +23,7 @@ function c3019642.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c3019642.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c3019642
.
filter
(
c
)
function
c3019642
.
filter
(
c
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c3019642
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c3019642
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c3019642
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c3019642
.
filter
(
chkc
)
end
...
...
c30312361.lua
View file @
db931ed8
...
@@ -23,7 +23,7 @@ function c30312361.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -23,7 +23,7 @@ function c30312361.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RegisterFlagEffect
(
30312361
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
30312361
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c30312361
.
filter
(
c
)
function
c30312361
.
filter
(
c
)
return
c
:
IsType
(
TYPE_EFFECT
)
and
not
c
:
IsForbidden
()
and
c
:
IsAbleToRemove
()
return
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsAbleToRemove
()
end
end
function
c30312361
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c30312361
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c30312361
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c30312361
.
filter
(
chkc
)
end
...
...
c31563350.lua
View file @
db931ed8
...
@@ -20,7 +20,7 @@ function c31563350.eqcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -20,7 +20,7 @@ function c31563350.eqcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
end
function
c31563350
.
filter
(
c
,
tp
)
function
c31563350
.
filter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
CheckUniqueOnField
(
tp
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
end
end
function
c31563350
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c31563350
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c33460840.lua
View file @
db931ed8
...
@@ -24,7 +24,7 @@ function c33460840.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c33460840.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c33460840
.
filter
(
c
,
ec
)
function
c33460840
.
filter
(
c
,
ec
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
(
c
:
GetLevel
()
==
7
or
c
:
GetLevel
()
==
8
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
(
c
:
GetLevel
()
==
7
or
c
:
GetLevel
()
==
8
)
and
not
c
:
IsForbidden
()
end
end
function
c33460840
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33460840
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c3428069.lua
View file @
db931ed8
...
@@ -33,7 +33,7 @@ function c3428069.initial_effect(c)
...
@@ -33,7 +33,7 @@ function c3428069.initial_effect(c)
end
end
function
c3428069
.
filter
(
c
,
e
,
tp
)
function
c3428069
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
1
-
tp
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
1
-
tp
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
not
c
:
IsForbidden
()
end
end
function
c3428069
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c3428069
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c3428069
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c3428069
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c38450736.lua
View file @
db931ed8
...
@@ -33,7 +33,7 @@ function c38450736.initial_effect(c)
...
@@ -33,7 +33,7 @@ function c38450736.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c38450736
.
filter
(
c
)
function
c38450736
.
filter
(
c
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c38450736
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c38450736
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c40418351.lua
View file @
db931ed8
...
@@ -30,7 +30,7 @@ function c40418351.initial_effect(c)
...
@@ -30,7 +30,7 @@ function c40418351.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c40418351
.
filter
(
c
)
function
c40418351
.
filter
(
c
)
return
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c40418351
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c40418351
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c40418351
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c40418351
.
filter
(
chkc
)
end
...
...
c41230939.lua
View file @
db931ed8
...
@@ -17,7 +17,7 @@ function c41230939.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c41230939.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c41230939
.
filter
(
c
)
function
c41230939
.
filter
(
c
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c41230939
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c41230939
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c41230939
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c41230939
.
filter
(
chkc
)
end
...
...
c44505297.lua
View file @
db931ed8
...
@@ -30,12 +30,15 @@ end
...
@@ -30,12 +30,15 @@ end
function
c44505297
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c44505297
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_XYZ
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_XYZ
end
end
function
c44505297
.
eqfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
function
c44505297
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c44505297
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c
hkc
:
IsType
(
TYPE_MONSTER
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c
44505297
.
eqfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingTarget
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
TYPE_MONSTER
)
end
and
Duel
.
IsExistingTarget
(
c44505297
.
eqfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
TYPE_MONSTER
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c44505297
.
eqfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
1
,
0
,
0
)
end
end
function
c44505297
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c44505297
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c47408488.lua
View file @
db931ed8
...
@@ -54,12 +54,15 @@ function c47408488.pltg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -54,12 +54,15 @@ function c47408488.pltg(e,tp,eg,ep,ev,re,r,rp,chk)
return
ct
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>=
ct
return
ct
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>=
ct
end
end
end
end
function
c47408488
.
plfilter
(
c
)
return
c
:
IsSetCard
(
0x1034
)
and
not
c
:
IsForbidden
()
end
function
c47408488
.
plop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c47408488
.
plop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
if
ft
<=
0
then
return
end
if
ft
<=
0
then
return
end
if
ft
>
e
:
GetLabel
()
then
ft
=
e
:
GetLabel
()
end
if
ft
>
e
:
GetLabel
()
then
ft
=
e
:
GetLabel
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
ft
,
ft
,
nil
,
0x1034
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c47408488
.
plfilter
,
tp
,
LOCATION_DECK
,
0
,
ft
,
ft
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
...
...
c51345461.lua
View file @
db931ed8
...
@@ -13,7 +13,7 @@ function c51345461.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c51345461.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c51345461
.
filter
(
c
,
rc
,
tid
)
function
c51345461
.
filter
(
c
,
rc
,
tid
)
return
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetReasonCard
()
==
rc
and
c
:
GetTurnID
()
==
tid
return
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetReasonCard
()
==
rc
and
c
:
GetTurnID
()
==
tid
and
not
c
:
IsForbidden
()
end
end
function
c51345461
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c51345461
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c52601736.lua
View file @
db931ed8
...
@@ -27,7 +27,7 @@ function c52601736.initial_effect(c)
...
@@ -27,7 +27,7 @@ function c52601736.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c52601736
.
filter
(
c
)
function
c52601736
.
filter
(
c
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c52601736
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c52601736
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c54578613.lua
View file @
db931ed8
...
@@ -23,7 +23,7 @@ function c54578613.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c54578613.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c54578613
.
filter
(
c
)
function
c54578613
.
filter
(
c
)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c54578613
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c54578613
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c54578613
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c54578613
.
filter
(
chkc
)
end
...
...
c56051086.lua
View file @
db931ed8
...
@@ -46,7 +46,7 @@ function c56051086.eqcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -46,7 +46,7 @@ function c56051086.eqcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
end
function
c56051086
.
filter
(
c
)
function
c56051086
.
filter
(
c
)
return
c
:
IsSetCard
(
0x48
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x48
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c56051086
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c56051086
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c56051086
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c56051086
.
filter
(
chkc
)
end
...
...
c6075801.lua
View file @
db931ed8
...
@@ -32,8 +32,8 @@ function c6075801.initial_effect(c)
...
@@ -32,8 +32,8 @@ function c6075801.initial_effect(c)
e4
:
SetOperation
(
c6075801
.
spop
)
e4
:
SetOperation
(
c6075801
.
spop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c6075801
.
filter
(
c
,
ec
)
function
c6075801
.
filter
(
c
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
(
c
:
GetLevel
()
==
7
or
c
:
GetLevel
()
==
8
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
(
c
:
GetLevel
()
==
7
or
c
:
GetLevel
()
==
8
)
and
not
c
:
IsForbidden
()
end
end
function
c6075801
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c6075801
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c61538782.lua
View file @
db931ed8
...
@@ -16,7 +16,7 @@ function c61538782.eqcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -16,7 +16,7 @@ function c61538782.eqcon(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
c
:
GetBattleTarget
()
local
tc
=
c
:
GetBattleTarget
()
if
not
c
:
IsRelateToBattle
()
or
c
:
IsFacedown
()
then
return
false
end
if
not
c
:
IsRelateToBattle
()
or
c
:
IsFacedown
()
then
return
false
end
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
return
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
return
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
not
tc
:
IsForbidden
()
end
end
function
c61538782
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c61538782
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c63487632.lua
View file @
db931ed8
...
@@ -56,7 +56,7 @@ function c63487632.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -56,7 +56,7 @@ function c63487632.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c63487632
.
filter
(
c
)
function
c63487632
.
filter
(
c
)
return
c
:
GetCode
()
~=
63487632
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
GetCode
()
~=
63487632
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c63487632
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c63487632
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c63487632
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c63487632
.
filter
(
chkc
)
end
...
...
c66066482.lua
View file @
db931ed8
...
@@ -39,7 +39,7 @@ function c66066482.initial_effect(c)
...
@@ -39,7 +39,7 @@ function c66066482.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c66066482
.
filter
(
c
)
function
c66066482
.
filter
(
c
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c66066482
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c66066482
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c68184115.lua
View file @
db931ed8
...
@@ -30,7 +30,7 @@ function c68184115.initial_effect(c)
...
@@ -30,7 +30,7 @@ function c68184115.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c68184115
.
filter
(
c
)
function
c68184115
.
filter
(
c
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c68184115
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c68184115
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c69207766.lua
View file @
db931ed8
...
@@ -39,7 +39,7 @@ function c69207766.initial_effect(c)
...
@@ -39,7 +39,7 @@ function c69207766.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c69207766
.
filter
(
c
)
function
c69207766
.
filter
(
c
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c69207766
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c69207766
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c77625948.lua
View file @
db931ed8
...
@@ -26,7 +26,7 @@ function c77625948.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c77625948.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c77625948
.
filter
(
c
)
function
c77625948
.
filter
(
c
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c77625948
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c77625948
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c77625948
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c77625948
.
filter
(
chkc
)
end
...
...
c83326048.lua
View file @
db931ed8
c84769941.lua
View file @
db931ed8
...
@@ -44,7 +44,7 @@ function c84769941.eqcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -44,7 +44,7 @@ function c84769941.eqcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RemoveCounter
(
tp
,
1
,
1
,
0x37
,
2
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
1
,
0x37
,
2
,
REASON_COST
)
end
end
function
c84769941
.
eqfilter
(
c
)
function
c84769941
.
eqfilter
(
c
)
return
c
:
IsSetCard
(
0xd3
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0xd3
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c84769941
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c84769941
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c876330.lua
View file @
db931ed8
...
@@ -42,7 +42,7 @@ function c876330.eqcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,7 +42,7 @@ function c876330.eqcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetPreviousLocation
()
==
LOCATION_HAND
return
e
:
GetHandler
():
GetPreviousLocation
()
==
LOCATION_HAND
end
end
function
c876330
.
filter
(
c
)
function
c876330
.
filter
(
c
)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c876330
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c876330
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c876330
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c876330
.
filter
(
chkc
)
end
...
...
c9161357.lua
View file @
db931ed8
...
@@ -30,7 +30,7 @@ function c9161357.eqcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c9161357.eqcon(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_XYZ
)
==
SUMMON_TYPE_XYZ
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_XYZ
)
==
SUMMON_TYPE_XYZ
end
end
function
c9161357
.
filter
(
c
)
function
c9161357
.
filter
(
c
)
return
c
:
IsSetCard
(
0x48
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x48
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c9161357
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c9161357
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c9161357
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c9161357
.
filter
(
chkc
)
end
...
...
c93157004.lua
View file @
db931ed8
...
@@ -222,7 +222,7 @@ function c93157004.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -222,7 +222,7 @@ function c93157004.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c93157004
.
eqfilter
(
c
)
function
c93157004
.
eqfilter
(
c
)
return
c
:
IsSetCard
(
0x30
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x30
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c93157004
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c93157004
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c95090813.lua
View file @
db931ed8
...
@@ -62,7 +62,7 @@ function c95090813.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,7 +62,7 @@ function c95090813.mtop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c95090813
.
filter
(
c
)
function
c95090813
.
filter
(
c
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_WARRIOR
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
not
c
:
IsForbidden
()
end
end
function
c95090813
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c95090813
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c95090813
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c95090813
.
filter
(
chkc
)
end
...
...
c95395761.lua
View file @
db931ed8
...
@@ -35,7 +35,7 @@ function c95395761.initial_effect(c)
...
@@ -35,7 +35,7 @@ function c95395761.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c95395761
.
filter
(
c
)
function
c95395761
.
filter
(
c
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
c95395761
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c95395761
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
c99659159.lua
View file @
db931ed8
...
@@ -30,7 +30,7 @@ function c99659159.atktg(e,c)
...
@@ -30,7 +30,7 @@ function c99659159.atktg(e,c)
return
c
:
GetEquipGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x29
)
return
c
:
GetEquipGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x29
)
end
end
function
c99659159
.
filter
(
c
)
function
c99659159
.
filter
(
c
)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsForbidden
()
end
end
function
c99659159
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c99659159
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
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