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
e52afb00
Commit
e52afb00
authored
Mar 19, 2016
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bb30e9a7
Changes
124
Hide whitespace changes
Inline
Side-by-side
Showing
124 changed files
with
256 additions
and
228 deletions
+256
-228
c10178757.lua
c10178757.lua
+2
-2
c10194329.lua
c10194329.lua
+2
-2
c10530913.lua
c10530913.lua
+2
-2
c11366199.lua
c11366199.lua
+2
-2
c12275533.lua
c12275533.lua
+2
-1
c12423762.lua
c12423762.lua
+2
-2
c13647631.lua
c13647631.lua
+4
-3
c14624296.lua
c14624296.lua
+2
-2
c14677495.lua
c14677495.lua
+2
-2
c15475415.lua
c15475415.lua
+2
-2
c15495787.lua
c15495787.lua
+2
-1
c15721123.lua
c15721123.lua
+2
-1
c16947147.lua
c16947147.lua
+2
-1
c18175965.lua
c18175965.lua
+2
-1
c19353570.lua
c19353570.lua
+2
-2
c19580308.lua
c19580308.lua
+2
-1
c20056760.lua
c20056760.lua
+2
-2
c20773176.lua
c20773176.lua
+2
-2
c20838380.lua
c20838380.lua
+2
-2
c21051977.lua
c21051977.lua
+2
-2
c21954587.lua
c21954587.lua
+2
-2
c22382087.lua
c22382087.lua
+2
-2
c22446869.lua
c22446869.lua
+2
-2
c23296404.lua
c23296404.lua
+2
-2
c23979249.lua
c23979249.lua
+2
-2
c24658418.lua
c24658418.lua
+2
-2
c24731453.lua
c24731453.lua
+4
-3
c24857466.lua
c24857466.lua
+2
-1
c25206027.lua
c25206027.lua
+2
-2
c25484449.lua
c25484449.lua
+2
-2
c26400609.lua
c26400609.lua
+2
-2
c26775203.lua
c26775203.lua
+2
-2
c27769400.lua
c27769400.lua
+2
-2
c293542.lua
c293542.lua
+2
-2
c29905795.lua
c29905795.lua
+2
-2
c3167573.lua
c3167573.lua
+2
-1
c33823832.lua
c33823832.lua
+2
-2
c35073065.lua
c35073065.lua
+2
-1
c35537251.lua
c35537251.lua
+2
-2
c36553319.lua
c36553319.lua
+2
-2
c36704180.lua
c36704180.lua
+2
-2
c37781520.lua
c37781520.lua
+2
-2
c39439590.lua
c39439590.lua
+2
-2
c40028305.lua
c40028305.lua
+2
-2
c40159926.lua
c40159926.lua
+2
-1
c41329458.lua
c41329458.lua
+2
-2
c44330098.lua
c44330098.lua
+2
-1
c45593826.lua
c45593826.lua
+2
-2
c46502744.lua
c46502744.lua
+2
-1
c46659709.lua
c46659709.lua
+2
-2
c46668237.lua
c46668237.lua
+2
-2
c47728740.lua
c47728740.lua
+2
-2
c47863787.lua
c47863787.lua
+2
-2
c49460512.lua
c49460512.lua
+2
-2
c50702124.lua
c50702124.lua
+2
-1
c52575195.lua
c52575195.lua
+2
-2
c53090623.lua
c53090623.lua
+2
-2
c53485634.lua
c53485634.lua
+2
-1
c53678698.lua
c53678698.lua
+2
-2
c53804307.lua
c53804307.lua
+2
-2
c53855409.lua
c53855409.lua
+2
-2
c54149433.lua
c54149433.lua
+2
-2
c54161401.lua
c54161401.lua
+2
-2
c54512827.lua
c54512827.lua
+2
-1
c54582424.lua
c54582424.lua
+2
-1
c54635862.lua
c54635862.lua
+2
-2
c54941203.lua
c54941203.lua
+2
-1
c55277252.lua
c55277252.lua
+2
-2
c56619314.lua
c56619314.lua
+2
-2
c57143342.lua
c57143342.lua
+2
-2
c5763020.lua
c5763020.lua
+2
-2
c58786132.lua
c58786132.lua
+3
-3
c5929801.lua
c5929801.lua
+2
-2
c59755122.lua
c59755122.lua
+2
-2
c59785059.lua
c59785059.lua
+2
-2
c59808784.lua
c59808784.lua
+2
-2
c60417395.lua
c60417395.lua
+2
-1
c61318483.lua
c61318483.lua
+2
-1
c61791132.lua
c61791132.lua
+2
-2
c62957424.lua
c62957424.lua
+2
-2
c63211608.lua
c63211608.lua
+2
-2
c64034255.lua
c64034255.lua
+2
-2
c64379261.lua
c64379261.lua
+2
-2
c64605089.lua
c64605089.lua
+2
-1
c65303664.lua
c65303664.lua
+2
-2
c66413481.lua
c66413481.lua
+2
-2
c66752837.lua
c66752837.lua
+2
-1
c68120130.lua
c68120130.lua
+2
-2
c69304426.lua
c69304426.lua
+2
-2
c69838592.lua
c69838592.lua
+2
-2
c72181263.lua
c72181263.lua
+2
-2
c73213494.lua
c73213494.lua
+2
-2
c734741.lua
c734741.lua
+2
-2
c74298287.lua
c74298287.lua
+2
-2
c75180828.lua
c75180828.lua
+2
-2
c7563579.lua
c7563579.lua
+2
-1
c76218313.lua
c76218313.lua
+2
-2
c7634581.lua
c7634581.lua
+2
-1
c81336148.lua
c81336148.lua
+2
-2
c81907872.lua
c81907872.lua
+2
-1
c81992475.lua
c81992475.lua
+2
-2
c82670878.lua
c82670878.lua
+2
-2
c83303851.lua
c83303851.lua
+5
-4
c84764038.lua
c84764038.lua
+2
-2
c86585274.lua
c86585274.lua
+2
-2
c87255382.lua
c87255382.lua
+2
-2
c87774234.lua
c87774234.lua
+2
-2
c88358139.lua
c88358139.lua
+2
-2
c8873112.lua
c8873112.lua
+2
-2
c88935103.lua
c88935103.lua
+2
-2
c89235196.lua
c89235196.lua
+2
-2
c89258906.lua
c89258906.lua
+2
-2
c89399912.lua
c89399912.lua
+2
-2
c90411554.lua
c90411554.lua
+2
-2
c90764875.lua
c90764875.lua
+2
-2
c92821268.lua
c92821268.lua
+2
-2
c93085839.lua
c93085839.lua
+2
-2
c9342162.lua
c9342162.lua
+2
-2
c94656263.lua
c94656263.lua
+2
-1
c96594609.lua
c96594609.lua
+2
-2
c97940434.lua
c97940434.lua
+2
-2
c98437424.lua
c98437424.lua
+2
-2
c98777036.lua
c98777036.lua
+2
-2
c99177923.lua
c99177923.lua
+2
-2
No files found.
c10178757.lua
View file @
e52afb00
...
...
@@ -35,8 +35,8 @@ end
function
c10178757
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c10194329.lua
View file @
e52afb00
...
...
@@ -31,8 +31,8 @@ function c10194329.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c10530913.lua
View file @
e52afb00
...
...
@@ -46,8 +46,8 @@ end
function
c10530913
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c11366199.lua
View file @
e52afb00
...
...
@@ -77,8 +77,8 @@ end
function
c11366199
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c12275533.lua
View file @
e52afb00
...
...
@@ -64,7 +64,8 @@ function c12275533.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetOperation
(
c12275533
.
adjustop
)
c
:
RegisterEffect
(
e2
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c12423762.lua
View file @
e52afb00
...
...
@@ -33,8 +33,8 @@ end
function
c12423762
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c13647631.lua
View file @
e52afb00
...
...
@@ -40,9 +40,9 @@ function c13647631.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c13647631
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
atk
=
c
:
GetBaseAttack
()
local
def
=
c
:
GetBaseDefence
()
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -56,7 +56,8 @@ function c13647631.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
def
/
2
)
c
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c14624296.lua
View file @
e52afb00
...
...
@@ -65,8 +65,8 @@ end
function
c14624296
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c14677495.lua
View file @
e52afb00
...
...
@@ -38,8 +38,8 @@ end
function
c14677495
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c15475415.lua
View file @
e52afb00
...
...
@@ -32,8 +32,8 @@ end
function
c15475415
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c15495787.lua
View file @
e52afb00
...
...
@@ -49,7 +49,8 @@ function c15495787.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e2
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c15721123.lua
View file @
e52afb00
...
...
@@ -35,7 +35,8 @@ function c15721123.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
c15721123
.
efilter
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c16947147.lua
View file @
e52afb00
...
...
@@ -28,7 +28,8 @@ function c16947147.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
~=
0
then
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
POS_FACEUP_ATTACK
)
Duel
.
ChangePosition
(
g
,
POS_FACEUP_DEFENCE
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c18175965.lua
View file @
e52afb00
...
...
@@ -76,7 +76,8 @@ function c18175965.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
~=
0
then
c
:
CompleteProcedure
()
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c19353570.lua
View file @
e52afb00
...
...
@@ -30,8 +30,8 @@ end
function
c19353570
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c19580308.lua
View file @
e52afb00
...
...
@@ -40,7 +40,8 @@ function c19580308.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
,
true
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c20056760.lua
View file @
e52afb00
...
...
@@ -54,8 +54,8 @@ function c20056760.spop1(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c20773176.lua
View file @
e52afb00
...
...
@@ -47,8 +47,8 @@ end
function
c20773176
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c20838380.lua
View file @
e52afb00
...
...
@@ -36,8 +36,8 @@ end
function
c20838380
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c21051977.lua
View file @
e52afb00
...
...
@@ -24,8 +24,8 @@ function c21051977.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c21954587.lua
View file @
e52afb00
...
...
@@ -46,8 +46,8 @@ end
function
c21954587
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c22382087.lua
View file @
e52afb00
...
...
@@ -47,8 +47,8 @@ function c22382087.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTarget
(
c22382087
.
splimit
)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c22446869.lua
View file @
e52afb00
...
...
@@ -37,8 +37,8 @@ end
function
c22446869
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c23296404.lua
View file @
e52afb00
...
...
@@ -57,8 +57,8 @@ function c23296404.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c23979249.lua
View file @
e52afb00
...
...
@@ -50,8 +50,8 @@ end
function
c23979249
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c24658418.lua
View file @
e52afb00
...
...
@@ -34,8 +34,8 @@ end
function
c24658418
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c24731453.lua
View file @
e52afb00
...
...
@@ -42,16 +42,17 @@ function c24731453.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c24731453
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
local
g
=
Duel
.
GetMatchingGroup
(
c24731453
.
filter
,
tp
,
LOCATION_SZONE
,
0
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
local
ct
=
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
ct
*
200
,
REASON_EFFECT
)
end
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c24857466.lua
View file @
e52afb00
...
...
@@ -91,7 +91,8 @@ function c24857466.hspop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
tpe
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
Duel
.
RaiseSingleEvent
(
c
,
EVENT_CUSTOM
+
24857466
,
e
,
0
,
0
,
tp
,
tpe
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c25206027.lua
View file @
e52afb00
...
...
@@ -27,8 +27,8 @@ end
function
c25206027
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c25484449.lua
View file @
e52afb00
...
...
@@ -38,8 +38,8 @@ end
function
c25484449
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c26400609.lua
View file @
e52afb00
...
...
@@ -63,8 +63,8 @@ end
function
c26400609
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c26775203.lua
View file @
e52afb00
...
...
@@ -35,8 +35,8 @@ end
function
c26775203
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c27769400.lua
View file @
e52afb00
...
...
@@ -63,8 +63,8 @@ end
function
c27769400
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c293542.lua
View file @
e52afb00
...
...
@@ -32,8 +32,8 @@ end
function
c293542
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c29905795.lua
View file @
e52afb00
...
...
@@ -29,8 +29,8 @@ function c29905795.op(e,tp,eg,ep,ev,re,r,rp)
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c3167573.lua
View file @
e52afb00
...
...
@@ -46,7 +46,8 @@ function c3167573.spop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterFlagEffect
(
3167573
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
0
,
1
)
e2
:
SetLabel
(
Duel
.
GetTurnCount
()
+
1
)
end
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c33823832.lua
View file @
e52afb00
...
...
@@ -38,8 +38,8 @@ end
function
c33823832
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c35073065.lua
View file @
e52afb00
...
...
@@ -59,7 +59,8 @@ function c35073065.spop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e3
)
end
Duel
.
SpecialSummonComplete
()
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c35537251.lua
View file @
e52afb00
...
...
@@ -40,8 +40,8 @@ function c35537251.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c36553319.lua
View file @
e52afb00
...
...
@@ -51,8 +51,8 @@ end
function
c36553319
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c36704180.lua
View file @
e52afb00
...
...
@@ -41,8 +41,8 @@ end
function
c36704180
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c37781520.lua
View file @
e52afb00
...
...
@@ -49,8 +49,8 @@ end
function
c37781520
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c39439590.lua
View file @
e52afb00
...
...
@@ -26,8 +26,8 @@ end
function
c39439590
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c40028305.lua
View file @
e52afb00
...
...
@@ -74,8 +74,8 @@ end
function
c40028305
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c40159926.lua
View file @
e52afb00
...
...
@@ -45,7 +45,8 @@ function c40159926.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
,
true
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c41329458.lua
View file @
e52afb00
...
...
@@ -51,8 +51,8 @@ end
function
c41329458
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c44330098.lua
View file @
e52afb00
...
...
@@ -53,7 +53,8 @@ function c44330098.sumop(e,tp,eg,ep,ev,re,r,rp)
if
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
then
sumtype
=
2
end
if
Duel
.
SpecialSummon
(
c
,
sumtype
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
e
:
SetLabel
(
ev
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c45593826.lua
View file @
e52afb00
...
...
@@ -50,8 +50,8 @@ end
function
c45593826
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c46502744.lua
View file @
e52afb00
...
...
@@ -50,7 +50,8 @@ function c46502744.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
c
:
RegisterFlagEffect
(
46502745
,
RESET_EVENT
+
0xfe0000
,
0
,
1
)
Duel
.
SpecialSummonComplete
()
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c46659709.lua
View file @
e52afb00
...
...
@@ -36,8 +36,8 @@ end
function
c46659709
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c46668237.lua
View file @
e52afb00
...
...
@@ -33,8 +33,8 @@ end
function
c46668237
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c47728740.lua
View file @
e52afb00
...
...
@@ -51,8 +51,8 @@ end
function
c47728740
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c47863787.lua
View file @
e52afb00
...
...
@@ -40,8 +40,8 @@ end
function
c47863787
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c49460512.lua
View file @
e52afb00
...
...
@@ -34,8 +34,8 @@ end
function
c49460512
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c50702124.lua
View file @
e52afb00
...
...
@@ -27,7 +27,8 @@ function c50702124.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
~=
0
then
c
:
CompleteProcedure
()
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c52575195.lua
View file @
e52afb00
...
...
@@ -69,8 +69,8 @@ function c52575195.tgop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c53090623.lua
View file @
e52afb00
...
...
@@ -35,8 +35,8 @@ end
function
c53090623
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c53485634.lua
View file @
e52afb00
...
...
@@ -62,7 +62,8 @@ function c53485634.spop(e,tp,eg,ep,ev,re,r,rp)
tc
=
g
:
GetNext
()
end
Duel
.
SpecialSummonComplete
()
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c53678698.lua
View file @
e52afb00
...
...
@@ -49,8 +49,8 @@ end
function
c53678698
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c53804307.lua
View file @
e52afb00
...
...
@@ -64,8 +64,8 @@ end
function
c53804307
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c53855409.lua
View file @
e52afb00
...
...
@@ -36,8 +36,8 @@ end
function
c53855409
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c54149433.lua
View file @
e52afb00
...
...
@@ -40,8 +40,8 @@ end
function
c54149433
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c54161401.lua
View file @
e52afb00
...
...
@@ -28,8 +28,8 @@ end
function
c54161401
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c54512827.lua
View file @
e52afb00
...
...
@@ -74,7 +74,8 @@ function c54512827.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENCE
)
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c54582424.lua
View file @
e52afb00
...
...
@@ -34,7 +34,8 @@ function c54582424.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
~=
0
then
c
:
CompleteProcedure
()
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c54635862.lua
View file @
e52afb00
...
...
@@ -32,8 +32,8 @@ end
function
c54635862
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c54941203.lua
View file @
e52afb00
...
...
@@ -45,7 +45,8 @@ function c54941203.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
,
true
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c55277252.lua
View file @
e52afb00
...
...
@@ -39,8 +39,8 @@ function c55277252.op(e,tp,eg,ep,ev,re,r,rp)
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c56619314.lua
View file @
e52afb00
...
...
@@ -60,8 +60,8 @@ end
function
c56619314
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c57143342.lua
View file @
e52afb00
...
...
@@ -51,8 +51,8 @@ end
function
c57143342
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c5763020.lua
View file @
e52afb00
...
...
@@ -28,8 +28,8 @@ end
function
c5763020
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c58786132.lua
View file @
e52afb00
...
...
@@ -46,9 +46,9 @@ function c58786132.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c58786132
.
splimit
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c5929801.lua
View file @
e52afb00
...
...
@@ -55,8 +55,8 @@ end
function
c5929801
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c59755122.lua
View file @
e52afb00
...
...
@@ -19,8 +19,8 @@ end
function
c59755122
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c59785059.lua
View file @
e52afb00
...
...
@@ -57,8 +57,8 @@ function c59785059.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c59808784.lua
View file @
e52afb00
...
...
@@ -42,8 +42,8 @@ function c59808784.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTarget
(
c59808784
.
splimit
)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c60417395.lua
View file @
e52afb00
...
...
@@ -66,7 +66,8 @@ function c60417395.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
~=
0
then
c
:
CompleteProcedure
()
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c61318483.lua
View file @
e52afb00
...
...
@@ -63,7 +63,8 @@ function c61318483.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENCE
)
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c61791132.lua
View file @
e52afb00
...
...
@@ -28,8 +28,8 @@ end
function
c61791132
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c62957424.lua
View file @
e52afb00
...
...
@@ -51,8 +51,8 @@ end
function
c62957424
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c63211608.lua
View file @
e52afb00
...
...
@@ -49,8 +49,8 @@ end
function
c63211608
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c64034255.lua
View file @
e52afb00
...
...
@@ -28,8 +28,8 @@ function c64034255.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c64034255
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
not
c
:
IsRelateToEffect
(
e
)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
return
end
...
...
c64379261.lua
View file @
e52afb00
...
...
@@ -23,8 +23,8 @@ end
function
c64379261
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c64605089.lua
View file @
e52afb00
...
...
@@ -38,7 +38,8 @@ function c64605089.operation(e,tp,eg,ep,ev,re,r,rp)
and
at
:
IsFaceup
()
and
at
:
IsRelateToBattle
()
and
at
:
GetAttack
()
<
c
:
GetDefence
()
then
Duel
.
BreakEffect
()
Duel
.
Destroy
(
at
,
REASON_EFFECT
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c65303664.lua
View file @
e52afb00
...
...
@@ -38,8 +38,8 @@ end
function
c65303664
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c66413481.lua
View file @
e52afb00
...
...
@@ -41,8 +41,8 @@ end
function
c66413481
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c66752837.lua
View file @
e52afb00
...
...
@@ -58,7 +58,8 @@ function c66752837.spop(e,tp,eg,ep,ev,re,r,rp)
if
sg
:
GetFirst
():
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
then
return
end
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c68120130.lua
View file @
e52afb00
...
...
@@ -40,8 +40,8 @@ end
function
c68120130
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c69304426.lua
View file @
e52afb00
...
...
@@ -76,8 +76,8 @@ end
function
c69304426
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c69838592.lua
View file @
e52afb00
...
...
@@ -50,8 +50,8 @@ end
function
c69838592
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c72181263.lua
View file @
e52afb00
...
...
@@ -68,8 +68,8 @@ end
function
c72181263
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c73213494.lua
View file @
e52afb00
...
...
@@ -51,8 +51,8 @@ end
function
c73213494
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c734741.lua
View file @
e52afb00
...
...
@@ -51,8 +51,8 @@ end
function
c734741
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c74298287.lua
View file @
e52afb00
...
...
@@ -41,8 +41,8 @@ function c74298287.spop1(e,tp,eg,ep,ev,re,r,rp)
if
not
Duel
.
IsExistingMatchingCard
(
c74298287
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
return
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c75180828.lua
View file @
e52afb00
...
...
@@ -47,8 +47,8 @@ end
function
c75180828
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c7563579.lua
View file @
e52afb00
...
...
@@ -44,7 +44,8 @@ function c7563579.spop1(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
Duel
.
BreakEffect
()
Duel
.
Damage
(
tp
,
500
,
REASON_EFFECT
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c76218313.lua
View file @
e52afb00
...
...
@@ -67,8 +67,8 @@ end
function
c76218313
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c7634581.lua
View file @
e52afb00
...
...
@@ -52,7 +52,8 @@ function c7634581.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
~=
0
then
c
:
CompleteProcedure
()
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c81336148.lua
View file @
e52afb00
...
...
@@ -30,8 +30,8 @@ end
function
c81336148
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c81907872.lua
View file @
e52afb00
...
...
@@ -67,7 +67,8 @@ function c81907872.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENCE
)
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c81992475.lua
View file @
e52afb00
...
...
@@ -51,8 +51,8 @@ end
function
c81992475
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c82670878.lua
View file @
e52afb00
...
...
@@ -75,8 +75,8 @@ end
function
c82670878
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c83303851.lua
View file @
e52afb00
...
...
@@ -43,8 +43,8 @@ end
function
c83303851
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
@@ -89,9 +89,10 @@ function c83303851.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
>
0
and
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c84764038.lua
View file @
e52afb00
...
...
@@ -59,8 +59,8 @@ end
function
c84764038
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c86585274.lua
View file @
e52afb00
...
...
@@ -41,8 +41,8 @@ end
function
c86585274
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c87255382.lua
View file @
e52afb00
...
...
@@ -36,8 +36,8 @@ end
function
c87255382
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c87774234.lua
View file @
e52afb00
...
...
@@ -24,8 +24,8 @@ end
function
c87774234
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c88358139.lua
View file @
e52afb00
...
...
@@ -28,8 +28,8 @@ end
function
c88358139
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c8873112.lua
View file @
e52afb00
...
...
@@ -41,8 +41,8 @@ end
function
c8873112
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c88935103.lua
View file @
e52afb00
...
...
@@ -88,8 +88,8 @@ function c88935103.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
-
3
)
tc
:
RegisterEffect
(
e1
)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c89235196.lua
View file @
e52afb00
...
...
@@ -28,8 +28,8 @@ end
function
c89235196
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c89258906.lua
View file @
e52afb00
...
...
@@ -34,8 +34,8 @@ end
function
c89258906
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c89399912.lua
View file @
e52afb00
...
...
@@ -63,8 +63,8 @@ end
function
c89399912
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c90411554.lua
View file @
e52afb00
...
...
@@ -64,8 +64,8 @@ end
function
c90411554
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c90764875.lua
View file @
e52afb00
...
...
@@ -31,8 +31,8 @@ end
function
c90764875
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c92821268.lua
View file @
e52afb00
...
...
@@ -30,8 +30,8 @@ end
function
c92821268
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c93085839.lua
View file @
e52afb00
...
...
@@ -43,8 +43,8 @@ end
function
c93085839
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c9342162.lua
View file @
e52afb00
...
...
@@ -51,8 +51,8 @@ end
function
c9342162
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c94656263.lua
View file @
e52afb00
...
...
@@ -34,7 +34,8 @@ function c94656263.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
~=
0
then
c
:
CompleteProcedure
()
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c96594609.lua
View file @
e52afb00
...
...
@@ -40,8 +40,8 @@ end
function
c96594609
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c97940434.lua
View file @
e52afb00
...
...
@@ -47,8 +47,8 @@ end
function
c97940434
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c98437424.lua
View file @
e52afb00
...
...
@@ -26,8 +26,8 @@ end
function
c98437424
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
c98777036.lua
View file @
e52afb00
...
...
@@ -64,8 +64,8 @@ end
function
c98777036
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c99177923.lua
View file @
e52afb00
...
...
@@ -42,8 +42,8 @@ end
function
c99177923
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
elseif
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment