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
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
Commits
a38482b7
Commit
a38482b7
authored
Apr 03, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1cc80fdd
Changes
155
Hide whitespace changes
Inline
Side-by-side
Showing
155 changed files
with
163 additions
and
163 deletions
+163
-163
c1045143.lua
c1045143.lua
+1
-1
c10833828.lua
c10833828.lua
+1
-1
c11047543.lua
c11047543.lua
+1
-1
c12678870.lua
c12678870.lua
+2
-2
c12927849.lua
c12927849.lua
+1
-1
c13386503.lua
c13386503.lua
+1
-1
c14517422.lua
c14517422.lua
+1
-1
c14677495.lua
c14677495.lua
+1
-1
c15981690.lua
c15981690.lua
+1
-1
c1662004.lua
c1662004.lua
+1
-1
c168917.lua
c168917.lua
+1
-1
c16906241.lua
c16906241.lua
+1
-1
c16909657.lua
c16909657.lua
+1
-1
c18239909.lua
c18239909.lua
+1
-1
c18865703.lua
c18865703.lua
+1
-1
c19048328.lua
c19048328.lua
+1
-1
c19667590.lua
c19667590.lua
+1
-1
c20036055.lua
c20036055.lua
+1
-1
c20056760.lua
c20056760.lua
+1
-1
c21142671.lua
c21142671.lua
+1
-1
c21607304.lua
c21607304.lua
+1
-1
c22227683.lua
c22227683.lua
+2
-2
c2273734.lua
c2273734.lua
+1
-1
c22835145.lua
c22835145.lua
+1
-1
c22900598.lua
c22900598.lua
+1
-1
c23979249.lua
c23979249.lua
+1
-1
c24062258.lua
c24062258.lua
+1
-1
c24103628.lua
c24103628.lua
+1
-1
c24658418.lua
c24658418.lua
+1
-1
c24861088.lua
c24861088.lua
+1
-1
c25472513.lua
c25472513.lua
+1
-1
c26964762.lua
c26964762.lua
+1
-1
c27103517.lua
c27103517.lua
+1
-1
c27944249.lua
c27944249.lua
+1
-1
c282886.lua
c282886.lua
+1
-1
c286392.lua
c286392.lua
+1
-1
c30068120.lua
c30068120.lua
+1
-1
c30106950.lua
c30106950.lua
+1
-1
c30587695.lua
c30587695.lua
+1
-1
c32465539.lua
c32465539.lua
+1
-1
c33057951.lua
c33057951.lua
+1
-1
c3422200.lua
c3422200.lua
+2
-2
c34707034.lua
c34707034.lua
+1
-1
c3534077.lua
c3534077.lua
+1
-1
c35950025.lua
c35950025.lua
+1
-1
c36227804.lua
c36227804.lua
+1
-1
c36857073.lua
c36857073.lua
+2
-2
c36916401.lua
c36916401.lua
+1
-1
c39122311.lua
c39122311.lua
+1
-1
c39695323.lua
c39695323.lua
+1
-1
c40143123.lua
c40143123.lua
+1
-1
c41493640.lua
c41493640.lua
+1
-1
c41546.lua
c41546.lua
+1
-1
c42079445.lua
c42079445.lua
+1
-1
c42534368.lua
c42534368.lua
+1
-1
c42713844.lua
c42713844.lua
+1
-1
c43138260.lua
c43138260.lua
+1
-1
c43202238.lua
c43202238.lua
+1
-1
c4423206.lua
c4423206.lua
+1
-1
c44335251.lua
c44335251.lua
+1
-1
c44509898.lua
c44509898.lua
+1
-1
c45286019.lua
c45286019.lua
+1
-1
c4545683.lua
c4545683.lua
+1
-1
c45803070.lua
c45803070.lua
+1
-1
c46659709.lua
c46659709.lua
+1
-1
c47457347.lua
c47457347.lua
+1
-1
c48063985.lua
c48063985.lua
+2
-2
c48497555.lua
c48497555.lua
+1
-1
c50692511.lua
c50692511.lua
+1
-1
c51543904.lua
c51543904.lua
+1
-1
c52346240.lua
c52346240.lua
+1
-1
c53485634.lua
c53485634.lua
+1
-1
c53573406.lua
c53573406.lua
+1
-1
c55100740.lua
c55100740.lua
+1
-1
c55470553.lua
c55470553.lua
+1
-1
c56105047.lua
c56105047.lua
+1
-1
c56681873.lua
c56681873.lua
+1
-1
c57815601.lua
c57815601.lua
+2
-2
c57962537.lua
c57962537.lua
+1
-1
c57996334.lua
c57996334.lua
+1
-1
c58787301.lua
c58787301.lua
+1
-1
c58947797.lua
c58947797.lua
+1
-1
c59057152.lua
c59057152.lua
+1
-1
c59297550.lua
c59297550.lua
+1
-1
c59463312.lua
c59463312.lua
+1
-1
c5972394.lua
c5972394.lua
+1
-1
c59822133.lua
c59822133.lua
+1
-1
c60222582.lua
c60222582.lua
+1
-1
c60228941.lua
c60228941.lua
+1
-1
c60621361.lua
c60621361.lua
+1
-1
c60930169.lua
c60930169.lua
+1
-1
c61011311.lua
c61011311.lua
+1
-1
c6276588.lua
c6276588.lua
+1
-1
c63977008.lua
c63977008.lua
+1
-1
c64038662.lua
c64038662.lua
+1
-1
c64245689.lua
c64245689.lua
+1
-1
c64283880.lua
c64283880.lua
+1
-1
c64319467.lua
c64319467.lua
+1
-1
c645087.lua
c645087.lua
+1
-1
c64514622.lua
c64514622.lua
+1
-1
c6459419.lua
c6459419.lua
+1
-1
c65659181.lua
c65659181.lua
+2
-2
c65737274.lua
c65737274.lua
+1
-1
c65758454.lua
c65758454.lua
+1
-1
c65976795.lua
c65976795.lua
+1
-1
c66500065.lua
c66500065.lua
+1
-1
c68371799.lua
c68371799.lua
+1
-1
c68950538.lua
c68950538.lua
+1
-1
c70624184.lua
c70624184.lua
+1
-1
c71175527.lua
c71175527.lua
+1
-1
c71985676.lua
c71985676.lua
+1
-1
c73428497.lua
c73428497.lua
+1
-1
c7391448.lua
c7391448.lua
+1
-1
c73941492.lua
c73941492.lua
+1
-1
c75252099.lua
c75252099.lua
+1
-1
c75574498.lua
c75574498.lua
+1
-1
c7573135.lua
c7573135.lua
+1
-1
c76066541.lua
c76066541.lua
+1
-1
c78202553.lua
c78202553.lua
+1
-1
c78391364.lua
c78391364.lua
+1
-1
c79531196.lua
c79531196.lua
+1
-1
c79544790.lua
c79544790.lua
+1
-1
c80208158.lua
c80208158.lua
+1
-1
c80244114.lua
c80244114.lua
+1
-1
c80978111.lua
c80978111.lua
+1
-1
c81587028.lua
c81587028.lua
+1
-1
c82052602.lua
c82052602.lua
+1
-1
c82321037.lua
c82321037.lua
+1
-1
c84136000.lua
c84136000.lua
+1
-1
c84812868.lua
c84812868.lua
+1
-1
c86274272.lua
c86274272.lua
+2
-2
c86555018.lua
c86555018.lua
+1
-1
c88671720.lua
c88671720.lua
+1
-1
c89362180.lua
c89362180.lua
+1
-1
c89774530.lua
c89774530.lua
+1
-1
c90238142.lua
c90238142.lua
+1
-1
c91895091.lua
c91895091.lua
+1
-1
c92924317.lua
c92924317.lua
+1
-1
c92970404.lua
c92970404.lua
+1
-1
c94344242.lua
c94344242.lua
+1
-1
c94484482.lua
c94484482.lua
+1
-1
c94515289.lua
c94515289.lua
+1
-1
c94982447.lua
c94982447.lua
+1
-1
c95218695.lua
c95218695.lua
+1
-1
c95457011.lua
c95457011.lua
+1
-1
c95833645.lua
c95833645.lua
+1
-1
c96100333.lua
c96100333.lua
+1
-1
c96381979.lua
c96381979.lua
+1
-1
c96385345.lua
c96385345.lua
+1
-1
c97219708.lua
c97219708.lua
+1
-1
c97520701.lua
c97520701.lua
+1
-1
c9753964.lua
c9753964.lua
+1
-1
c9861795.lua
c9861795.lua
+1
-1
c98927491.lua
c98927491.lua
+1
-1
c99946920.lua
c99946920.lua
+1
-1
No files found.
c1045143.lua
View file @
a38482b7
...
@@ -14,7 +14,7 @@ function c1045143.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c1045143.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c1045143
.
filter
(
c
,
e
,
tp
)
function
c1045143
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x72
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x72
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c1045143
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1045143
.
sptg
(
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
...
...
c10833828.lua
View file @
a38482b7
...
@@ -39,7 +39,7 @@ function c10833828.initial_effect(c)
...
@@ -39,7 +39,7 @@ function c10833828.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c10833828
.
spfilter1
(
c
,
e
,
tp
)
function
c10833828
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x10af
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x10af
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c10833828
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10833828
.
sptg1
(
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
...
...
c11047543.lua
View file @
a38482b7
...
@@ -21,7 +21,7 @@ function c11047543.filter2(c,e,tp,lv)
...
@@ -21,7 +21,7 @@ function c11047543.filter2(c,e,tp,lv)
and
Duel
.
IsExistingMatchingCard
(
c11047543
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
lv
+
clv
)
and
Duel
.
IsExistingMatchingCard
(
c11047543
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
lv
+
clv
)
end
end
function
c11047543
.
spfilter
(
c
,
e
,
tp
,
lv
)
function
c11047543
.
spfilter
(
c
,
e
,
tp
,
lv
)
return
c
:
IsRace
(
RACE_PSYCHO
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
GetLevel
()
==
lv
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_PSYCHO
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
GetLevel
()
==
lv
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c11047543
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c11047543
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
c12678870.lua
View file @
a38482b7
...
@@ -66,11 +66,11 @@ function c12678870.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -66,11 +66,11 @@ function c12678870.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
end
end
function
c12678870
.
filter1
(
c
,
e
,
tp
)
function
c12678870
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x10b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x10b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
Duel
.
IsExistingTarget
(
c12678870
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
c
,
e
,
tp
)
and
Duel
.
IsExistingTarget
(
c12678870
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
c
,
e
,
tp
)
end
end
function
c12678870
.
filter2
(
c
,
e
,
tp
)
function
c12678870
.
filter2
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x20b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x20b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c12678870
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c12678870
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
c12927849.lua
View file @
a38482b7
...
@@ -34,7 +34,7 @@ function c12927849.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c12927849.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c12927849
.
filter
(
c
,
e
,
tp
)
function
c12927849
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x7e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x7e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c12927849
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c12927849
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c12927849
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c12927849
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c13386503.lua
View file @
a38482b7
...
@@ -14,7 +14,7 @@ end
...
@@ -14,7 +14,7 @@ end
function
c13386503
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13386503
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
bc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
bc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
bc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
bc
,
1
,
0
,
0
)
end
end
...
...
c14517422.lua
View file @
a38482b7
...
@@ -11,7 +11,7 @@ function c14517422.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c14517422.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c14517422
.
filter
(
c
,
e
,
tp
)
function
c14517422
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xef
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xef
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c14517422
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c14517422
.
sptg
(
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
...
...
c14677495.lua
View file @
a38482b7
...
@@ -44,7 +44,7 @@ function c14677495.spcon2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c14677495.spcon2(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetPosition
()
==
POS_FACEUP_ATTACK
and
e
:
GetHandler
():
GetPreviousPosition
()
>
0x3
return
e
:
GetHandler
():
GetPosition
()
==
POS_FACEUP_ATTACK
and
e
:
GetHandler
():
GetPreviousPosition
()
>
0x3
end
end
function
c14677495
.
filter
(
c
,
e
,
tp
)
function
c14677495
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x6042
)
and
c
:
GetCode
()
~=
14677495
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x6042
)
and
c
:
GetCode
()
~=
14677495
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c14677495
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c14677495
.
sptg2
(
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
...
...
c15981690.lua
View file @
a38482b7
...
@@ -42,7 +42,7 @@ function c15981690.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -42,7 +42,7 @@ function c15981690.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
end
function
c15981690
.
spfilter
(
c
,
e
,
tp
)
function
c15981690
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsLevelBelow
(
7
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsLevelBelow
(
7
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c15981690
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c15981690
.
sptg
(
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
...
...
c1662004.lua
View file @
a38482b7
...
@@ -24,7 +24,7 @@ function c1662004.synlimit(e,c)
...
@@ -24,7 +24,7 @@ function c1662004.synlimit(e,c)
return
not
c
:
IsRace
(
RACE_BEASTWARRIOR
)
return
not
c
:
IsRace
(
RACE_BEASTWARRIOR
)
end
end
function
c1662004
.
spfilter
(
c
,
e
,
tp
)
function
c1662004
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsDefenseBelow
(
200
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
GetLevel
()
==
3
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsDefenseBelow
(
200
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
GetLevel
()
==
3
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c1662004
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1662004
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c1662004
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c1662004
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c168917.lua
View file @
a38482b7
...
@@ -13,7 +13,7 @@ function c168917.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c168917.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c168917
.
filter
(
c
,
e
,
tp
)
function
c168917
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x30
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x30
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c168917
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c168917
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c168917
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c168917
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c16906241.lua
View file @
a38482b7
...
@@ -11,7 +11,7 @@ function c16906241.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c16906241.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c16906241
.
filter
(
c
,
e
,
tp
)
function
c16906241
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x53
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x53
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c16906241
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16906241
.
sptg
(
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
...
...
c16909657.lua
View file @
a38482b7
...
@@ -19,7 +19,7 @@ end
...
@@ -19,7 +19,7 @@ end
function
c16909657
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16909657
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tc
=
e
:
GetHandler
():
GetBattleTarget
()
local
tc
=
e
:
GetHandler
():
GetBattleTarget
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
tc
:
CreateEffectRelation
(
e
)
tc
:
CreateEffectRelation
(
e
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
tc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
tc
,
1
,
0
,
0
)
end
end
...
...
c18239909.lua
View file @
a38482b7
...
@@ -57,7 +57,7 @@ function c18239909.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c18239909.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c18239909
.
spfilter
(
c
,
e
,
tp
)
function
c18239909
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xc7
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xc7
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c18239909
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c18239909
.
sptg
(
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
...
...
c18865703.lua
View file @
a38482b7
...
@@ -67,7 +67,7 @@ function c18865703.eqlimit(e,c)
...
@@ -67,7 +67,7 @@ function c18865703.eqlimit(e,c)
return
c
==
e
:
GetLabelObject
()
return
c
==
e
:
GetLabelObject
()
end
end
function
c18865703
.
spfilter
(
c
,
e
,
tp
)
function
c18865703
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c18865703
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c18865703
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c18865703
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c18865703
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c19048328.lua
View file @
a38482b7
...
@@ -135,7 +135,7 @@ function c19048328.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -135,7 +135,7 @@ function c19048328.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c19048328
.
spfilter
(
c
,
e
,
tp
,
att
)
function
c19048328
.
spfilter
(
c
,
e
,
tp
,
att
)
return
c
:
IsRace
(
RACE_WYRM
)
and
bit
.
band
(
att
,
c
:
GetOriginalAttribute
())
~=
0
return
c
:
IsRace
(
RACE_WYRM
)
and
bit
.
band
(
att
,
c
:
GetOriginalAttribute
())
~=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c19048328
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c19048328
.
sptg
(
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
...
...
c19667590.lua
View file @
a38482b7
...
@@ -33,7 +33,7 @@ function c19667590.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +33,7 @@ function c19667590.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c19667590
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c19667590
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c19667590
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19667590
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c20036055.lua
View file @
a38482b7
...
@@ -13,7 +13,7 @@ function c20036055.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c20036055.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c20036055
.
filter
(
c
,
e
,
tp
,
id
)
function
c20036055
.
filter
(
c
,
e
,
tp
,
id
)
return
c
:
IsSetCard
(
0xb1
)
and
c
:
GetTurnID
()
==
id
and
not
c
:
IsReason
(
REASON_RETURN
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xb1
)
and
c
:
GetTurnID
()
==
id
and
not
c
:
IsReason
(
REASON_RETURN
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c20036055
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c20036055
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c20036055
.
filter
(
chkc
,
e
,
tp
,
Duel
.
GetTurnCount
())
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c20036055
.
filter
(
chkc
,
e
,
tp
,
Duel
.
GetTurnCount
())
end
...
...
c20056760.lua
View file @
a38482b7
...
@@ -61,7 +61,7 @@ function c20056760.spcon2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +61,7 @@ function c20056760.spcon2(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
end
end
function
c20056760
.
spfilter
(
c
,
e
,
tp
)
function
c20056760
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xd1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xd1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c20056760
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c20056760
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c20056760
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c20056760
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c21142671.lua
View file @
a38482b7
...
@@ -36,7 +36,7 @@ function c21142671.spdcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,7 +36,7 @@ function c21142671.spdcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c21142671
.
filter
(
c
,
e
,
tp
)
function
c21142671
.
filter
(
c
,
e
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsRace
(
RACE_FIEND
)
return
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c21142671
.
spdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21142671
.
spdtg
(
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
...
...
c21607304.lua
View file @
a38482b7
...
@@ -59,7 +59,7 @@ function c21607304.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +59,7 @@ function c21607304.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c21607304
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21607304
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c21607304
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21607304
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c22227683.lua
View file @
a38482b7
...
@@ -61,12 +61,12 @@ function c22227683.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,12 +61,12 @@ function c22227683.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c22227683
.
spfilter1
(
c
,
e
,
tp
)
function
c22227683
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xab
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0xab
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
Duel
.
IsExistingMatchingCard
(
c22227683
.
spfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
c
:
GetLevel
())
and
Duel
.
IsExistingMatchingCard
(
c22227683
.
spfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
c
:
GetLevel
())
end
end
function
c22227683
.
spfilter2
(
c
,
e
,
tp
,
lv
)
function
c22227683
.
spfilter2
(
c
,
e
,
tp
,
lv
)
return
c
:
IsSetCard
(
0xab
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetLevel
()
~=
lv
return
c
:
IsSetCard
(
0xab
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetLevel
()
~=
lv
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c22227683
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22227683
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
...
...
c2273734.lua
View file @
a38482b7
...
@@ -19,7 +19,7 @@ function c2273734.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c2273734.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c2273734
.
filter
(
c
,
e
,
tp
)
function
c2273734
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x9c
)
and
not
c
:
IsCode
(
2273734
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x9c
)
and
not
c
:
IsCode
(
2273734
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c2273734
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c2273734
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c2273734
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c2273734
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c22835145.lua
View file @
a38482b7
...
@@ -19,7 +19,7 @@ function c22835145.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c22835145.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c22835145
.
filter
(
c
,
e
,
tp
)
function
c22835145
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x33
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x33
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c22835145
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c22835145
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
c22835145
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
c22835145
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c22900598.lua
View file @
a38482b7
...
@@ -23,7 +23,7 @@ function c22900598.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -23,7 +23,7 @@ function c22900598.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c22900598
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c22900598
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
end
end
function
c22900598
.
spfilter
(
c
,
e
,
tp
)
function
c22900598
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x8e
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x8e
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c22900598
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22900598
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c22900598
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
tp
)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c22900598
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
tp
)
...
...
c23979249.lua
View file @
a38482b7
...
@@ -44,7 +44,7 @@ end
...
@@ -44,7 +44,7 @@ end
function
c23979249
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c23979249
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c23979249
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23979249
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c24062258.lua
View file @
a38482b7
...
@@ -14,7 +14,7 @@ function c24062258.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c24062258.initial_effect(c)
end
end
function
c24062258
.
filter
(
c
,
e
,
tp
)
function
c24062258
.
filter
(
c
,
e
,
tp
)
return
c
:
GetCode
()
~=
24062258
and
c
:
GetLevel
()
==
4
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
(
c
:
GetAttack
()
==
0
or
c
:
GetDefense
()
==
0
)
return
c
:
GetCode
()
~=
24062258
and
c
:
GetLevel
()
==
4
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
(
c
:
GetAttack
()
==
0
or
c
:
GetDefense
()
==
0
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c24062258
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c24062258
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c24062258
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c24062258
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c24103628.lua
View file @
a38482b7
...
@@ -15,7 +15,7 @@ function c24103628.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c24103628.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
c24103628
.
filter
(
c
,
e
,
tp
)
function
c24103628
.
filter
(
c
,
e
,
tp
)
return
c
:
IsAttackBelow
(
1000
)
and
c
:
IsSetCard
(
0x8
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsAttackBelow
(
1000
)
and
c
:
IsSetCard
(
0x8
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c24103628
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c24103628
.
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
...
...
c24658418.lua
View file @
a38482b7
...
@@ -28,7 +28,7 @@ function c24658418.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -28,7 +28,7 @@ function c24658418.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c24658418
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c24658418
.
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c24658418
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c24658418
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c24861088.lua
View file @
a38482b7
...
@@ -65,7 +65,7 @@ function c24861088.aclimit(e,re,tp)
...
@@ -65,7 +65,7 @@ function c24861088.aclimit(e,re,tp)
end
end
function
c24861088
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c24861088
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c24861088
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c24861088
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c25472513.lua
View file @
a38482b7
...
@@ -19,7 +19,7 @@ function c25472513.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -19,7 +19,7 @@ function c25472513.spcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
end
end
function
c25472513
.
spfilter
(
c
,
e
,
tp
)
function
c25472513
.
spfilter
(
c
,
e
,
tp
)
return
c
:
GetLevel
()
==
2
and
not
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetLevel
()
==
2
and
not
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c25472513
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c25472513
.
sptg
(
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
...
...
c26964762.lua
View file @
a38482b7
...
@@ -40,7 +40,7 @@ function c26964762.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -40,7 +40,7 @@ function c26964762.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
end
end
function
c26964762
.
spfilter
(
c
,
e
,
tp
)
function
c26964762
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xc008
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xc008
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
,
1
-
tp
)
end
end
function
c26964762
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c26964762
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c26964762
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c26964762
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c27103517.lua
View file @
a38482b7
...
@@ -30,7 +30,7 @@ function c27103517.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c27103517.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c27103517
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c27103517
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c27103517
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c27103517
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c27944249.lua
View file @
a38482b7
...
@@ -13,7 +13,7 @@ function c27944249.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c27944249.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c27944249
.
filter
(
c
,
e
,
tp
)
function
c27944249
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsSetCard
(
0x10
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsSetCard
(
0x10
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c27944249
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c27944249
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c27944249
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c27944249
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c282886.lua
View file @
a38482b7
...
@@ -21,7 +21,7 @@ function c282886.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -21,7 +21,7 @@ function c282886.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
c282886
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
c282886
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
c282886
.
filter
(
c
,
e
,
tp
)
function
c282886
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x74
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x74
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c282886
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c282886
.
sptg
(
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
...
...
c286392.lua
View file @
a38482b7
...
@@ -52,7 +52,7 @@ function c286392.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -52,7 +52,7 @@ function c286392.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c286392
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c286392
.
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c286392
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c286392
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c30068120.lua
View file @
a38482b7
...
@@ -20,7 +20,7 @@ function c30068120.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -20,7 +20,7 @@ function c30068120.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c30068120
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c30068120
.
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c30068120
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c30068120
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c30106950.lua
View file @
a38482b7
...
@@ -38,7 +38,7 @@ function c30106950.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c30106950.condition(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
end
end
function
c30106950
.
filter
(
c
,
e
,
tp
)
function
c30106950
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x9e
)
and
not
c
:
IsCode
(
30106950
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x9e
)
and
not
c
:
IsCode
(
30106950
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c30106950
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c30106950
.
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
...
...
c30587695.lua
View file @
a38482b7
...
@@ -23,7 +23,7 @@ function c30587695.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -23,7 +23,7 @@ function c30587695.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
end
function
c30587695
.
filter
(
c
,
e
,
tp
)
function
c30587695
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c30587695
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c30587695
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c30587695
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c30587695
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c32465539.lua
View file @
a38482b7
...
@@ -35,7 +35,7 @@ function c32465539.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +35,7 @@ function c32465539.spcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPosition
(
POS_FACEUP_ATTACK
)
return
e
:
GetHandler
():
IsPosition
(
POS_FACEUP_ATTACK
)
end
end
function
c32465539
.
spfil
(
c
,
e
,
tp
)
function
c32465539
.
spfil
(
c
,
e
,
tp
)
return
c
:
GetLevel
()
==
3
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetLevel
()
==
3
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c32465539
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c32465539
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c32465539
.
spfil
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c32465539
.
spfil
(
chkc
,
e
,
tp
)
end
...
...
c33057951.lua
View file @
a38482b7
...
@@ -11,7 +11,7 @@ function c33057951.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c33057951.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c33057951
.
filter
(
c
,
e
,
tp
)
function
c33057951
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
0x60040
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
0x60040
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c33057951
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c33057951
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c33057951
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c33057951
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c3422200.lua
View file @
a38482b7
...
@@ -33,7 +33,7 @@ function c3422200.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +33,7 @@ function c3422200.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c3422200
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c3422200
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
0
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
@@ -56,7 +56,7 @@ function c3422200.spcon2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,7 +56,7 @@ function c3422200.spcon2(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
end
function
c3422200
.
spfilter
(
c
,
e
,
tp
)
function
c3422200
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xea
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xea
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c3422200
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c3422200
.
sptg2
(
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
...
...
c34707034.lua
View file @
a38482b7
...
@@ -12,7 +12,7 @@ function c34707034.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c34707034.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c34707034
.
filter
(
c
,
e
,
tp
)
function
c34707034
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x74
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x74
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c34707034
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c34707034
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c34707034
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c34707034
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c3534077.lua
View file @
a38482b7
...
@@ -13,7 +13,7 @@ function c3534077.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c3534077.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c3534077
.
filter
(
c
,
e
,
tp
)
function
c3534077
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
GetLevel
()
==
4
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
GetLevel
()
==
4
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c3534077
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c3534077
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c3534077
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c3534077
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c35950025.lua
View file @
a38482b7
...
@@ -33,7 +33,7 @@ function c35950025.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,7 +33,7 @@ function c35950025.spcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_NORMAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_NORMAL
+
1
end
end
function
c35950025
.
spfilter
(
c
,
e
,
tp
)
function
c35950025
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
93717133
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
93717133
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c35950025
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c35950025
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c35950025
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c35950025
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c36227804.lua
View file @
a38482b7
...
@@ -12,7 +12,7 @@ function c36227804.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c36227804.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c36227804
.
filter
(
c
,
e
,
tp
)
function
c36227804
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x3a
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x3a
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c36227804
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c36227804
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c36227804
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c36227804
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c36857073.lua
View file @
a38482b7
...
@@ -56,11 +56,11 @@ function c36857073.spcon2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,11 +56,11 @@ function c36857073.spcon2(e,tp,eg,ep,ev,re,r,rp)
return
ep
~=
tp
return
ep
~=
tp
end
end
function
c36857073
.
spfilter2
(
c
,
e
,
tp
)
function
c36857073
.
spfilter2
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
Duel
.
IsExistingMatchingCard
(
c36857073
.
spfilter3
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetLevel
())
and
Duel
.
IsExistingMatchingCard
(
c36857073
.
spfilter3
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetLevel
())
end
end
function
c36857073
.
spfilter3
(
c
,
e
,
tp
,
lv
)
function
c36857073
.
spfilter3
(
c
,
e
,
tp
,
lv
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
c
:
GetLevel
()
==
lv
and
c
:
GetLevel
()
==
lv
end
end
function
c36857073
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c36857073
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c36916401.lua
View file @
a38482b7
...
@@ -17,7 +17,7 @@ function c36916401.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -17,7 +17,7 @@ function c36916401.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_COST
)
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_COST
)
end
end
function
c36916401
.
filter
(
c
,
e
,
tp
)
function
c36916401
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x84
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x84
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c36916401
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c36916401
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c36916401
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c36916401
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c39122311.lua
View file @
a38482b7
...
@@ -33,7 +33,7 @@ function c39122311.initial_effect(c)
...
@@ -33,7 +33,7 @@ function c39122311.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c39122311
.
filter
(
c
,
e
,
tp
)
function
c39122311
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c39122311
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c39122311
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c39122311
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c39122311
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c39695323.lua
View file @
a38482b7
...
@@ -21,7 +21,7 @@ function c39695323.initial_effect(c)
...
@@ -21,7 +21,7 @@ function c39695323.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c39695323
.
filter
(
c
,
e
,
tp
)
function
c39695323
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x59
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x59
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c39695323
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c39695323
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c39695323
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c39695323
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c40143123.lua
View file @
a38482b7
...
@@ -11,7 +11,7 @@ function c40143123.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c40143123.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c40143123
.
filter
(
c
,
e
,
tp
)
function
c40143123
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x53
)
and
c
:
GetLevel
()
==
5
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x53
)
and
c
:
GetLevel
()
==
5
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c40143123
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c40143123
.
sptg
(
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
...
...
c41493640.lua
View file @
a38482b7
...
@@ -41,7 +41,7 @@ function c41493640.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,7 @@ function c41493640.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c41493640
.
spfilter
(
c
,
e
,
tp
)
function
c41493640
.
spfilter
(
c
,
e
,
tp
)
return
c
:
GetLevel
()
==
3
and
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetLevel
()
==
3
and
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c41493640
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c41493640
.
sptg
(
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
...
...
c41546.lua
View file @
a38482b7
...
@@ -44,7 +44,7 @@ function c41546.desfilter(c)
...
@@ -44,7 +44,7 @@ function c41546.desfilter(c)
return
(
c
:
GetSequence
()
==
6
or
c
:
GetSequence
()
==
7
)
and
c
:
IsSetCard
(
0xaf
)
return
(
c
:
GetSequence
()
==
6
or
c
:
GetSequence
()
==
7
)
and
c
:
IsSetCard
(
0xaf
)
end
end
function
c41546
.
spfilter
(
c
,
e
,
tp
)
function
c41546
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x10af
)
and
c
:
GetLevel
()
==
8
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x10af
)
and
c
:
GetLevel
()
==
8
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c41546
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c41546
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c41546
.
desfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c41546
.
desfilter
(
chkc
)
end
...
...
c42079445.lua
View file @
a38482b7
...
@@ -11,7 +11,7 @@ function c42079445.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c42079445.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c42079445
.
spfilter
(
c
,
e
,
tp
)
function
c42079445
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c42079445
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c42079445
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c42079445
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c42079445
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c42534368.lua
View file @
a38482b7
...
@@ -11,7 +11,7 @@ function c42534368.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c42534368.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c42534368
.
filter
(
c
,
e
,
tp
)
function
c42534368
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c42534368
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c42534368
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c42534368
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c42534368
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c42713844.lua
View file @
a38482b7
...
@@ -53,7 +53,7 @@ function c42713844.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c42713844.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c42713844
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c42713844
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c42713844
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c42713844
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c43138260.lua
View file @
a38482b7
...
@@ -34,7 +34,7 @@ function c43138260.spcon2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,7 +34,7 @@ function c43138260.spcon2(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
end
end
function
c43138260
.
spfilter
(
c
,
e
,
tp
)
function
c43138260
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_FISH
)
and
c
:
GetLevel
()
==
4
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_FISH
)
and
c
:
GetLevel
()
==
4
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c43138260
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c43138260
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c43138260
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c43138260
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c43202238.lua
View file @
a38482b7
...
@@ -62,7 +62,7 @@ function c43202238.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,7 +62,7 @@ function c43202238.spcon(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
end
function
c43202238
.
spfilter
(
c
,
e
,
tp
)
function
c43202238
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_WYRM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_WYRM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c43202238
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c43202238
.
sptg
(
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
...
...
c4423206.lua
View file @
a38482b7
...
@@ -21,7 +21,7 @@ function c4423206.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -21,7 +21,7 @@ function c4423206.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c4423206
.
spfilter
(
c
,
e
,
tp
)
function
c4423206
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_WARRIOR
+
RACE_BEASTWARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
return
c
:
IsRace
(
RACE_WARRIOR
+
RACE_BEASTWARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
GetLevel
()
==
4
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
GetLevel
()
==
4
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c4423206
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c4423206
.
sptg
(
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
...
...
c44335251.lua
View file @
a38482b7
...
@@ -51,7 +51,7 @@ function c44335251.desfilter(c)
...
@@ -51,7 +51,7 @@ function c44335251.desfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_DINOSAUR
)
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_DINOSAUR
)
end
end
function
c44335251
.
spfilter
(
c
,
e
,
tp
)
function
c44335251
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_DINOSAUR
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_DINOSAUR
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c44335251
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c44335251
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c44509898.lua
View file @
a38482b7
...
@@ -15,7 +15,7 @@ function c44509898.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c44509898.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
end
end
function
c44509898
.
filter
(
c
,
e
,
tp
)
function
c44509898
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c44509898
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c44509898
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c44509898
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c44509898
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c45286019.lua
View file @
a38482b7
...
@@ -35,7 +35,7 @@ function c45286019.splimit(e,c,sump,sumtype,sumpos,targetp,se)
...
@@ -35,7 +35,7 @@ function c45286019.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return
not
c
:
IsSetCard
(
0x72
)
return
not
c
:
IsSetCard
(
0x72
)
end
end
function
c45286019
.
filter
(
c
,
e
,
tp
)
function
c45286019
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x72
)
and
not
c
:
IsCode
(
45286019
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x72
)
and
not
c
:
IsCode
(
45286019
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c45286019
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c45286019
.
sptg
(
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
...
...
c4545683.lua
View file @
a38482b7
...
@@ -119,7 +119,7 @@ function c4545683.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -119,7 +119,7 @@ function c4545683.eqop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c4545683
.
spfilter
(
c
,
e
,
tp
,
ec
)
function
c4545683
.
spfilter
(
c
,
e
,
tp
,
ec
)
return
c
:
GetFlagEffect
(
4545683
)
~=
0
and
c
:
GetEquipTarget
()
==
ec
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetFlagEffect
(
4545683
)
~=
0
and
c
:
GetEquipTarget
()
==
ec
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c4545683
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c4545683
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c4545683
.
spfilter
(
chkc
,
e
,
tp
,
e
:
GetHandler
())
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c4545683
.
spfilter
(
chkc
,
e
,
tp
,
e
:
GetHandler
())
end
...
...
c45803070.lua
View file @
a38482b7
...
@@ -34,7 +34,7 @@ function c45803070.efilter(e,te)
...
@@ -34,7 +34,7 @@ function c45803070.efilter(e,te)
return
c
:
GetType
()
==
TYPE_TRAP
and
(
c
:
IsSetCard
(
0x4c
)
or
c
:
IsSetCard
(
0x89
))
return
c
:
GetType
()
==
TYPE_TRAP
and
(
c
:
IsSetCard
(
0x4c
)
or
c
:
IsSetCard
(
0x89
))
end
end
function
c45803070
.
filter
(
c
,
e
,
tp
)
function
c45803070
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x108a
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x108a
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c45803070
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c45803070
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c45803070
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c45803070
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c46659709.lua
View file @
a38482b7
...
@@ -30,7 +30,7 @@ function c46659709.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -30,7 +30,7 @@ function c46659709.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c46659709
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c46659709
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c46659709
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c46659709
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c47457347.lua
View file @
a38482b7
...
@@ -12,7 +12,7 @@ function c47457347.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c47457347.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c47457347
.
filter
(
c
,
e
,
tp
)
function
c47457347
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xf4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xf4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c47457347
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c47457347
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c47457347
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c47457347
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c48063985.lua
View file @
a38482b7
...
@@ -98,11 +98,11 @@ function c48063985.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -98,11 +98,11 @@ function c48063985.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
end
end
function
c48063985
.
filter1
(
c
,
e
,
tp
)
function
c48063985
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x10b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x10b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
Duel
.
IsExistingTarget
(
c48063985
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
c
,
e
,
tp
)
and
Duel
.
IsExistingTarget
(
c48063985
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
c
,
e
,
tp
)
end
end
function
c48063985
.
filter2
(
c
,
e
,
tp
)
function
c48063985
.
filter2
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x20b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x20b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c48063985
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c48063985
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
c48497555.lua
View file @
a38482b7
...
@@ -42,7 +42,7 @@ function c48497555.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,7 +42,7 @@ function c48497555.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c48497555
.
spfilter
(
c
,
e
,
tp
)
function
c48497555
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x43
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x43
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c48497555
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c48497555
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c48497555
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c48497555
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c50692511.lua
View file @
a38482b7
...
@@ -36,7 +36,7 @@ function c50692511.filter1(c,e,tp)
...
@@ -36,7 +36,7 @@ function c50692511.filter1(c,e,tp)
and
Duel
.
IsExistingMatchingCard
(
c50692511
.
filter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetCode
())
and
Duel
.
IsExistingMatchingCard
(
c50692511
.
filter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetCode
())
end
end
function
c50692511
.
filter2
(
c
,
e
,
tp
,
code
)
function
c50692511
.
filter2
(
c
,
e
,
tp
,
code
)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c50692511
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c50692511
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
chkc
:
IsCode
(
e
:
GetLabel
())
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
chkc
:
IsCode
(
e
:
GetLabel
())
end
...
...
c51543904.lua
View file @
a38482b7
...
@@ -40,7 +40,7 @@ function c51543904.xyzop(e,tp,chk)
...
@@ -40,7 +40,7 @@ function c51543904.xyzop(e,tp,chk)
Duel
.
DiscardHand
(
tp
,
c51543904
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
c51543904
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
c51543904
.
filter
(
c
,
e
,
tp
)
function
c51543904
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x48
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x48
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c51543904
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c51543904
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c51543904
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c51543904
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c52346240.lua
View file @
a38482b7
...
@@ -12,7 +12,7 @@ function c52346240.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c52346240.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c52346240
.
filter
(
c
,
e
,
tp
)
function
c52346240
.
filter
(
c
,
e
,
tp
)
return
c
:
GetLevel
()
==
1
and
c
:
IsRace
(
RACE_BEAST
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetLevel
()
==
1
and
c
:
IsRace
(
RACE_BEAST
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c52346240
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c52346240
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c52346240
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c52346240
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c53485634.lua
View file @
a38482b7
...
@@ -35,7 +35,7 @@ end
...
@@ -35,7 +35,7 @@ end
function
c53485634
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c53485634
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
2
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
2
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
eg
:
IsExists
(
c53485634
.
spfilter
,
1
,
nil
,
e
,
tp
)
end
and
eg
:
IsExists
(
c53485634
.
spfilter
,
1
,
nil
,
e
,
tp
)
end
local
g
=
eg
:
Filter
(
c53485634
.
spfilter
,
nil
,
e
,
tp
)
local
g
=
eg
:
Filter
(
c53485634
.
spfilter
,
nil
,
e
,
tp
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetTargetCard
(
g
)
...
...
c53573406.lua
View file @
a38482b7
...
@@ -47,7 +47,7 @@ function c53573406.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
...
@@ -47,7 +47,7 @@ function c53573406.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return
e
:
GetLabel
()
~=
se
:
GetLabel
()
and
not
c
:
IsLocation
(
LOCATION_EXTRA
)
return
e
:
GetLabel
()
~=
se
:
GetLabel
()
and
not
c
:
IsLocation
(
LOCATION_EXTRA
)
end
end
function
c53573406
.
filter
(
c
,
e
,
tp
)
function
c53573406
.
filter
(
c
,
e
,
tp
)
return
c
:
GetDefense
()
==
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetDefense
()
==
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c53573406
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c53573406
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
c53573406
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
c53573406
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c55100740.lua
View file @
a38482b7
...
@@ -20,7 +20,7 @@ function c55100740.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -20,7 +20,7 @@ function c55100740.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
c55100740
.
filter
(
c
,
e
,
tp
)
function
c55100740
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_DUAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_DUAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c55100740
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c55100740
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c55100740
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c55100740
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c55470553.lua
View file @
a38482b7
...
@@ -48,7 +48,7 @@ function c55470553.spfilter(c,tp)
...
@@ -48,7 +48,7 @@ function c55470553.spfilter(c,tp)
end
end
function
c55470553
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c55470553
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c55470553
.
spfilter
(
chkc
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c55470553
.
spfilter
(
chkc
,
tp
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c55470553
.
spfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
)
end
and
Duel
.
IsExistingTarget
(
c55470553
.
spfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
...
...
c56105047.lua
View file @
a38482b7
...
@@ -13,7 +13,7 @@ function c56105047.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c56105047.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c56105047
.
filter
(
c
,
e
,
tp
)
function
c56105047
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
62476815
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
62476815
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c56105047
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c56105047
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c56105047
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c56105047
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c56681873.lua
View file @
a38482b7
...
@@ -11,7 +11,7 @@ function c56681873.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c56681873.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c56681873
.
filter
(
c
,
e
,
tp
)
function
c56681873
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c56681873
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c56681873
.
sptg
(
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
...
...
c57815601.lua
View file @
a38482b7
...
@@ -12,11 +12,11 @@ function c57815601.initial_effect(c)
...
@@ -12,11 +12,11 @@ function c57815601.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c57815601
.
filter1
(
c
,
e
,
tp
)
function
c57815601
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x10b5
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x10b5
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
Duel
.
IsExistingTarget
(
c57815601
.
filter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
c
,
e
,
tp
)
and
Duel
.
IsExistingTarget
(
c57815601
.
filter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
c
,
e
,
tp
)
end
end
function
c57815601
.
filter2
(
c
,
e
,
tp
)
function
c57815601
.
filter2
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x20b5
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x20b5
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c57815601
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c57815601
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
c57962537.lua
View file @
a38482b7
...
@@ -17,7 +17,7 @@ function c57962537.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -17,7 +17,7 @@ function c57962537.spcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPosition
(
POS_FACEUP_ATTACK
)
return
e
:
GetHandler
():
IsPosition
(
POS_FACEUP_ATTACK
)
end
end
function
c57962537
.
filter
(
c
,
e
,
tp
)
function
c57962537
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x58
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x58
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c57962537
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c57962537
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c57962537
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c57962537
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c57996334.lua
View file @
a38482b7
...
@@ -41,7 +41,7 @@ function c57996334.sumcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,7 @@ function c57996334.sumcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
end
end
function
c57996334
.
filter
(
c
,
e
,
tp
)
function
c57996334
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x82
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x82
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c57996334
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c57996334
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c57996334
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c57996334
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c58787301.lua
View file @
a38482b7
...
@@ -19,7 +19,7 @@ function c58787301.cfilter(c,e,tp)
...
@@ -19,7 +19,7 @@ function c58787301.cfilter(c,e,tp)
and
Duel
.
IsExistingMatchingCard
(
c58787301
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetLevel
())
and
Duel
.
IsExistingMatchingCard
(
c58787301
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetLevel
())
end
end
function
c58787301
.
spfilter
(
c
,
e
,
tp
,
lv
)
function
c58787301
.
spfilter
(
c
,
e
,
tp
,
lv
)
return
c
:
IsSetCard
(
0xef
)
and
c
:
GetLevel
()
==
lv
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xef
)
and
c
:
GetLevel
()
==
lv
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c58787301
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c58787301
.
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
...
...
c58947797.lua
View file @
a38482b7
...
@@ -30,7 +30,7 @@ function c58947797.initial_effect(c)
...
@@ -30,7 +30,7 @@ function c58947797.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c58947797
.
filter
(
c
,
e
,
tp
)
function
c58947797
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x8e
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x8e
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c58947797
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c58947797
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c58947797
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c58947797
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c59057152.lua
View file @
a38482b7
...
@@ -50,7 +50,7 @@ function c59057152.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function c59057152.spcon(e,tp,eg,ep,ev,re,r,rp)
return
c59057152
.
eqcon2
(
e
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
1
return
c59057152
.
eqcon2
(
e
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
1
end
end
function
c59057152
.
spfilter
(
c
,
e
,
tp
)
function
c59057152
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x107a
)
and
c
:
GetCode
()
~=
59057152
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x107a
)
and
c
:
GetCode
()
~=
59057152
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c59057152
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c59057152
.
sptg
(
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
...
...
c59297550.lua
View file @
a38482b7
...
@@ -19,7 +19,7 @@ function c59297550.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -19,7 +19,7 @@ function c59297550.spcon(e,tp,eg,ep,ev,re,r,rp)
and
re
:
GetHandler
():
IsSetCard
(
0x58
)
and
re
:
GetHandler
():
GetCode
()
~=
59297550
and
re
:
GetHandler
():
IsSetCard
(
0x58
)
and
re
:
GetHandler
():
GetCode
()
~=
59297550
end
end
function
c59297550
.
filter
(
c
,
e
,
tp
)
function
c59297550
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x58
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x58
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c59297550
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c59297550
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c59463312.lua
View file @
a38482b7
...
@@ -42,7 +42,7 @@ function c59463312.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -42,7 +42,7 @@ function c59463312.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
end
function
c59463312
.
filter
(
c
,
e
,
tp
)
function
c59463312
.
filter
(
c
,
e
,
tp
)
return
c
:
GetAttack
()
==
800
and
c
:
GetDefense
()
==
1000
and
not
c
:
IsCode
(
59463312
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetAttack
()
==
800
and
c
:
GetDefense
()
==
1000
and
not
c
:
IsCode
(
59463312
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c59463312
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c59463312
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c59463312
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c59463312
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c5972394.lua
View file @
a38482b7
...
@@ -20,7 +20,7 @@ function c5972394.filter(c,e,tp)
...
@@ -20,7 +20,7 @@ function c5972394.filter(c,e,tp)
and
Duel
.
IsExistingMatchingCard
(
c5972394
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetCode
())
and
Duel
.
IsExistingMatchingCard
(
c5972394
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetCode
())
end
end
function
c5972394
.
spfilter
(
c
,
e
,
tp
,
code
)
function
c5972394
.
spfilter
(
c
,
e
,
tp
,
code
)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c5972394
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c5972394
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c5972394
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c5972394
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c59822133.lua
View file @
a38482b7
...
@@ -57,7 +57,7 @@ function c59822133.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -57,7 +57,7 @@ function c59822133.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c59822133
.
spfilter
(
c
,
e
,
tp
)
function
c59822133
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
not
c
:
IsCode
(
59822133
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsCode
(
59822133
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c59822133
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c59822133
.
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
...
...
c60222582.lua
View file @
a38482b7
...
@@ -18,7 +18,7 @@ function c60222582.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -18,7 +18,7 @@ function c60222582.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
c60222582
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c60222582
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c60222582
.
spfilter
(
c
,
e
,
tp
)
function
c60222582
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelAbove
(
5
)
and
(
c
:
IsSetCard
(
0x55
)
or
c
:
IsSetCard
(
0x7b
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelAbove
(
5
)
and
(
c
:
IsSetCard
(
0x55
)
or
c
:
IsSetCard
(
0x7b
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c60222582
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c60222582
.
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
...
...
c60228941.lua
View file @
a38482b7
...
@@ -34,7 +34,7 @@ function c60228941.filter1(c)
...
@@ -34,7 +34,7 @@ function c60228941.filter1(c)
return
c
:
IsSetCard
(
0x6
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x6
)
and
c
:
IsAbleToHand
()
end
end
function
c60228941
.
filter2
(
c
,
e
,
tp
)
function
c60228941
.
filter2
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c60228941
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60228941
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
c60621361.lua
View file @
a38482b7
...
@@ -56,7 +56,7 @@ function c60621361.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,7 +56,7 @@ function c60621361.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetFlagEffect
(
1
-
tp
,
60621361
)
~=
0
return
Duel
.
GetFlagEffect
(
1
-
tp
,
60621361
)
~=
0
end
end
function
c60621361
.
filter
(
c
,
e
,
tp
)
function
c60621361
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c60621361
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c60621361
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c60621361
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c60621361
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c60930169.lua
View file @
a38482b7
...
@@ -38,7 +38,7 @@ function c60930169.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c60930169.condition(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c60930169
.
filter
,
1
,
nil
,
e
,
tp
)
return
eg
:
IsExists
(
c60930169
.
filter
,
1
,
nil
,
e
,
tp
)
end
end
function
c60930169
.
spfilter
(
c
,
e
,
tp
,
code
)
function
c60930169
.
spfilter
(
c
,
e
,
tp
,
code
)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c60930169
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c60930169
.
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
...
...
c61011311.lua
View file @
a38482b7
...
@@ -11,7 +11,7 @@ function c61011311.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c61011311.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c61011311
.
filter
(
c
,
e
,
tp
)
function
c61011311
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x58
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x58
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c61011311
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c61011311
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c61011311
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c61011311
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c6276588.lua
View file @
a38482b7
...
@@ -38,7 +38,7 @@ function c6276588.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c6276588.spcon(e,tp,eg,ep,ev,re,r,rp)
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsReason
(
REASON_BATTLE
)
end
end
function
c6276588
.
filter
(
c
,
e
,
tp
)
function
c6276588
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x11
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x11
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c6276588
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c6276588
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c6276588
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c6276588
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c63977008.lua
View file @
a38482b7
...
@@ -12,7 +12,7 @@ function c63977008.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c63977008.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c63977008
.
filter
(
c
,
e
,
tp
)
function
c63977008
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
2
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
2
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c63977008
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c63977008
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c63977008
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c63977008
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c64038662.lua
View file @
a38482b7
...
@@ -23,7 +23,7 @@ function c64038662.filter1(c)
...
@@ -23,7 +23,7 @@ function c64038662.filter1(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x56
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x56
)
end
end
function
c64038662
.
filter2
(
c
,
e
,
tp
)
function
c64038662
.
filter2
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x56
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x56
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c64038662
.
select
(
e
,
tp
,
b1
,
b2
)
function
c64038662
.
select
(
e
,
tp
,
b1
,
b2
)
local
op
=
0
local
op
=
0
...
...
c64245689.lua
View file @
a38482b7
...
@@ -47,7 +47,7 @@ function c64245689.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c64245689.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c64245689
.
spfilter
(
c
,
e
,
tp
)
function
c64245689
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c64245689
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c64245689
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c64245689
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c64245689
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c64283880.lua
View file @
a38482b7
...
@@ -26,7 +26,7 @@ function c64283880.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -26,7 +26,7 @@ function c64283880.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
end
function
c64283880
.
spfilter
(
c
,
e
,
tp
)
function
c64283880
.
spfilter
(
c
,
e
,
tp
)
return
(
c
:
IsSetCard
(
0x54
)
or
c
:
IsSetCard
(
0x82
)
or
c
:
IsSetCard
(
0x59
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
(
c
:
IsSetCard
(
0x54
)
or
c
:
IsSetCard
(
0x82
)
or
c
:
IsSetCard
(
0x59
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c64283880
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64283880
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
...
c64319467.lua
View file @
a38482b7
...
@@ -33,7 +33,7 @@ end
...
@@ -33,7 +33,7 @@ end
function
c64319467
.
filter
(
c
,
e
,
tp
)
function
c64319467
.
filter
(
c
,
e
,
tp
)
local
lv
=
c
:
GetLevel
()
local
lv
=
c
:
GetLevel
()
return
(
lv
==
3
or
lv
==
4
)
and
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
return
(
lv
==
3
or
lv
==
4
)
and
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c64319467
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c64319467
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c64319467
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c64319467
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c645087.lua
View file @
a38482b7
...
@@ -24,7 +24,7 @@ function c645087.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c645087.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c645087
.
spfilter
(
c
,
e
,
tp
)
function
c645087
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
2
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
2
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c645087
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c645087
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c645087
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c645087
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c64514622.lua
View file @
a38482b7
...
@@ -18,7 +18,7 @@ function c64514622.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -18,7 +18,7 @@ function c64514622.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
c64514622
.
filter
(
c
,
e
,
tp
)
function
c64514622
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x69
)
and
not
c
:
IsCode
(
64514622
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x69
)
and
not
c
:
IsCode
(
64514622
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c64514622
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c64514622
.
target
(
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
...
...
c6459419.lua
View file @
a38482b7
...
@@ -13,7 +13,7 @@ function c6459419.dfilter(c)
...
@@ -13,7 +13,7 @@ function c6459419.dfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x4
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x4
)
end
end
function
c6459419
.
spfilter
(
c
,
e
,
tp
)
function
c6459419
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c6459419
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c6459419
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c6459419
.
dfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c6459419
.
dfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
c65659181.lua
View file @
a38482b7
...
@@ -11,7 +11,7 @@ function c65659181.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c65659181.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c65659181
.
filter
(
c
,
e
,
tp
)
function
c65659181
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x30
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x30
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c65659181
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c65659181
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c65659181
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c65659181
.
filter
(
chkc
,
e
,
tp
)
end
...
@@ -24,7 +24,7 @@ function c65659181.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -24,7 +24,7 @@ function c65659181.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c65659181
.
spfilter
(
c
,
e
,
tp
)
function
c65659181
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRelateToEffect
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRelateToEffect
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c65659181
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65659181
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
c65737274.lua
View file @
a38482b7
...
@@ -24,7 +24,7 @@ function c65737274.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c65737274.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c65737274
.
spfilter
(
c
,
e
,
tp
)
function
c65737274
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsAttackBelow
(
1000
)
and
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsAttackBelow
(
1000
)
and
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c65737274
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c65737274
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c65737274
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c65737274
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c65758454.lua
View file @
a38482b7
...
@@ -11,7 +11,7 @@ function c65758454.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c65758454.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c65758454
.
filter
(
c
,
e
,
tp
)
function
c65758454
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
65758454
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
65758454
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c65758454
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65758454
.
sptg
(
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
...
...
c65976795.lua
View file @
a38482b7
...
@@ -57,7 +57,7 @@ function c65976795.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c65976795.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65976795
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65976795
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c65976795
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65976795
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c66500065.lua
View file @
a38482b7
...
@@ -38,7 +38,7 @@ function c66500065.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c66500065.condition(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
end
end
function
c66500065
.
filter
(
c
,
e
,
tp
)
function
c66500065
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x9e
)
and
not
c
:
IsCode
(
66500065
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x9e
)
and
not
c
:
IsCode
(
66500065
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c66500065
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c66500065
.
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
...
...
c68371799.lua
View file @
a38482b7
...
@@ -74,7 +74,7 @@ function c68371799.spcon2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,7 +74,7 @@ function c68371799.spcon2(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
end
end
function
c68371799
.
spfilter
(
c
,
e
,
tp
)
function
c68371799
.
spfilter
(
c
,
e
,
tp
)
return
c
:
GetLevel
()
==
6
and
c
:
IsSetCard
(
0x45
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetLevel
()
==
6
and
c
:
IsSetCard
(
0x45
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c68371799
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c68371799
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c68371799
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c68371799
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c68950538.lua
View file @
a38482b7
...
@@ -35,7 +35,7 @@ function c68950538.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +35,7 @@ function c68950538.spcon(e,tp,eg,ep,ev,re,r,rp)
return
not
c
:
IsStatus
(
STATUS_CONTINUOUS_POS
)
and
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP_ATTACK
)
return
not
c
:
IsStatus
(
STATUS_CONTINUOUS_POS
)
and
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP_ATTACK
)
end
end
function
c68950538
.
spfilter
(
c
,
e
,
tp
)
function
c68950538
.
spfilter
(
c
,
e
,
tp
)
return
c
:
GetLevel
()
==
3
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetLevel
()
==
3
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c68950538
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c68950538
.
sptg
(
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
...
...
c70624184.lua
View file @
a38482b7
...
@@ -16,7 +16,7 @@ function c70624184.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -16,7 +16,7 @@ function c70624184.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
c70624184
.
filter
(
c
,
e
,
tp
)
function
c70624184
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x53
)
and
not
c
:
IsCode
(
70624184
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x53
)
and
not
c
:
IsCode
(
70624184
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c70624184
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c70624184
.
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
...
...
c71175527.lua
View file @
a38482b7
...
@@ -16,7 +16,7 @@ function c71175527.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c71175527.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c71175527
.
filter
(
c
,
e
,
tp
)
function
c71175527
.
filter
(
c
,
e
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c71175527
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c71175527
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c71175527
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c71175527
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c71985676.lua
View file @
a38482b7
...
@@ -57,7 +57,7 @@ function c71985676.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -57,7 +57,7 @@ function c71985676.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c71985676
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c71985676
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c71985676
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71985676
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c73428497.lua
View file @
a38482b7
...
@@ -30,7 +30,7 @@ function c73428497.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -30,7 +30,7 @@ function c73428497.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
c73428497
.
filter
(
c
,
e
,
tp
)
function
c73428497
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x72
)
and
c
:
GetCode
()
~=
73428497
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x72
)
and
c
:
GetCode
()
~=
73428497
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c73428497
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c73428497
.
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
...
...
c7391448.lua
View file @
a38482b7
...
@@ -17,7 +17,7 @@ end
...
@@ -17,7 +17,7 @@ end
function
c7391448
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c7391448
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
bc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
bc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
bc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
bc
,
1
,
0
,
0
)
end
end
...
...
c73941492.lua
View file @
a38482b7
...
@@ -88,7 +88,7 @@ function c73941492.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,7 +88,7 @@ function c73941492.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c73941492
.
spfilter
(
c
,
e
,
tp
)
function
c73941492
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x98
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsCode
(
73941492
)
return
c
:
IsSetCard
(
0x98
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsCode
(
73941492
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c73941492
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c73941492
.
sptg
(
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
...
...
c75252099.lua
View file @
a38482b7
...
@@ -17,7 +17,7 @@ function c75252099.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -17,7 +17,7 @@ function c75252099.spcon(e,tp,eg,ep,ev,re,r,rp)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
GetBattlePosition
()
==
POS_FACEUP_ATTACK
and
c
:
GetPreviousControler
()
==
tp
and
c
:
GetBattlePosition
()
==
POS_FACEUP_ATTACK
end
end
function
c75252099
.
filter
(
c
,
e
,
tp
)
function
c75252099
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c75252099
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c75252099
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
...
...
c75574498.lua
View file @
a38482b7
...
@@ -76,7 +76,7 @@ function c75574498.spcost2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -76,7 +76,7 @@ function c75574498.spcost2(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
c75574498
.
spfilter2
(
c
,
e
,
tp
)
function
c75574498
.
spfilter2
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c75574498
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c75574498
.
sptg2
(
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
...
...
c7573135.lua
View file @
a38482b7
...
@@ -28,7 +28,7 @@ function c7573135.hspcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -28,7 +28,7 @@ function c7573135.hspcon(e,tp,eg,ep,ev,re,r,rp)
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
end
function
c7573135
.
hspfilter
(
c
,
e
,
tp
)
function
c7573135
.
hspfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
113
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
113
,
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
...
...
c76066541.lua
View file @
a38482b7
...
@@ -21,7 +21,7 @@ function c76066541.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -21,7 +21,7 @@ function c76066541.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c76066541
.
filter
(
c
,
e
,
tp
)
function
c76066541
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c76066541
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c76066541
.
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
...
...
c78202553.lua
View file @
a38482b7
...
@@ -54,7 +54,7 @@ function c78202553.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c78202553.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c78202553
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c78202553
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c78202553
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c78202553
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c78391364.lua
View file @
a38482b7
...
@@ -30,7 +30,7 @@ function c78391364.spcon(e,c)
...
@@ -30,7 +30,7 @@ function c78391364.spcon(e,c)
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
end
function
c78391364
.
filter
(
c
,
e
,
tp
)
function
c78391364
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x9a
)
and
c
:
IsLevelBelow
(
4
)
and
not
c
:
IsCode
(
78391364
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x9a
)
and
c
:
IsLevelBelow
(
4
)
and
not
c
:
IsCode
(
78391364
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c78391364
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c78391364
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c78391364
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c78391364
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c79531196.lua
View file @
a38482b7
...
@@ -72,7 +72,7 @@ function c79531196.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -72,7 +72,7 @@ function c79531196.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c79531196
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c79531196
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c79531196
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c79531196
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c79544790.lua
View file @
a38482b7
...
@@ -12,7 +12,7 @@ function c79544790.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c79544790.initial_effect(c)
end
end
function
c79544790
.
filter
(
c
,
e
,
tp
)
function
c79544790
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c79544790
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c79544790
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c79544790
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c79544790
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c80208158.lua
View file @
a38482b7
...
@@ -41,7 +41,7 @@ function c80208158.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,7 @@ function c80208158.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c80208158
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c80208158
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c80208158
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c80208158
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c80244114.lua
View file @
a38482b7
...
@@ -26,7 +26,7 @@ function c80244114.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -26,7 +26,7 @@ function c80244114.spcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
~=
tp
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
return
rp
~=
tp
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
end
end
function
c80244114
.
spfilter
(
c
,
e
,
tp
)
function
c80244114
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
44508094
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
44508094
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c80244114
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c80244114
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c80244114
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c80244114
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c80978111.lua
View file @
a38482b7
...
@@ -32,7 +32,7 @@ function c80978111.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -32,7 +32,7 @@ function c80978111.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c80978111
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c80978111
.
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
,
1
-
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c80978111
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c80978111
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c81587028.lua
View file @
a38482b7
...
@@ -17,7 +17,7 @@ function c81587028.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -17,7 +17,7 @@ function c81587028.spcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
return
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
end
end
function
c81587028
.
filter1
(
c
,
e
,
tp
)
function
c81587028
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
(
c
:
GetAttack
()
==
0
or
c
:
GetDefense
()
==
0
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
(
c
:
GetAttack
()
==
0
or
c
:
GetDefense
()
==
0
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c81587028
.
filter2
(
c
,
g
)
function
c81587028
.
filter2
(
c
,
g
)
return
g
:
IsExists
(
c81587028
.
filter3
,
1
,
c
,
c
:
GetCode
())
return
g
:
IsExists
(
c81587028
.
filter3
,
1
,
c
,
c
:
GetCode
())
...
...
c82052602.lua
View file @
a38482b7
...
@@ -42,7 +42,7 @@ function c82052602.clear(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,7 +42,7 @@ function c82052602.clear(e,tp,eg,ep,ev,re,r,rp)
c82052602
[
1
]
=
false
c82052602
[
1
]
=
false
end
end
function
c82052602
.
filter
(
c
,
id
,
e
,
tp
)
function
c82052602
.
filter
(
c
,
id
,
e
,
tp
)
return
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetTurnID
()
==
id
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetTurnID
()
==
id
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c82052602
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82052602
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
c82052602
[
tp
]
and
Duel
.
GetFlagEffect
(
tp
,
82052602
)
==
0
return
c82052602
[
tp
]
and
Duel
.
GetFlagEffect
(
tp
,
82052602
)
==
0
...
...
c82321037.lua
View file @
a38482b7
...
@@ -87,7 +87,7 @@ function c82321037.spcon2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,7 +87,7 @@ function c82321037.spcon2(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
end
function
c82321037
.
thfilter
(
c
,
e
,
tp
)
function
c82321037
.
thfilter
(
c
,
e
,
tp
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsRace
(
RACE_WYRM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsRace
(
RACE_WYRM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c82321037
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c82321037
.
sptg2
(
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
...
...
c84136000.lua
View file @
a38482b7
...
@@ -18,7 +18,7 @@ function c84136000.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -18,7 +18,7 @@ function c84136000.condition(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c84136000
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c84136000
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
c84136000
.
spfilter
(
c
,
e
,
tp
)
function
c84136000
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c84136000
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c84136000
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
c84812868.lua
View file @
a38482b7
...
@@ -22,7 +22,7 @@ function c84812868.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c84812868.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c84812868
.
spfilter
(
c
,
e
,
tp
)
function
c84812868
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xdf
)
and
not
c
:
IsCode
(
84812868
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xdf
)
and
not
c
:
IsCode
(
84812868
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c84812868
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c84812868
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c84812868
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c84812868
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c86274272.lua
View file @
a38482b7
...
@@ -78,11 +78,11 @@ function c86274272.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -78,11 +78,11 @@ function c86274272.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
end
end
function
c86274272
.
filter1
(
c
,
e
,
tp
)
function
c86274272
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x10b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x10b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
Duel
.
IsExistingTarget
(
c86274272
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
c
,
e
,
tp
)
and
Duel
.
IsExistingTarget
(
c86274272
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
c
,
e
,
tp
)
end
end
function
c86274272
.
filter2
(
c
,
e
,
tp
)
function
c86274272
.
filter2
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x20b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x20b5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c86274272
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c86274272
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
c86555018.lua
View file @
a38482b7
...
@@ -19,7 +19,7 @@ function c86555018.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -19,7 +19,7 @@ function c86555018.condition(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c86555018
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c86555018
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
c86555018
.
spfilter
(
c
,
e
,
tp
)
function
c86555018
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x70
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x70
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c86555018
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c86555018
.
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
...
...
c88671720.lua
View file @
a38482b7
...
@@ -13,7 +13,7 @@ function c88671720.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c88671720.initial_effect(c)
end
end
function
c88671720
.
filter
(
c
,
e
,
tp
)
function
c88671720
.
filter
(
c
,
e
,
tp
)
return
c
:
GetLevel
()
==
4
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
GetLevel
()
==
4
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c88671720
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c88671720
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c88671720
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c88671720
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c89362180.lua
View file @
a38482b7
...
@@ -39,7 +39,7 @@ end
...
@@ -39,7 +39,7 @@ end
function
c89362180
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c89362180
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
bc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
bc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
bc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
bc
,
1
,
0
,
0
)
end
end
...
...
c89774530.lua
View file @
a38482b7
...
@@ -25,7 +25,7 @@ function c89774530.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c89774530.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c89774530
.
filter
(
c
,
e
,
tp
)
function
c89774530
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
89774530
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
89774530
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c89774530
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c89774530
.
sptg
(
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
...
...
c90238142.lua
View file @
a38482b7
...
@@ -37,7 +37,7 @@ function c90238142.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -37,7 +37,7 @@ function c90238142.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
c90238142
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
c90238142
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
c90238142
.
filter
(
c
,
e
,
tp
)
function
c90238142
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x64
)
and
c
:
GetCode
()
~=
90238142
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x64
)
and
c
:
GetCode
()
~=
90238142
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c90238142
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c90238142
.
sptg
(
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
...
...
c91895091.lua
View file @
a38482b7
...
@@ -62,7 +62,7 @@ function c91895091.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,7 +62,7 @@ function c91895091.spcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsRelateToBattle
()
and
c
:
GetOverlayCount
()
>
0
return
c
:
IsRelateToBattle
()
and
c
:
GetOverlayCount
()
>
0
end
end
function
c91895091
.
spfilter
(
c
,
e
,
tp
)
function
c91895091
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c91895091
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c91895091
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c91895091
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c91895091
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c92924317.lua
View file @
a38482b7
...
@@ -26,7 +26,7 @@ function c92924317.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c92924317.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c92924317
.
filter
(
c
,
e
,
tp
)
function
c92924317
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c92924317
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c92924317
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c92924317
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c92924317
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c92970404.lua
View file @
a38482b7
...
@@ -51,7 +51,7 @@ function c92970404.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c92970404.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c92970404
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c92970404
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c92970404
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c92970404
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c94344242.lua
View file @
a38482b7
...
@@ -31,7 +31,7 @@ function c94344242.xyzlimit(e,c)
...
@@ -31,7 +31,7 @@ function c94344242.xyzlimit(e,c)
return
not
c
:
IsRace
(
RACE_INSECT
)
return
not
c
:
IsRace
(
RACE_INSECT
)
end
end
function
c94344242
.
spfilter
(
c
,
e
,
tp
)
function
c94344242
.
spfilter
(
c
,
e
,
tp
)
return
c
:
GetLevel
()
==
3
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetLevel
()
==
3
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c94344242
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c94344242
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsPosition
(
POS_FACEUP_ATTACK
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsPosition
(
POS_FACEUP_ATTACK
)
end
...
...
c94484482.lua
View file @
a38482b7
...
@@ -27,7 +27,7 @@ function c94484482.condition2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -27,7 +27,7 @@ function c94484482.condition2(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c94484482
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c94484482
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
c94484482
.
spfilter
(
c
,
e
,
tp
)
function
c94484482
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c94484482
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c94484482
.
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
...
...
c94515289.lua
View file @
a38482b7
...
@@ -41,7 +41,7 @@ function c94515289.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -41,7 +41,7 @@ function c94515289.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c94515289
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c94515289
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c94515289
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c94515289
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c94982447.lua
View file @
a38482b7
...
@@ -56,7 +56,7 @@ function c94982447.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,7 +56,7 @@ function c94982447.spcon(e,tp,eg,ep,ev,re,r,rp)
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
end
end
function
c94982447
.
spfilter
(
c
,
e
,
tp
)
function
c94982447
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xf9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xf9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c94982447
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c94982447
.
sptg
(
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
...
...
c95218695.lua
View file @
a38482b7
...
@@ -51,7 +51,7 @@ function c95218695.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c95218695.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c95218695
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c95218695
.
sptg
(
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c95218695
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c95218695
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c95457011.lua
View file @
a38482b7
...
@@ -27,7 +27,7 @@ function c95457011.initial_effect(c)
...
@@ -27,7 +27,7 @@ function c95457011.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c95457011
.
spfilter
(
c
,
e
,
tp
)
function
c95457011
.
spfilter
(
c
,
e
,
tp
)
return
c
:
GetAttack
()
==
800
and
c
:
GetDefense
()
==
1000
and
not
c
:
IsCode
(
95457011
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetAttack
()
==
800
and
c
:
GetDefense
()
==
1000
and
not
c
:
IsCode
(
95457011
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c95457011
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c95457011
.
sptg
(
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
...
...
c95833645.lua
View file @
a38482b7
...
@@ -31,7 +31,7 @@ function c95833645.splimit(e,c)
...
@@ -31,7 +31,7 @@ function c95833645.splimit(e,c)
return
c
:
GetRace
()
~=
RACE_WYRM
return
c
:
GetRace
()
~=
RACE_WYRM
end
end
function
c95833645
.
filter
(
c
,
e
,
tp
)
function
c95833645
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_WYRM
)
and
not
c
:
IsCode
(
95833645
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_WYRM
)
and
not
c
:
IsCode
(
95833645
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c95833645
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c95833645
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c95833645
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c95833645
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c96100333.lua
View file @
a38482b7
...
@@ -83,7 +83,7 @@ function c96100333.spcfilter2(c,sg)
...
@@ -83,7 +83,7 @@ function c96100333.spcfilter2(c,sg)
return
sg
:
IsExists
(
aux
.
TRUE
,
1
,
c
)
return
sg
:
IsExists
(
aux
.
TRUE
,
1
,
c
)
end
end
function
c96100333
.
spfilter
(
c
,
e
,
tp
)
function
c96100333
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_ROCK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_ROCK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c96100333
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c96100333
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c96100333
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c96100333
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c96381979.lua
View file @
a38482b7
...
@@ -103,7 +103,7 @@ function c96381979.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -103,7 +103,7 @@ function c96381979.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
end
function
c96381979
.
spfilter
(
c
,
e
,
tp
)
function
c96381979
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c96381979
.
afilter1
(
c
,
g
)
function
c96381979
.
afilter1
(
c
,
g
)
return
g
:
IsExists
(
c96381979
.
afilter2
,
1
,
c
,
c
:
GetAttack
())
return
g
:
IsExists
(
c96381979
.
afilter2
,
1
,
c
,
c
:
GetAttack
())
...
...
c96385345.lua
View file @
a38482b7
...
@@ -31,7 +31,7 @@ function c96385345.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -31,7 +31,7 @@ function c96385345.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
c96385345
.
spfilter
(
c
,
e
,
tp
)
function
c96385345
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c96385345
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c96385345
.
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
...
...
c97219708.lua
View file @
a38482b7
...
@@ -48,7 +48,7 @@ function c97219708.recop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c97219708.recop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c97219708
.
spfilter
(
c
,
e
,
tp
)
function
c97219708
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsSetCard
(
0xba
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsSetCard
(
0xba
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c97219708
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c97219708
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
...
...
c97520701.lua
View file @
a38482b7
...
@@ -23,7 +23,7 @@ function c97520701.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c97520701.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c97520701
.
filter
(
c
,
e
,
tp
)
function
c97520701
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttackAbove
(
3000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttackAbove
(
3000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c97520701
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c97520701
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c97520701
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c97520701
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c9753964.lua
View file @
a38482b7
...
@@ -71,7 +71,7 @@ function c9753964.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,7 +71,7 @@ function c9753964.spcon(e,tp,eg,ep,ev,re,r,rp)
return
ep
~=
tp
return
ep
~=
tp
end
end
function
c9753964
.
spfilter
(
c
,
e
,
tp
)
function
c9753964
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c9753964
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c9753964
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c9753964
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c9753964
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
c9861795.lua
View file @
a38482b7
...
@@ -18,7 +18,7 @@ function c9861795.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -18,7 +18,7 @@ function c9861795.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c9861795
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9861795
.
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
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c9861795
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9861795
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c98927491.lua
View file @
a38482b7
...
@@ -24,7 +24,7 @@ function c98927491.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c98927491.initial_effect(c)
end
end
function
c98927491
.
filter
(
c
,
e
,
tp
)
function
c98927491
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetPreviousControler
()
==
tp
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c98927491
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c98927491
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c99946920.lua
View file @
a38482b7
...
@@ -38,7 +38,7 @@ function c99946920.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c99946920.condition(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
end
end
function
c99946920
.
filter
(
c
,
e
,
tp
)
function
c99946920
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x9e
)
and
not
c
:
IsCode
(
99946920
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x9e
)
and
not
c
:
IsCode
(
99946920
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c99946920
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c99946920
.
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
...
...
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