Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
234be94c
Commit
234be94c
authored
Oct 21, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update setcode
parent
1ccf0bc5
Changes
53
Show whitespace changes
Inline
Side-by-side
Showing
53 changed files
with
88 additions
and
88 deletions
+88
-88
c16003979.lua
c16003979.lua
+2
-2
c16990348.lua
c16990348.lua
+1
-1
c20201255.lua
c20201255.lua
+1
-1
c2067935.lua
c2067935.lua
+2
-2
c24285858.lua
c24285858.lua
+1
-1
c25407406.lua
c25407406.lua
+2
-2
c25924653.lua
c25924653.lua
+2
-2
c2619149.lua
c2619149.lua
+2
-2
c26834022.lua
c26834022.lua
+1
-1
c28877100.lua
c28877100.lua
+1
-1
c29357956.lua
c29357956.lua
+1
-1
c3030892.lua
c3030892.lua
+1
-1
c30864377.lua
c30864377.lua
+3
-3
c31247589.lua
c31247589.lua
+1
-1
c33652635.lua
c33652635.lua
+1
-1
c35224440.lua
c35224440.lua
+1
-1
c3779662.lua
c3779662.lua
+2
-2
c38511382.lua
c38511382.lua
+2
-2
c41470137.lua
c41470137.lua
+1
-1
c4253484.lua
c4253484.lua
+1
-1
c42592719.lua
c42592719.lua
+1
-1
c48156348.lua
c48156348.lua
+1
-1
c50893987.lua
c50893987.lua
+2
-2
c52228131.lua
c52228131.lua
+1
-1
c52394047.lua
c52394047.lua
+4
-4
c52496105.lua
c52496105.lua
+2
-2
c52502677.lua
c52502677.lua
+2
-2
c55136228.lua
c55136228.lua
+2
-2
c57731460.lua
c57731460.lua
+2
-2
c5975022.lua
c5975022.lua
+1
-1
c612115.lua
c612115.lua
+1
-1
c62000467.lua
c62000467.lua
+3
-3
c66290900.lua
c66290900.lua
+3
-3
c66863374.lua
c66863374.lua
+3
-3
c67223587.lua
c67223587.lua
+2
-2
c67385964.lua
c67385964.lua
+2
-2
c7573135.lua
c7573135.lua
+2
-2
c76384284.lua
c76384284.lua
+1
-1
c77642288.lua
c77642288.lua
+1
-1
c78868776.lua
c78868776.lua
+1
-1
c79580323.lua
c79580323.lua
+2
-2
c80845034.lua
c80845034.lua
+1
-1
c8730435.lua
c8730435.lua
+2
-2
c88996322.lua
c88996322.lua
+2
-2
c89023486.lua
c89023486.lua
+1
-1
c90957527.lua
c90957527.lua
+1
-1
c92373006.lua
c92373006.lua
+3
-3
c93684009.lua
c93684009.lua
+3
-3
c96216229.lua
c96216229.lua
+1
-1
c97234686.lua
c97234686.lua
+1
-1
c9780364.lua
c9780364.lua
+2
-2
c98891840.lua
c98891840.lua
+1
-1
c99013397.lua
c99013397.lua
+2
-2
No files found.
c16003979.lua
View file @
234be94c
...
@@ -27,7 +27,7 @@ function c16003979.initial_effect(c)
...
@@ -27,7 +27,7 @@ function c16003979.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c16003979
.
drcfilter
(
c
)
function
c16003979
.
drcfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsDiscardable
()
end
end
function
c16003979
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16003979
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16003979
.
drcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16003979
.
drcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
@@ -52,7 +52,7 @@ function c16003979.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -52,7 +52,7 @@ function c16003979.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c16003979
.
filter
(
c
,
e
,
tp
)
function
c16003979
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
16003979
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
16003979
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c16003979
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16003979
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
c16990348.lua
View file @
234be94c
...
@@ -12,7 +12,7 @@ function c16990348.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c16990348.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c16990348
.
cfilter
(
c
)
function
c16990348
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c16990348
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c16990348
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsFaceup
()
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsFaceup
()
end
...
...
c20201255.lua
View file @
234be94c
...
@@ -11,7 +11,7 @@ function c20201255.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c20201255.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c20201255
.
filter
(
c
,
e
,
tp
)
function
c20201255
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
Duel
.
IsExistingMatchingCard
(
c20201255
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
:
GetRace
())
and
not
Duel
.
IsExistingMatchingCard
(
c20201255
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
:
GetRace
())
end
end
function
c20201255
.
filter1
(
c
,
race
)
function
c20201255
.
filter1
(
c
,
race
)
...
...
c2067935.lua
View file @
234be94c
...
@@ -26,7 +26,7 @@ function c2067935.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c2067935.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c2067935
.
rmfilter
(
c
)
function
c2067935
.
rmfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
end
function
c2067935
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c2067935
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c2067935
.
rmfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c2067935
.
rmfilter
(
chkc
)
end
...
@@ -78,7 +78,7 @@ function c2067935.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -78,7 +78,7 @@ function c2067935.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c2067935
.
filter
(
c
,
e
,
tp
)
function
c2067935
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
2067935
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
2067935
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c2067935
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c2067935
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c24285858.lua
View file @
234be94c
...
@@ -12,7 +12,7 @@ function c24285858.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c24285858.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c24285858
.
filter
(
c
)
function
c24285858
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeck
()
end
end
function
c24285858
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c24285858
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c24285858
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c24285858
.
filter
(
chkc
)
end
...
...
c25407406.lua
View file @
234be94c
...
@@ -35,10 +35,10 @@ function c25407406.initial_effect(c)
...
@@ -35,10 +35,10 @@ function c25407406.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c25407406
.
eqlimit
(
e
,
c
)
function
c25407406
.
eqlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c25407406
.
filter
(
c
)
function
c25407406
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c25407406
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c25407406
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c25407406
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c25407406
.
filter
(
chkc
)
end
...
...
c25924653.lua
View file @
234be94c
...
@@ -33,7 +33,7 @@ function c25924653.initial_effect(c)
...
@@ -33,7 +33,7 @@ function c25924653.initial_effect(c)
e1
:
SetLabelObject
(
e3
)
e1
:
SetLabelObject
(
e3
)
end
end
function
c25924653
.
spgfilter
(
c
,
e
,
tp
)
function
c25924653
.
spgfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c25924653
.
spgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c25924653
.
spgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c25924653
.
spgfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c25924653
.
spgfilter
(
chkc
,
e
,
tp
)
end
...
@@ -83,7 +83,7 @@ function c25924653.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -83,7 +83,7 @@ function c25924653.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c25924653
.
filter
(
c
,
e
,
tp
)
function
c25924653
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
25924653
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
25924653
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c25924653
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c25924653
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c2619149.lua
View file @
234be94c
...
@@ -29,7 +29,7 @@ function c2619149.scon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,7 +29,7 @@ function c2619149.scon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
GetFlagEffect
(
2619149
)
>
0
and
aux
.
bdogcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
c
:
GetFlagEffect
(
2619149
)
>
0
and
aux
.
bdogcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c2619149
.
sfilter
(
c
)
function
c2619149
.
sfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToHand
()
end
end
function
c2619149
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c2619149
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c2619149
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c2619149
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
@@ -52,7 +52,7 @@ function c2619149.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -52,7 +52,7 @@ function c2619149.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c2619149
.
filter
(
c
,
e
,
tp
)
function
c2619149
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
2619149
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
2619149
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c2619149
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c2619149
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c26834022.lua
View file @
234be94c
...
@@ -12,7 +12,7 @@ function c26834022.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c26834022.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c26834022
.
filter
(
c
)
function
c26834022
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeck
()
end
end
function
c26834022
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c26834022
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
Duel
.
IsChainNegatable
(
ev
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
c28877100.lua
View file @
234be94c
...
@@ -11,7 +11,7 @@ function c28877100.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c28877100.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c28877100
.
filter
(
c
)
function
c28877100
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c28877100
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28877100
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c28877100
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c28877100
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
c29357956.lua
View file @
234be94c
...
@@ -56,7 +56,7 @@ function c29357956.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -56,7 +56,7 @@ function c29357956.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
end
function
c29357956
.
filter
(
c
,
e
,
tp
)
function
c29357956
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c29357956
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c29357956
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c3030892.lua
View file @
234be94c
...
@@ -16,7 +16,7 @@ function c3030892.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -16,7 +16,7 @@ function c3030892.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
end
function
c3030892
.
filter
(
c
,
e
,
tp
)
function
c3030892
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c3030892
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c3030892
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
c30864377.lua
View file @
234be94c
...
@@ -48,7 +48,7 @@ function c30864377.splimit(e,se,sp,st)
...
@@ -48,7 +48,7 @@ function c30864377.splimit(e,se,sp,st)
return
e
:
GetHandler
():
GetLocation
()
~=
LOCATION_EXTRA
return
e
:
GetHandler
():
GetLocation
()
~=
LOCATION_EXTRA
end
end
function
c30864377
.
espfilter
(
c
,
e
,
tp
)
function
c30864377
.
espfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_FUSION
)
and
not
c
:
IsCode
(
30864377
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_FUSION
)
and
not
c
:
IsCode
(
30864377
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
end
function
c30864377
.
esptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c30864377
.
esptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -63,7 +63,7 @@ function c30864377.espop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c30864377.espop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c30864377
.
spcfilter
(
c
,
ft
)
function
c30864377
.
spcfilter
(
c
,
ft
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
c
:
GetBattledGroupCount
()
>
0
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
GetBattledGroupCount
()
>
0
and
c
:
IsAbleToDeckOrExtraAsCost
()
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
and
c
:
IsAbleToDeckOrExtraAsCost
()
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
end
end
function
c30864377
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c30864377
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -75,7 +75,7 @@ function c30864377.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -75,7 +75,7 @@ function c30864377.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c30864377
.
spfilter
(
c
,
e
,
tp
)
function
c30864377
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c30864377
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c30864377
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c30864377
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c30864377
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
c31247589.lua
View file @
234be94c
...
@@ -33,7 +33,7 @@ function c31247589.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +33,7 @@ function c31247589.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c31247589
.
filter
(
c
,
e
,
tp
)
function
c31247589
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
31247589
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
31247589
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c31247589
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c31247589
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c33652635.lua
View file @
234be94c
...
@@ -76,7 +76,7 @@ function c33652635.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -76,7 +76,7 @@ function c33652635.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
end
function
c33652635
.
filter
(
c
,
e
,
tp
)
function
c33652635
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c33652635
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33652635
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
c35224440.lua
View file @
234be94c
...
@@ -11,7 +11,7 @@ function c35224440.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c35224440.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c35224440
.
filter
(
c
)
function
c35224440
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsAbleToHand
()
end
end
function
c35224440
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c35224440
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c35224440
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c35224440
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c3779662.lua
View file @
234be94c
...
@@ -46,7 +46,7 @@ function c3779662.espcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,7 +46,7 @@ function c3779662.espcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
end
function
c3779662
.
espfilter
(
c
,
e
,
tp
)
function
c3779662
.
espfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsLevelBelow
(
7
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsLevelBelow
(
7
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
end
function
c3779662
.
esptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c3779662
.
esptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -69,7 +69,7 @@ function c3779662.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -69,7 +69,7 @@ function c3779662.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
end
function
c3779662
.
spfilter
(
c
,
e
,
tp
)
function
c3779662
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c3779662
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c3779662
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c38511382.lua
View file @
234be94c
...
@@ -30,7 +30,7 @@ function s.initial_effect(c)
...
@@ -30,7 +30,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
filter
(
c
,
e
,
tp
)
function
s
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x19b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x1
1
9b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingTarget
(
aux
.
NegateAnyFilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
Group
.
FromCards
(
c
,
e
:
GetHandler
()))
and
Duel
.
IsExistingTarget
(
aux
.
NegateAnyFilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
Group
.
FromCards
(
c
,
e
:
GetHandler
()))
end
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -77,7 +77,7 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,7 +77,7 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp)
local
te
,
p
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
local
te
,
p
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
if
not
te
or
p
~=
tp
then
return
false
end
if
not
te
or
p
~=
tp
then
return
false
end
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
return
tc
:
IsSetCard
(
0x19b
)
and
te
:
IsActiveType
(
TYPE_MONSTER
)
or
tc
:
IsSetCard
(
0x19e
)
return
tc
:
IsSetCard
(
0x1
1
9b
)
and
te
:
IsActiveType
(
TYPE_MONSTER
)
or
tc
:
IsSetCard
(
0x19e
)
and
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c41470137.lua
View file @
234be94c
...
@@ -50,7 +50,7 @@ function c41470137.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,7 +50,7 @@ function c41470137.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c41470137
.
filter
(
c
,
e
,
tp
)
function
c41470137
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c41470137
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c41470137
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c4253484.lua
View file @
234be94c
...
@@ -33,7 +33,7 @@ function c4253484.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +33,7 @@ function c4253484.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c4253484
.
filter
(
c
,
e
,
tp
)
function
c4253484
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
4253484
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
4253484
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c4253484
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c4253484
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c42592719.lua
View file @
234be94c
...
@@ -48,7 +48,7 @@ function c42592719.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -48,7 +48,7 @@ function c42592719.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c42592719
.
filter
(
c
,
e
,
tp
)
function
c42592719
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
42592719
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
42592719
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c42592719
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c42592719
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c48156348.lua
View file @
234be94c
...
@@ -65,7 +65,7 @@ function c48156348.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -65,7 +65,7 @@ function c48156348.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
end
function
c48156348
.
filter
(
c
,
e
,
tp
)
function
c48156348
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c48156348
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c48156348
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c50893987.lua
View file @
234be94c
...
@@ -21,14 +21,14 @@ function c50893987.initial_effect(c)
...
@@ -21,14 +21,14 @@ function c50893987.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c50893987
.
costfilter
(
c
)
function
c50893987
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsDiscardable
()
end
end
function
c50893987
.
sccost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c50893987
.
sccost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50893987
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50893987
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
c50893987
.
costfilter
,
1
,
1
,
REASON_DISCARD
+
REASON_COST
,
nil
)
Duel
.
DiscardHand
(
tp
,
c50893987
.
costfilter
,
1
,
1
,
REASON_DISCARD
+
REASON_COST
,
nil
)
end
end
function
c50893987
.
scfilter
(
c
)
function
c50893987
.
scfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
c50893987
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c50893987
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50893987
.
scfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50893987
.
scfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c52228131.lua
View file @
234be94c
...
@@ -12,7 +12,7 @@ function c52228131.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c52228131.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c52228131
.
filter
(
c
)
function
c52228131
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeck
()
end
end
function
c52228131
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52228131
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
Duel
.
IsChainNegatable
(
ev
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
c52394047.lua
View file @
234be94c
...
@@ -38,13 +38,13 @@ function c52394047.initial_effect(c)
...
@@ -38,13 +38,13 @@ function c52394047.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c52394047
.
filter
(
c
)
function
c52394047
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c52394047
.
macon
(
e
)
function
c52394047
.
macon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c52394047
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c52394047
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c52394047
.
cfilter
(
c
)
function
c52394047
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeckAsCost
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeckAsCost
()
end
end
function
c52394047
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c52394047
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c52394047
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c52394047
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
@@ -54,7 +54,7 @@ function c52394047.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -54,7 +54,7 @@ function c52394047.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c52394047
.
atkfilter
(
c
)
function
c52394047
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
c
:
GetBaseDefense
()
>
0
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
GetBaseDefense
()
>
0
end
end
function
c52394047
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c52394047
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c52394047
.
atkfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c52394047
.
atkfilter
(
chkc
)
end
...
@@ -89,5 +89,5 @@ function c52394047.indop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,5 +89,5 @@ function c52394047.indop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c52394047
.
target
(
e
,
c
)
function
c52394047
.
target
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
end
c52496105.lua
View file @
234be94c
...
@@ -35,10 +35,10 @@ function c52496105.initial_effect(c)
...
@@ -35,10 +35,10 @@ function c52496105.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c52496105
.
eqlimit
(
e
,
c
)
function
c52496105
.
eqlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c52496105
.
filter
(
c
)
function
c52496105
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c52496105
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c52496105
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c52496105
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c52496105
.
filter
(
chkc
)
end
...
...
c52502677.lua
View file @
234be94c
...
@@ -25,7 +25,7 @@ function c52502677.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c52502677.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c52502677
.
costfilter
(
c
,
ec
)
function
c52502677
.
costfilter
(
c
,
ec
)
return
c
:
IsSetCard
(
0x19
)
and
not
c
:
IsCode
(
52502677
)
and
not
c
:
IsCode
(
ec
:
GetCode
())
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
not
c
:
IsCode
(
52502677
)
and
not
c
:
IsCode
(
ec
:
GetCode
())
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c52502677
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c52502677
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -62,7 +62,7 @@ function c52502677.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -62,7 +62,7 @@ function c52502677.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c52502677
.
filter
(
c
,
e
,
tp
)
function
c52502677
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
52502677
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
52502677
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c52502677
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c52502677
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
c55136228.lua
View file @
234be94c
...
@@ -27,7 +27,7 @@ function c55136228.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -27,7 +27,7 @@ function c55136228.condition(e,tp,eg,ep,ev,re,r,rp)
return
true
return
true
end
end
function
c55136228
.
filter
(
c
)
function
c55136228
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c55136228
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c55136228
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c55136228
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c55136228
.
filter
(
chkc
)
end
...
@@ -47,7 +47,7 @@ function c55136228.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c55136228.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c55136228
.
cfilter
(
c
)
function
c55136228
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeckAsCost
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeckAsCost
()
end
end
function
c55136228
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c55136228
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c55136228
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c55136228
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
e
:
GetHandler
())
end
...
...
c57731460.lua
View file @
234be94c
...
@@ -26,7 +26,7 @@ function c57731460.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c57731460.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c57731460
.
retfilter
(
c
)
function
c57731460
.
retfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToHand
()
end
end
function
c57731460
.
rettg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c57731460
.
rettg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c57731460
.
retfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c57731460
.
retfilter
(
chkc
)
end
...
@@ -50,7 +50,7 @@ function c57731460.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,7 +50,7 @@ function c57731460.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c57731460
.
filter
(
c
,
e
,
tp
)
function
c57731460
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
57731460
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
57731460
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c57731460
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c57731460
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c5975022.lua
View file @
234be94c
...
@@ -50,7 +50,7 @@ function c5975022.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,7 +50,7 @@ function c5975022.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c5975022
.
filter
(
c
,
e
,
tp
)
function
c5975022
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
5975022
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
5975022
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c5975022
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c5975022
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c612115.lua
View file @
234be94c
...
@@ -47,7 +47,7 @@ function c612115.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -47,7 +47,7 @@ function c612115.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c612115
.
filter
(
c
,
e
,
tp
)
function
c612115
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
612115
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
612115
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c612115
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c612115
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c62000467.lua
View file @
234be94c
...
@@ -38,12 +38,12 @@ function c62000467.initial_effect(c)
...
@@ -38,12 +38,12 @@ function c62000467.initial_effect(c)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
function
c62000467
.
indtg
(
e
,
c
)
function
c62000467
.
indtg
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
and
Duel
.
GetAttacker
()
==
c
return
c
:
IsSetCard
(
0x1
01
9
)
and
Duel
.
GetAttacker
()
==
c
end
end
function
c62000467
.
actcon
(
e
)
function
c62000467
.
actcon
(
e
)
local
tc
=
Duel
.
GetAttacker
()
local
tc
=
Duel
.
GetAttacker
()
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
return
tc
and
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x19
)
return
tc
and
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x1
01
9
)
end
end
function
c62000467
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c62000467
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetBattledGroupCount
()
>
0
return
e
:
GetHandler
():
GetBattledGroupCount
()
>
0
...
@@ -54,7 +54,7 @@ function c62000467.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -54,7 +54,7 @@ function c62000467.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
end
function
c62000467
.
spfilter
(
c
,
e
,
tp
)
function
c62000467
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c62000467
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c62000467
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c66290900.lua
View file @
234be94c
...
@@ -15,7 +15,7 @@ function c66290900.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c66290900.initial_effect(c)
Duel
.
AddCustomActivityCounter
(
66290900
,
ACTIVITY_ATTACK
,
c66290900
.
counterfilter
)
Duel
.
AddCustomActivityCounter
(
66290900
,
ACTIVITY_ATTACK
,
c66290900
.
counterfilter
)
end
end
function
c66290900
.
counterfilter
(
c
)
function
c66290900
.
counterfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c66290900
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c66290900
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
66290900
,
tp
,
ACTIVITY_ATTACK
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
66290900
,
tp
,
ACTIVITY_ATTACK
)
==
0
end
...
@@ -29,7 +29,7 @@ function c66290900.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -29,7 +29,7 @@ function c66290900.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c66290900
.
atktg
(
e
,
c
)
function
c66290900
.
atktg
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x19
)
return
not
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c66290900
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c66290900
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
...
@@ -39,7 +39,7 @@ function c66290900.filter1(c,e)
...
@@ -39,7 +39,7 @@ function c66290900.filter1(c,e)
return
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c66290900
.
filter2
(
c
,
e
,
tp
,
m
,
chkf
)
function
c66290900
.
filter2
(
c
,
e
,
tp
,
m
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
,
true
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
,
true
)
end
end
function
c66290900
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c66290900
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c66863374.lua
View file @
234be94c
...
@@ -35,7 +35,7 @@ function c66863374.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +35,7 @@ function c66863374.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
end
function
c66863374
.
thfilter
(
c
)
function
c66863374
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToHand
()
end
end
function
c66863374
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c66863374
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c66863374
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c66863374
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
@@ -50,11 +50,11 @@ function c66863374.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,11 +50,11 @@ function c66863374.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c66863374
.
tdfilter
(
c
,
e
,
tp
)
function
c66863374
.
tdfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c66863374
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
Duel
.
IsExistingMatchingCard
(
c66863374
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
)
end
end
function
c66863374
.
spfilter
(
c
,
e
,
tp
,
tc
)
function
c66863374
.
spfilter
(
c
,
e
,
tp
,
tc
)
return
c
:
IsSetCard
(
0x19
)
and
not
c
:
IsOriginalCodeRule
(
tc
:
GetOriginalCodeRule
())
return
c
:
IsSetCard
(
0x1
01
9
)
and
not
c
:
IsOriginalCodeRule
(
tc
:
GetOriginalCodeRule
())
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
end
function
c66863374
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c66863374
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c67223587.lua
View file @
234be94c
...
@@ -12,13 +12,13 @@ function c67223587.initial_effect(c)
...
@@ -12,13 +12,13 @@ function c67223587.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c67223587
.
cfilter
(
c
,
tp
)
function
c67223587
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSummonPlayer
(
tp
)
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSummonPlayer
(
tp
)
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c67223587
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c67223587
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c67223587
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c67223587
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
c67223587
.
filter
(
c
,
e
,
tp
)
function
c67223587
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c67223587
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c67223587
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
c67385964.lua
View file @
234be94c
...
@@ -63,7 +63,7 @@ function c67385964.hspop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c67385964.hspop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c67385964
.
tgfilter
(
c
)
function
c67385964
.
tgfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToGrave
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToGrave
()
end
end
function
c67385964
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c67385964
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c67385964
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c67385964
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
@@ -85,7 +85,7 @@ function c67385964.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -85,7 +85,7 @@ function c67385964.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c67385964
.
filter
(
c
,
e
,
tp
)
function
c67385964
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
67385964
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
67385964
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c67385964
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c67385964
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c7573135.lua
View file @
234be94c
...
@@ -25,7 +25,7 @@ function c7573135.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c7573135.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c7573135
.
hspfilter
(
c
,
e
,
tp
)
function
c7573135
.
hspfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c7573135
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c7573135
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
@@ -74,7 +74,7 @@ function c7573135.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -74,7 +74,7 @@ function c7573135.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c7573135
.
filter
(
c
,
e
,
tp
)
function
c7573135
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
not
c
:
IsCode
(
7573135
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
not
c
:
IsCode
(
7573135
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c7573135
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c7573135
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c76384284.lua
View file @
234be94c
...
@@ -12,7 +12,7 @@ function c76384284.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c76384284.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c76384284
.
filter
(
c
,
e
,
tp
)
function
c76384284
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
end
end
function
c76384284
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c76384284
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
>
0
...
...
c77642288.lua
View file @
234be94c
...
@@ -19,7 +19,7 @@ function c77642288.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -19,7 +19,7 @@ function c77642288.spcon(e,tp,eg,ep,ev,re,r,rp)
and
e
:
GetHandler
():
GetBattledGroupCount
()
>
0
and
e
:
GetHandler
():
GetBattledGroupCount
()
>
0
end
end
function
c77642288
.
filter
(
c
,
e
,
tp
)
function
c77642288
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
77642288
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
77642288
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c77642288
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c77642288
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c78868776.lua
View file @
234be94c
...
@@ -33,7 +33,7 @@ function c78868776.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +33,7 @@ function c78868776.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c78868776
.
filter
(
c
,
e
,
tp
)
function
c78868776
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
78868776
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
78868776
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c78868776
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c78868776
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c79580323.lua
View file @
234be94c
...
@@ -34,7 +34,7 @@ function c79580323.splimit(e,se,sp,st)
...
@@ -34,7 +34,7 @@ function c79580323.splimit(e,se,sp,st)
return
se
:
GetHandler
():
IsCode
(
4253484
)
or
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
return
se
:
GetHandler
():
IsCode
(
4253484
)
or
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
end
function
c79580323
.
sfilter
(
c
)
function
c79580323
.
sfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
IsAbleToHand
()
end
end
function
c79580323
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c79580323
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
@@ -57,7 +57,7 @@ function c79580323.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -57,7 +57,7 @@ function c79580323.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c79580323
.
filter
(
c
,
e
,
tp
)
function
c79580323
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c79580323
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c79580323
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c80845034.lua
View file @
234be94c
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
filter
(
c
)
function
s
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
1
9b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
c8730435.lua
View file @
234be94c
...
@@ -36,10 +36,10 @@ function c8730435.initial_effect(c)
...
@@ -36,10 +36,10 @@ function c8730435.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c8730435
.
eqlimit
(
e
,
c
)
function
c8730435
.
eqlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c8730435
.
filter
(
c
)
function
c8730435
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c8730435
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c8730435
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c8730435
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c8730435
.
filter
(
chkc
)
end
...
...
c88996322.lua
View file @
234be94c
...
@@ -39,7 +39,7 @@ function c88996322.hspcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,7 +39,7 @@ function c88996322.hspcon(e,tp,eg,ep,ev,re,r,rp)
local
d
=
Duel
.
GetAttackTarget
()
local
d
=
Duel
.
GetAttackTarget
()
if
not
d
then
return
false
end
if
not
d
then
return
false
end
if
d
:
IsControler
(
tp
)
then
a
,
d
=
d
,
a
end
if
d
:
IsControler
(
tp
)
then
a
,
d
=
d
,
a
end
return
a
:
IsSetCard
(
0x19
)
and
a
:
IsFaceup
()
return
a
:
IsSetCard
(
0x1
01
9
)
and
a
:
IsFaceup
()
end
end
function
c88996322
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c88996322
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
@@ -61,7 +61,7 @@ function c88996322.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -61,7 +61,7 @@ function c88996322.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c88996322
.
filter
(
c
,
e
,
tp
)
function
c88996322
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
88996322
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
88996322
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c88996322
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c88996322
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
c89023486.lua
View file @
234be94c
...
@@ -51,7 +51,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
s
.
rfilter
(
c
)
function
s
.
rfilter
(
c
)
return
c
:
IsSetCard
(
0x19c
,
0x19b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x19c
,
0x1
1
9b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeck
()
end
end
function
s
.
sfilter
(
c
)
function
s
.
sfilter
(
c
)
return
c
:
IsLevel
(
1
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsLevel
(
1
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
...
...
c90957527.lua
View file @
234be94c
...
@@ -74,7 +74,7 @@ function c90957527.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -74,7 +74,7 @@ function c90957527.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
end
function
c90957527
.
filter
(
c
,
e
,
tp
)
function
c90957527
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c90957527
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c90957527
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c92373006.lua
View file @
234be94c
...
@@ -23,7 +23,7 @@ function c92373006.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c92373006.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c92373006
.
sprfilter
(
c
)
function
c92373006
.
sprfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c92373006
.
sprcon
(
e
,
c
)
function
c92373006
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -37,10 +37,10 @@ function c92373006.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -37,10 +37,10 @@ function c92373006.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
c
,
REASON_COST
)
Duel
.
Release
(
c
,
REASON_COST
)
end
end
function
c92373006
.
tgfilter
(
c
)
function
c92373006
.
tgfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeck
()
end
end
function
c92373006
.
spfilter
(
c
,
e
,
tp
)
function
c92373006
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
end
function
c92373006
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c92373006
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c92373006
.
tgfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c92373006
.
tgfilter
(
chkc
)
end
...
...
c93684009.lua
View file @
234be94c
...
@@ -35,16 +35,16 @@ function c93684009.tgcon(e)
...
@@ -35,16 +35,16 @@ function c93684009.tgcon(e)
return
not
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
return
not
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
end
end
function
c93684009
.
tglimit
(
e
,
c
)
function
c93684009
.
tglimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c93684009
.
cfilter
(
c
,
tp
)
function
c93684009
.
cfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsPreviousControler
(
tp
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsPreviousControler
(
tp
)
end
end
function
c93684009
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c93684009
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c93684009
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c93684009
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
c93684009
.
filter
(
c
,
e
,
tp
)
function
c93684009
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
not
Duel
.
IsExistingMatchingCard
(
c93684009
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
:
GetRace
())
and
not
Duel
.
IsExistingMatchingCard
(
c93684009
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
:
GetRace
())
end
end
function
c93684009
.
filter1
(
c
,
race
)
function
c93684009
.
filter1
(
c
,
race
)
...
...
c96216229.lua
View file @
234be94c
...
@@ -13,7 +13,7 @@ function c96216229.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c96216229.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c96216229
.
filter
(
c
)
function
c96216229
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c96216229
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c96216229
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c96216229
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c96216229
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
c97234686.lua
View file @
234be94c
...
@@ -12,7 +12,7 @@ function c97234686.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c97234686.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c97234686
.
filter
(
c
,
tp
)
function
c97234686
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c97234686
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c97234686
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c97234686
.
filter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c97234686
.
filter
,
1
,
nil
,
tp
)
...
...
c9780364.lua
View file @
234be94c
...
@@ -13,7 +13,7 @@ function c9780364.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c9780364.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c9780364
.
cfilter
(
c
)
function
c9780364
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c9780364
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9780364
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9780364
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c9780364
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
...
@@ -22,7 +22,7 @@ function c9780364.filter(c,e)
...
@@ -22,7 +22,7 @@ function c9780364.filter(c,e)
return
c
:
IsFaceup
()
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsCanChangePosition
()
return
c
:
IsFaceup
()
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsCanChangePosition
()
end
end
function
c9780364
.
filter2
(
c
)
function
c9780364
.
filter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToChangeControler
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToChangeControler
()
end
end
function
c9780364
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c9780364
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsFaceup
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsFaceup
()
end
...
...
c98891840.lua
View file @
234be94c
...
@@ -12,7 +12,7 @@ function c98891840.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c98891840.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c98891840
.
filter
(
c
)
function
c98891840
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeck
()
end
end
function
c98891840
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c98891840
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
3
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
3
)
...
...
c99013397.lua
View file @
234be94c
...
@@ -41,10 +41,10 @@ function c99013397.initial_effect(c)
...
@@ -41,10 +41,10 @@ function c99013397.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c99013397
.
eqlimit
(
e
,
c
)
function
c99013397
.
eqlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c99013397
.
filter
(
c
)
function
c99013397
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
end
function
c99013397
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c99013397
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c99013397
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c99013397
.
filter
(
chkc
)
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