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
bf07ae75
Commit
bf07ae75
authored
Jan 18, 2020
by
DailyShana
Committed by
GitHub
Jan 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update scripts that using Duel.SpecialSummonComplete (#1302)
close Fluorohydride/ygopro#2260
parent
9510077f
Changes
168
Hide whitespace changes
Inline
Side-by-side
Showing
168 changed files
with
187 additions
and
190 deletions
+187
-190
c10000080.lua
c10000080.lua
+1
-1
c10802915.lua
c10802915.lua
+1
-1
c11969228.lua
c11969228.lua
+1
-1
c12766474.lua
c12766474.lua
+1
-1
c13647631.lua
c13647631.lua
+1
-1
c14025912.lua
c14025912.lua
+1
-1
c14463695.lua
c14463695.lua
+1
-1
c14577226.lua
c14577226.lua
+1
-1
c14816688.lua
c14816688.lua
+1
-1
c14943837.lua
c14943837.lua
+1
-1
c15092394.lua
c15092394.lua
+1
-1
c16984449.lua
c16984449.lua
+1
-1
c17377751.lua
c17377751.lua
+1
-1
c17412721.lua
c17412721.lua
+1
-1
c1759808.lua
c1759808.lua
+1
-1
c18302224.lua
c18302224.lua
+1
-1
c18491580.lua
c18491580.lua
+1
-1
c18597560.lua
c18597560.lua
+1
-1
c22082163.lua
c22082163.lua
+1
-1
c22159429.lua
c22159429.lua
+1
-1
c22754505.lua
c22754505.lua
+1
-1
c23269426.lua
c23269426.lua
+1
-1
c23440062.lua
c23440062.lua
+1
-1
c23557835.lua
c23557835.lua
+1
-4
c23869735.lua
c23869735.lua
+1
-1
c2414168.lua
c2414168.lua
+1
-1
c24361622.lua
c24361622.lua
+1
-1
c25669282.lua
c25669282.lua
+1
-1
c25924653.lua
c25924653.lua
+1
-1
c26956670.lua
c26956670.lua
+1
-1
c27337596.lua
c27337596.lua
+1
-1
c27352108.lua
c27352108.lua
+1
-1
c27415516.lua
c27415516.lua
+1
-1
c27551.lua
c27551.lua
+1
-1
c28637168.lua
c28637168.lua
+1
-1
c28890974.lua
c28890974.lua
+1
-1
c2903036.lua
c2903036.lua
+1
-1
c31443476.lua
c31443476.lua
+1
-1
c31516413.lua
c31516413.lua
+1
-1
c31550470.lua
c31550470.lua
+1
-1
c31643613.lua
c31643613.lua
+0
-1
c3300267.lua
c3300267.lua
+1
-1
c33280639.lua
c33280639.lua
+1
-1
c33541430.lua
c33541430.lua
+1
-1
c34959756.lua
c34959756.lua
+1
-1
c35073065.lua
c35073065.lua
+1
-1
c35307484.lua
c35307484.lua
+1
-1
c35539880.lua
c35539880.lua
+1
-1
c36318200.lua
c36318200.lua
+1
-1
c36415522.lua
c36415522.lua
+1
-1
c36614113.lua
c36614113.lua
+1
-1
c36730805.lua
c36730805.lua
+1
-1
c36737092.lua
c36737092.lua
+1
-1
c36768783.lua
c36768783.lua
+1
-1
c36841733.lua
c36841733.lua
+1
-1
c3891471.lua
c3891471.lua
+1
-1
c39033131.lua
c39033131.lua
+1
-1
c39122311.lua
c39122311.lua
+1
-1
c39271553.lua
c39271553.lua
+1
-1
c4022819.lua
c4022819.lua
+1
-1
c41375811.lua
c41375811.lua
+1
-1
c41546.lua
c41546.lua
+1
-1
c41639001.lua
c41639001.lua
+1
-1
c42079445.lua
c42079445.lua
+1
-1
c4215636.lua
c4215636.lua
+1
-1
c42172465.lua
c42172465.lua
+1
-1
c44341034.lua
c44341034.lua
+1
-1
c45313993.lua
c45313993.lua
+1
-1
c45705025.lua
c45705025.lua
+1
-1
c46502744.lua
c46502744.lua
+1
-1
c46589034.lua
c46589034.lua
+1
-1
c47482043.lua
c47482043.lua
+1
-1
c48210156.lua
c48210156.lua
+1
-1
c4914353.lua
c4914353.lua
+1
-1
c50619462.lua
c50619462.lua
+1
-1
c50669347.lua
c50669347.lua
+1
-1
c51543904.lua
c51543904.lua
+1
-1
c52145422.lua
c52145422.lua
+1
-1
c52615248.lua
c52615248.lua
+1
-1
c52628687.lua
c52628687.lua
+1
-1
c52904476.lua
c52904476.lua
+1
-1
c53797637.lua
c53797637.lua
+1
-1
c54507222.lua
c54507222.lua
+1
-1
c5614808.lua
c5614808.lua
+1
-1
c56907986.lua
c56907986.lua
+1
-1
c57047293.lua
c57047293.lua
+1
-1
c57246528.lua
c57246528.lua
+1
-1
c57477163.lua
c57477163.lua
+1
-1
c57782164.lua
c57782164.lua
+1
-1
c58843503.lua
c58843503.lua
+1
-1
c59724555.lua
c59724555.lua
+1
-1
c59975920.lua
c59975920.lua
+1
-1
c60202749.lua
c60202749.lua
+1
-1
c60292055.lua
c60292055.lua
+1
-1
c60621361.lua
c60621361.lua
+1
-1
c61011311.lua
c61011311.lua
+1
-1
c61665245.lua
c61665245.lua
+1
-1
c61962135.lua
c61962135.lua
+1
-1
c6203182.lua
c6203182.lua
+1
-1
c62957424.lua
c62957424.lua
+1
-1
c63364266.lua
c63364266.lua
+1
-1
c63492244.lua
c63492244.lua
+1
-1
c63626024.lua
c63626024.lua
+1
-1
c63731062.lua
c63731062.lua
+1
-1
c64034255.lua
c64034255.lua
+1
-1
c64319467.lua
c64319467.lua
+1
-1
c6442944.lua
c6442944.lua
+1
-1
c64662453.lua
c64662453.lua
+1
-1
c6556178.lua
c6556178.lua
+1
-1
c66015185.lua
c66015185.lua
+1
-1
c66938505.lua
c66938505.lua
+11
-10
c66947913.lua
c66947913.lua
+1
-1
c68191756.lua
c68191756.lua
+1
-1
c68987122.lua
c68987122.lua
+1
-1
c69121954.lua
c69121954.lua
+1
-1
c70083592.lua
c70083592.lua
+1
-1
c70709488.lua
c70709488.lua
+1
-1
c70861343.lua
c70861343.lua
+1
-1
c71786742.lua
c71786742.lua
+1
-1
c7268133.lua
c7268133.lua
+1
-1
c73534250.lua
c73534250.lua
+1
-1
c73648243.lua
c73648243.lua
+1
-1
c73941492.lua
c73941492.lua
+1
-1
c73979030.lua
c73979030.lua
+1
-1
c74069667.lua
c74069667.lua
+1
-1
c7445307.lua
c7445307.lua
+1
-1
c74644400.lua
c74644400.lua
+1
-1
c76136345.lua
c76136345.lua
+1
-1
c76232522.lua
c76232522.lua
+1
-1
c76830505.lua
c76830505.lua
+1
-1
c77901552.lua
c77901552.lua
+1
-1
c78033100.lua
c78033100.lua
+1
-1
c78229193.lua
c78229193.lua
+1
-1
c79523365.lua
c79523365.lua
+1
-1
c80551130.lua
c80551130.lua
+1
-1
c8057630.lua
c8057630.lua
+1
-1
c80758812.lua
c80758812.lua
+1
-1
c81384993.lua
c81384993.lua
+1
-1
c82224646.lua
c82224646.lua
+11
-11
c82946847.lua
c82946847.lua
+1
-1
c83407038.lua
c83407038.lua
+1
-1
c83866861.lua
c83866861.lua
+1
-1
c84274024.lua
c84274024.lua
+1
-1
c86331741.lua
c86331741.lua
+1
-1
c86555018.lua
c86555018.lua
+1
-1
c87988305.lua
c87988305.lua
+1
-1
c89185742.lua
c89185742.lua
+1
-1
c89252157.lua
c89252157.lua
+1
-1
c8967776.lua
c8967776.lua
+1
-1
c90200789.lua
c90200789.lua
+1
-1
c90726340.lua
c90726340.lua
+1
-1
c91020571.lua
c91020571.lua
+1
-1
c91449532.lua
c91449532.lua
+1
-1
c92924317.lua
c92924317.lua
+1
-1
c93169863.lua
c93169863.lua
+1
-1
c93382620.lua
c93382620.lua
+1
-1
c95504778.lua
c95504778.lua
+1
-1
c95833645.lua
c95833645.lua
+1
-1
c96029574.lua
c96029574.lua
+1
-1
c97077563.lua
c97077563.lua
+1
-1
c97219708.lua
c97219708.lua
+1
-1
c98263709.lua
c98263709.lua
+1
-1
c98273947.lua
c98273947.lua
+1
-1
c98637386.lua
c98637386.lua
+1
-1
c98642179.lua
c98642179.lua
+1
-1
c98935722.lua
c98935722.lua
+1
-1
c9929398.lua
c9929398.lua
+1
-1
c99423156.lua
c99423156.lua
+1
-1
No files found.
c10000080.lua
View file @
bf07ae75
...
@@ -161,6 +161,6 @@ function c10000080.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -161,6 +161,6 @@ function c10000080.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c10802915.lua
View file @
bf07ae75
...
@@ -41,6 +41,6 @@ function c10802915.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,6 +41,6 @@ function c10802915.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
1
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e3
,
true
)
tc
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c11969228.lua
View file @
bf07ae75
...
@@ -88,6 +88,6 @@ function c11969228.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,6 +88,6 @@ function c11969228.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
1
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c12766474.lua
View file @
bf07ae75
...
@@ -74,8 +74,8 @@ function c12766474.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,8 +74,8 @@ function c12766474.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
ct
*
500
)
e1
:
SetValue
(
ct
*
500
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c12766474
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12766474
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
12766474
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
12766474
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
...
...
c13647631.lua
View file @
bf07ae75
...
@@ -55,8 +55,8 @@ function c13647631.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,8 +55,8 @@ function c13647631.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_SET_BASE_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_BASE_DEFENSE
)
e2
:
SetValue
(
math.ceil
(
def
/
2
))
e2
:
SetValue
(
math.ceil
(
def
/
2
))
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c13647631
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13647631
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c14025912.lua
View file @
bf07ae75
...
@@ -31,6 +31,6 @@ function c14025912.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,6 +31,6 @@ function c14025912.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
1000
)
e1
:
SetValue
(
1000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c14463695.lua
View file @
bf07ae75
...
@@ -49,8 +49,8 @@ function c14463695.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,8 +49,8 @@ function c14463695.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c14463695
.
eqlimit
)
e1
:
SetValue
(
c14463695
.
eqlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c14463695
.
eqlimit
(
e
,
c
)
function
c14463695
.
eqlimit
(
e
,
c
)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
...
...
c14577226.lua
View file @
bf07ae75
...
@@ -75,7 +75,7 @@ function c14577226.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,7 +75,7 @@ function c14577226.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
sg
:
RegisterEffect
(
e1
)
sg
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
end
end
c14816688.lua
View file @
bf07ae75
...
@@ -65,8 +65,8 @@ function c14816688.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,8 +65,8 @@ function c14816688.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCondition
(
c14816688
.
rmcon1
)
e3
:
SetCondition
(
c14816688
.
rmcon1
)
e3
:
SetOperation
(
c14816688
.
rmop1
)
e3
:
SetOperation
(
c14816688
.
rmop1
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c14816688
.
rmcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14816688
.
rmcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
...
...
c14943837.lua
View file @
bf07ae75
...
@@ -56,6 +56,6 @@ function c14943837.sumop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,6 +56,6 @@ function c14943837.sumop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c15092394.lua
View file @
bf07ae75
...
@@ -73,6 +73,6 @@ function c15092394.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,6 +73,6 @@ function c15092394.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
c
))
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
c
))
end
end
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c16984449.lua
View file @
bf07ae75
...
@@ -33,6 +33,6 @@ function c16984449.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,6 +33,6 @@ function c16984449.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
tc
:
EnableDualState
()
tc
:
EnableDualState
()
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c17377751.lua
View file @
bf07ae75
...
@@ -49,6 +49,6 @@ function c17377751.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,6 +49,6 @@ function c17377751.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c17412721.lua
View file @
bf07ae75
...
@@ -50,7 +50,6 @@ function c17412721.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,6 @@ function c17412721.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
e
:
GetLabelObject
():
SetLabelObject
(
tc
)
e
:
GetLabelObject
():
SetLabelObject
(
tc
)
...
@@ -58,6 +57,7 @@ function c17412721.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,6 +57,7 @@ function c17412721.spop(e,tp,eg,ep,ev,re,r,rp)
tc
:
CreateRelation
(
c
,
RESET_EVENT
+
0x5fe0000
)
tc
:
CreateRelation
(
c
,
RESET_EVENT
+
0x5fe0000
)
end
end
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c17412721
.
leave
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c17412721
.
leave
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c1759808.lua
View file @
bf07ae75
...
@@ -46,8 +46,8 @@ function c1759808.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,8 +46,8 @@ function c1759808.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c1759808
.
tdop
)
e1
:
SetOperation
(
c1759808
.
tdop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c18302224.lua
View file @
bf07ae75
...
@@ -47,8 +47,8 @@ function c18302224.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,8 +47,8 @@ function c18302224.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c18302224
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c18302224
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
...
...
c18491580.lua
View file @
bf07ae75
...
@@ -62,6 +62,6 @@ function c18491580.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,6 +62,6 @@ function c18491580.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c18597560.lua
View file @
bf07ae75
...
@@ -56,8 +56,8 @@ function c18597560.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,8 +56,8 @@ function c18597560.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetLabel
(
Duel
.
GetTurnCount
())
e2
:
SetLabel
(
Duel
.
GetTurnCount
())
e2
:
SetLabelObject
(
tc
)
e2
:
SetLabelObject
(
tc
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c18597560
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c18597560
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
...
...
c22082163.lua
View file @
bf07ae75
...
@@ -54,8 +54,8 @@ function c22082163.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,8 +54,8 @@ function c22082163.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c22082163
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22082163
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c22159429.lua
View file @
bf07ae75
...
@@ -63,8 +63,8 @@ function c22159429.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,8 +63,8 @@ function c22159429.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c22159429
.
eqlimit
)
e1
:
SetValue
(
c22159429
.
eqlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c22159429
.
eqlimit
(
e
,
c
)
function
c22159429
.
eqlimit
(
e
,
c
)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
...
...
c22754505.lua
View file @
bf07ae75
...
@@ -47,6 +47,6 @@ function c22754505.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,6 +47,6 @@ function c22754505.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c23269426.lua
View file @
bf07ae75
...
@@ -42,8 +42,8 @@ function c23269426.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function c23269426.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
sg
:
GetFirst
():
RegisterEffect
(
e2
,
true
)
sg
:
GetFirst
():
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
c23440062.lua
View file @
bf07ae75
...
@@ -58,8 +58,8 @@ function c23440062.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,8 +58,8 @@ function c23440062.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c23440062
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23440062
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c23557835.lua
View file @
bf07ae75
...
@@ -25,7 +25,6 @@ function c23557835.tg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -25,7 +25,6 @@ function c23557835.tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
2
,
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
2
,
LOCATION_REMOVED
)
end
end
function
c23557835
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23557835
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
count
=
0
local
ft1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft1
>
0
then
if
ft1
>
0
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft1
=
1
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft1
=
1
end
...
@@ -36,7 +35,6 @@ function c23557835.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,7 +35,6 @@ function c23557835.op(e,tp,eg,ep,ev,re,r,rp)
while
tc
do
while
tc
do
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
count
=
count
+
1
end
end
end
end
end
end
...
@@ -50,9 +48,8 @@ function c23557835.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,9 +48,8 @@ function c23557835.op(e,tp,eg,ep,ev,re,r,rp)
while
tc
do
while
tc
do
Duel
.
SpecialSummonStep
(
tc
,
0
,
1
-
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
1
-
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
count
=
count
+
1
end
end
end
end
end
end
if
count
>
0
then
Duel
.
SpecialSummonComplete
()
end
Duel
.
SpecialSummonComplete
()
end
end
c23869735.lua
View file @
bf07ae75
...
@@ -53,8 +53,8 @@ function c23869735.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,8 +53,8 @@ function c23869735.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c23869735
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23869735
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c2414168.lua
View file @
bf07ae75
...
@@ -40,8 +40,8 @@ function c2414168.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,8 +40,8 @@ function c2414168.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
ev
)
e1
:
SetValue
(
ev
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c2414168
.
defcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c2414168
.
defcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
...
...
c24361622.lua
View file @
bf07ae75
...
@@ -77,6 +77,6 @@ function c24361622.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,6 +77,6 @@ function c24361622.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c25669282.lua
View file @
bf07ae75
...
@@ -76,6 +76,6 @@ function c25669282.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,6 +76,6 @@ function c25669282.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
tc
:
EnableDualState
()
tc
:
EnableDualState
()
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c25924653.lua
View file @
bf07ae75
...
@@ -56,7 +56,6 @@ function c25924653.spgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,7 +56,6 @@ function c25924653.spgop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
e
:
GetLabelObject
():
SetLabelObject
(
tc
)
e
:
GetLabelObject
():
SetLabelObject
(
tc
)
...
@@ -64,6 +63,7 @@ function c25924653.spgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,6 +63,7 @@ function c25924653.spgop(e,tp,eg,ep,ev,re,r,rp)
tc
:
CreateRelation
(
c
,
RESET_EVENT
+
0x5fe0000
)
tc
:
CreateRelation
(
c
,
RESET_EVENT
+
0x5fe0000
)
end
end
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c25924653
.
leave
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c25924653
.
leave
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c26956670.lua
View file @
bf07ae75
...
@@ -42,8 +42,8 @@ function c26956670.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function c26956670.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c26956670
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c26956670
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c27337596.lua
View file @
bf07ae75
...
@@ -49,6 +49,6 @@ function c27337596.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,6 +49,6 @@ function c27337596.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c27352108.lua
View file @
bf07ae75
...
@@ -46,8 +46,8 @@ function c27352108.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,8 +46,8 @@ function c27352108.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
aux
.
ChangeBattleDamage
(
0
,
HALF_DAMAGE
))
e2
:
SetValue
(
aux
.
ChangeBattleDamage
(
0
,
HALF_DAMAGE
))
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c27352108
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c27352108
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c27415516.lua
View file @
bf07ae75
...
@@ -41,6 +41,6 @@ function c27415516.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,6 +41,6 @@ function c27415516.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c27551.lua
View file @
bf07ae75
...
@@ -50,8 +50,8 @@ function c27551.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,8 +50,8 @@ function c27551.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c27551
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c27551
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c28637168.lua
View file @
bf07ae75
...
@@ -37,6 +37,6 @@ function c28637168.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,6 +37,6 @@ function c28637168.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c28890974.lua
View file @
bf07ae75
...
@@ -41,8 +41,8 @@ function c28890974.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,8 +41,8 @@ function c28890974.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c28890974
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28890974
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c2903036.lua
View file @
bf07ae75
...
@@ -40,6 +40,6 @@ function c2903036.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,6 +40,6 @@ function c2903036.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
g
:
GetFirst
():
RegisterEffect
(
e1
,
true
)
g
:
GetFirst
():
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c31443476.lua
View file @
bf07ae75
...
@@ -39,8 +39,8 @@ function c31443476.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,8 +39,8 @@ function c31443476.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c31443476
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31443476
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
...
...
c31516413.lua
View file @
bf07ae75
...
@@ -88,6 +88,6 @@ function c31516413.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,6 +88,6 @@ function c31516413.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c31550470.lua
View file @
bf07ae75
...
@@ -45,8 +45,8 @@ function c31550470.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,8 +45,8 @@ function c31550470.operation(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
c
:
CreateRelation
(
tc
,
RESET_EVENT
+
RESETS_STANDARD
)
c
:
CreateRelation
(
tc
,
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
CreateRelation
(
c
,
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
CreateRelation
(
c
,
RESET_EVENT
+
RESETS_STANDARD
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c31550470
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31550470
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c31643613.lua
View file @
bf07ae75
...
@@ -36,7 +36,6 @@ function c31643613.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,7 +36,6 @@ function c31643613.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g2
)
Duel
.
ConfirmCards
(
1
-
tp
,
g2
)
end
end
end
end
Duel
.
SpecialSummonComplete
()
if
not
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
return
end
if
not
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c3300267.lua
View file @
bf07ae75
...
@@ -91,6 +91,6 @@ function c3300267.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -91,6 +91,6 @@ function c3300267.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c33280639.lua
View file @
bf07ae75
...
@@ -62,8 +62,8 @@ function c33280639.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,8 +62,8 @@ function c33280639.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetLabelObject
(
tc
)
e1
:
SetLabelObject
(
tc
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c33280639
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33280639
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
...
...
c33541430.lua
View file @
bf07ae75
...
@@ -62,8 +62,8 @@ function c33541430.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,8 +62,8 @@ function c33541430.drop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
end
end
...
...
c34959756.lua
View file @
bf07ae75
...
@@ -67,8 +67,8 @@ function c34959756.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,8 +67,8 @@ function c34959756.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetValue
(
LOCATION_REMOVED
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c34959756
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c34959756
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c35073065.lua
View file @
bf07ae75
...
@@ -58,6 +58,6 @@ function c35073065.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,6 +58,6 @@ function c35073065.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c35307484.lua
View file @
bf07ae75
...
@@ -48,6 +48,6 @@ function c35307484.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,6 +48,6 @@ function c35307484.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c35539880.lua
View file @
bf07ae75
...
@@ -42,8 +42,8 @@ function c35539880.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function c35539880.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c35539880
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35539880
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c36318200.lua
View file @
bf07ae75
...
@@ -42,6 +42,6 @@ function c36318200.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,6 +42,6 @@ function c36318200.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c36415522.lua
View file @
bf07ae75
...
@@ -56,8 +56,8 @@ function c36415522.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,8 +56,8 @@ function c36415522.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c36415522
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c36415522
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c36614113.lua
View file @
bf07ae75
...
@@ -68,6 +68,6 @@ function c36614113.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,6 +68,6 @@ function c36614113.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c36730805.lua
View file @
bf07ae75
...
@@ -42,8 +42,8 @@ function c36730805.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function c36730805.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetLabelObject
(
e1
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetOperation
(
c36730805
.
cedop
)
e2
:
SetOperation
(
c36730805
.
cedop
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c36730805
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c36730805
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
eg
:
IsContains
(
e
:
GetLabelObject
())
then
if
eg
:
IsContains
(
e
:
GetLabelObject
())
then
...
...
c36737092.lua
View file @
bf07ae75
...
@@ -50,6 +50,6 @@ function c36737092.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,6 +50,6 @@ function c36737092.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c36768783.lua
View file @
bf07ae75
...
@@ -63,7 +63,7 @@ function c36768783.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c36768783.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
sc
:
RegisterEffect
(
e2
)
sc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
end
end
c36841733.lua
View file @
bf07ae75
...
@@ -96,8 +96,8 @@ function c36841733.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -96,8 +96,8 @@ function c36841733.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
c36841733
.
bttg
)
e1
:
SetValue
(
c36841733
.
bttg
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c36841733
.
bttg
(
e
,
c
)
function
c36841733
.
bttg
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
e
:
GetHandler
():
GetLevel
())
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
e
:
GetHandler
():
GetLevel
())
...
...
c3891471.lua
View file @
bf07ae75
...
@@ -58,9 +58,9 @@ function c3891471.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,9 +58,9 @@ function c3891471.operation(e,tp,eg,ep,ev,re,r,rp)
local
lv
=
tc
:
GetLevel
()
local
lv
=
tc
:
GetLevel
()
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
c
:
RegisterFlagEffect
(
3891471
,
RESET_EVENT
+
0x17a0000
,
0
,
1
,
lv
)
c
:
RegisterFlagEffect
(
3891471
,
RESET_EVENT
+
0x17a0000
,
0
,
1
,
lv
)
end
end
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c3891471
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c3891471
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c39033131.lua
View file @
bf07ae75
...
@@ -57,6 +57,6 @@ function c39033131.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,6 +57,6 @@ function c39033131.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c39122311.lua
View file @
bf07ae75
...
@@ -56,8 +56,8 @@ function c39122311.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,8 +56,8 @@ function c39122311.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c39122311
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c39122311
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsDisabled
()
then
if
e
:
GetHandler
():
IsDisabled
()
then
...
...
c39271553.lua
View file @
bf07ae75
...
@@ -59,8 +59,8 @@ function c39271553.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,8 +59,8 @@ function c39271553.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c39271553
.
thfilter
(
c
)
function
c39271553
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x107
)
and
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x107
)
and
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsAbleToHand
()
...
...
c4022819.lua
View file @
bf07ae75
...
@@ -95,6 +95,6 @@ function c4022819.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,6 +95,6 @@ function c4022819.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c41375811.lua
View file @
bf07ae75
...
@@ -80,6 +80,6 @@ function c41375811.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -80,6 +80,6 @@ function c41375811.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_CANNOT_BE_XYZ_MATERIAL
)
e3
:
SetCode
(
EFFECT_CANNOT_BE_XYZ_MATERIAL
)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
1
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c41546.lua
View file @
bf07ae75
...
@@ -75,8 +75,8 @@ function c41546.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,8 +75,8 @@ function c41546.desop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c41639001.lua
View file @
bf07ae75
...
@@ -43,6 +43,6 @@ function c41639001.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,6 +43,6 @@ function c41639001.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c42079445.lua
View file @
bf07ae75
...
@@ -52,6 +52,6 @@ function c42079445.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,6 +52,6 @@ function c42079445.spop(e,tp,eg,ep,ev,re,r,rp)
e5
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e5
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e5
,
true
)
tc
:
RegisterEffect
(
e5
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c4215636.lua
View file @
bf07ae75
...
@@ -49,6 +49,6 @@ function c4215636.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,6 +49,6 @@ function c4215636.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c42172465.lua
View file @
bf07ae75
...
@@ -36,8 +36,8 @@ function c42172465.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,8 +36,8 @@ function c42172465.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetLabelObject
(
tc
)
e1
:
SetLabelObject
(
tc
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c42172465
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c42172465
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
...
...
c44341034.lua
View file @
bf07ae75
...
@@ -36,6 +36,6 @@ function c44341034.sumop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,6 +36,6 @@ function c44341034.sumop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c45313993.lua
View file @
bf07ae75
...
@@ -32,6 +32,6 @@ function c45313993.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -32,6 +32,6 @@ function c45313993.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
math.ceil
(
atk
/
2
))
e1
:
SetValue
(
math.ceil
(
atk
/
2
))
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c45705025.lua
View file @
bf07ae75
...
@@ -38,6 +38,6 @@ function c45705025.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,6 +38,6 @@ function c45705025.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c46502744.lua
View file @
bf07ae75
...
@@ -49,8 +49,8 @@ function c46502744.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,8 +49,8 @@ function c46502744.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
c
:
RegisterFlagEffect
(
46502745
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
,
0
,
1
)
c
:
RegisterFlagEffect
(
46502745
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
,
0
,
1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c46502744
.
remcon
(
e
)
function
c46502744
.
remcon
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
46502745
)
~=
0
return
e
:
GetHandler
():
GetFlagEffect
(
46502745
)
~=
0
...
...
c46589034.lua
View file @
bf07ae75
...
@@ -51,8 +51,8 @@ function c46589034.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,8 +51,8 @@ function c46589034.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
tc
:
GetLevel
())
e1
:
SetValue
(
tc
:
GetLevel
())
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c46589034
.
xyzlimit
(
e
,
c
)
function
c46589034
.
xyzlimit
(
e
,
c
)
...
...
c47482043.lua
View file @
bf07ae75
...
@@ -44,6 +44,6 @@ function c47482043.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,6 +44,6 @@ function c47482043.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
200
)
e1
:
SetValue
(
200
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c48210156.lua
View file @
bf07ae75
...
@@ -49,6 +49,7 @@ function c48210156.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,6 +49,7 @@ function c48210156.spop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e4
)
tc
:
RegisterEffect
(
e4
)
end
end
Duel
.
SpecialSummonComplete
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
...
@@ -57,7 +58,6 @@ function c48210156.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +58,6 @@ function c48210156.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTarget
(
c48210156
.
splimit
)
e1
:
SetTarget
(
c48210156
.
splimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
function
c48210156
.
splimit
(
e
,
c
)
function
c48210156
.
splimit
(
e
,
c
)
return
c
:
GetRace
()
~=
RACE_FIEND
return
c
:
GetRace
()
~=
RACE_FIEND
...
...
c4914353.lua
View file @
bf07ae75
...
@@ -68,6 +68,6 @@ function c4914353.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,6 +68,6 @@ function c4914353.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
c
:
RegisterEffect
(
e2
,
true
)
c
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c50619462.lua
View file @
bf07ae75
...
@@ -70,8 +70,8 @@ function c50619462.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,8 +70,8 @@ function c50619462.spop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e4
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e4
,
true
)
tc
:
RegisterEffect
(
e4
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c50619462
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50619462
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
...
...
c50669347.lua
View file @
bf07ae75
...
@@ -86,7 +86,7 @@ function c50669347.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -86,7 +86,7 @@ function c50669347.desop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
end
end
c51543904.lua
View file @
bf07ae75
...
@@ -64,8 +64,8 @@ function c51543904.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,8 +64,8 @@ function c51543904.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c51543904
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c51543904
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c52145422.lua
View file @
bf07ae75
...
@@ -81,6 +81,6 @@ function c52145422.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,6 +81,6 @@ function c52145422.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c52615248.lua
View file @
bf07ae75
...
@@ -53,6 +53,6 @@ function c52615248.spop(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -53,6 +53,6 @@ function c52615248.spop(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c52628687.lua
View file @
bf07ae75
...
@@ -64,7 +64,6 @@ function c52628687.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +64,6 @@ function c52628687.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
SpecialSummonComplete
()
--Add Equip limit
--Add Equip limit
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -75,4 +74,5 @@ function c52628687.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,4 +74,5 @@ function c52628687.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
c52628687
.
eqlimit
)
e2
:
SetValue
(
c52628687
.
eqlimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
Duel
.
SpecialSummonComplete
()
end
end
c52904476.lua
View file @
bf07ae75
...
@@ -60,8 +60,8 @@ function c52904476.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,8 +60,8 @@ function c52904476.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c52904476
.
spr
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52904476
.
spr
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c53797637.lua
View file @
bf07ae75
...
@@ -41,6 +41,6 @@ function c53797637.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,6 +41,6 @@ function c53797637.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c54507222.lua
View file @
bf07ae75
...
@@ -37,6 +37,6 @@ function c54507222.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,6 +37,6 @@ function c54507222.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c5614808.lua
View file @
bf07ae75
...
@@ -81,6 +81,6 @@ function c5614808.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,6 +81,6 @@ function c5614808.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
TYPE_TUNER
)
e1
:
SetValue
(
TYPE_TUNER
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c56907986.lua
View file @
bf07ae75
...
@@ -85,8 +85,8 @@ function c56907986.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,8 +85,8 @@ function c56907986.spop2(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetLabelObject
(
tc
)
e3
:
SetLabelObject
(
tc
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
tc
:
RegisterFlagEffect
(
56907986
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
tc
:
RegisterFlagEffect
(
56907986
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c56907986
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c56907986
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
...
...
c57047293.lua
View file @
bf07ae75
...
@@ -33,6 +33,6 @@ function c57047293.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,6 +33,6 @@ function c57047293.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c57246528.lua
View file @
bf07ae75
...
@@ -37,6 +37,6 @@ function c57246528.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,6 +37,6 @@ function c57246528.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
sg
:
RegisterEffect
(
e1
)
sg
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c57477163.lua
View file @
bf07ae75
...
@@ -47,6 +47,6 @@ function c57477163.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,6 +47,6 @@ function c57477163.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
800
)
e1
:
SetValue
(
800
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c57782164.lua
View file @
bf07ae75
...
@@ -29,6 +29,6 @@ function c57782164.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,6 +29,6 @@ function c57782164.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
4
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c58843503.lua
View file @
bf07ae75
...
@@ -47,6 +47,6 @@ function c58843503.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,6 +47,6 @@ function c58843503.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c59724555.lua
View file @
bf07ae75
...
@@ -60,6 +60,6 @@ function c59724555.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,6 +60,6 @@ function c59724555.spop2(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c59975920.lua
View file @
bf07ae75
...
@@ -77,6 +77,6 @@ function c59975920.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,6 +77,6 @@ function c59975920.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c60202749.lua
View file @
bf07ae75
...
@@ -63,8 +63,8 @@ function c60202749.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,8 +63,8 @@ function c60202749.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c60202749
.
sdescon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60202749
.
sdescon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
...
...
c60292055.lua
View file @
bf07ae75
...
@@ -61,6 +61,6 @@ function c60292055.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,6 +61,6 @@ function c60292055.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
e3
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
1
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c60621361.lua
View file @
bf07ae75
...
@@ -72,8 +72,8 @@ function c60621361.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,8 +72,8 @@ function c60621361.activate(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c60621361
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60621361
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsDisabled
()
then
if
e
:
GetHandler
():
IsDisabled
()
then
...
...
c61011311.lua
View file @
bf07ae75
...
@@ -55,6 +55,6 @@ function c61011311.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,6 +55,6 @@ function c61011311.activate(e,tp,eg,ep,ev,re,r,rp)
e5
:
SetValue
(
1
)
e5
:
SetValue
(
1
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e5
,
true
)
tc
:
RegisterEffect
(
e5
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c61665245.lua
View file @
bf07ae75
...
@@ -119,7 +119,7 @@ function c61665245.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -119,7 +119,7 @@ function c61665245.spop2(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
sc
:
RegisterEffect
(
e2
)
sc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
end
end
c61962135.lua
View file @
bf07ae75
...
@@ -54,8 +54,8 @@ function c61962135.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,8 +54,8 @@ function c61962135.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c61962135
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61962135
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c6203182.lua
View file @
bf07ae75
...
@@ -72,8 +72,8 @@ function c6203182.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,8 +72,8 @@ function c6203182.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c6203182
.
eqlimit
(
e
,
c
)
function
c6203182
.
eqlimit
(
e
,
c
)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
...
...
c62957424.lua
View file @
bf07ae75
...
@@ -77,6 +77,6 @@ function c62957424.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,6 +77,6 @@ function c62957424.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c63364266.lua
View file @
bf07ae75
...
@@ -47,7 +47,7 @@ function c63364266.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c63364266.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
math.ceil
(
atk
/
2
))
e1
:
SetValue
(
math.ceil
(
atk
/
2
))
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
end
end
c63492244.lua
View file @
bf07ae75
...
@@ -60,8 +60,8 @@ function c63492244.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,8 +60,8 @@ function c63492244.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c63492244
.
cfilter
(
c
)
function
c63492244
.
cfilter
(
c
)
return
c
:
IsFacedown
()
and
c
:
GetSequence
()
<
5
return
c
:
IsFacedown
()
and
c
:
GetSequence
()
<
5
...
...
c63626024.lua
View file @
bf07ae75
...
@@ -49,8 +49,8 @@ function c63626024.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,8 +49,8 @@ function c63626024.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c63626024
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c63626024
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c63731062.lua
View file @
bf07ae75
...
@@ -80,6 +80,6 @@ function c63731062.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -80,6 +80,6 @@ function c63731062.spop2(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
TYPE_TUNER
)
e1
:
SetValue
(
TYPE_TUNER
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c64034255.lua
View file @
bf07ae75
...
@@ -45,6 +45,6 @@ function c64034255.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,6 +45,6 @@ function c64034255.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
,
true
)
c
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c64319467.lua
View file @
bf07ae75
...
@@ -55,6 +55,6 @@ function c64319467.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,6 +55,6 @@ function c64319467.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c6442944.lua
View file @
bf07ae75
...
@@ -59,8 +59,8 @@ function c6442944.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,8 +59,8 @@ function c6442944.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE_FINAL
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE_FINAL
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c6442944
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c6442944
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c64662453.lua
View file @
bf07ae75
...
@@ -52,8 +52,8 @@ function c64662453.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,8 +52,8 @@ function c64662453.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
tc
:
RegisterEffect
(
e3
,
true
)
tc
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c64662453
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64662453
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
...
...
c6556178.lua
View file @
bf07ae75
...
@@ -62,8 +62,8 @@ function c6556178.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,8 +62,8 @@ function c6556178.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c6556178
.
eqlimit
)
e1
:
SetValue
(
c6556178
.
eqlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c6556178
.
eqlimit
(
e
,
c
)
function
c6556178
.
eqlimit
(
e
,
c
)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
...
...
c66015185.lua
View file @
bf07ae75
...
@@ -58,6 +58,6 @@ function c66015185.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,6 +58,6 @@ function c66015185.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e3
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e3
,
true
)
tc
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c66938505.lua
View file @
bf07ae75
...
@@ -40,16 +40,17 @@ end
...
@@ -40,16 +40,17 @@ end
function
c66938505
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c66938505
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
or
not
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
return
end
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
if
Duel
.
SpecialSummonComplete
()
==
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
g
=
Duel
.
GetMatchingGroup
(
c66938505
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
c66938505
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
...
...
c66947913.lua
View file @
bf07ae75
...
@@ -71,8 +71,8 @@ function c66947913.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,8 +71,8 @@ function c66947913.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c66947913
.
eqlimit
)
e1
:
SetValue
(
c66947913
.
eqlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c66947913
.
eqlimit
(
e
,
c
)
function
c66947913
.
eqlimit
(
e
,
c
)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
...
...
c68191756.lua
View file @
bf07ae75
...
@@ -48,8 +48,8 @@ function c68191756.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,8 +48,8 @@ function c68191756.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCondition
(
c68191756
.
thcon
)
e3
:
SetCondition
(
c68191756
.
thcon
)
e3
:
SetOperation
(
c68191756
.
thop
)
e3
:
SetOperation
(
c68191756
.
thop
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c68191756
.
splimit
(
e
,
c
)
function
c68191756
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x10c
)
return
not
c
:
IsSetCard
(
0x10c
)
...
...
c68987122.lua
View file @
bf07ae75
...
@@ -71,8 +71,8 @@ function c68987122.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,8 +71,8 @@ function c68987122.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c68987122
.
posfilter
(
c
)
function
c68987122
.
posfilter
(
c
)
return
not
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
c
:
IsCanChangePosition
()
return
not
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
c
:
IsCanChangePosition
()
...
...
c69121954.lua
View file @
bf07ae75
...
@@ -76,8 +76,8 @@ function c69121954.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,8 +76,8 @@ function c69121954.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
c70083592.lua
View file @
bf07ae75
...
@@ -36,6 +36,6 @@ function c70083592.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,6 +36,6 @@ function c70083592.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c70709488.lua
View file @
bf07ae75
...
@@ -64,6 +64,6 @@ function c70709488.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,6 +64,6 @@ function c70709488.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c70861343.lua
View file @
bf07ae75
...
@@ -42,8 +42,8 @@ function c70861343.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function c70861343.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c70861343
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c70861343
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c71786742.lua
View file @
bf07ae75
...
@@ -41,6 +41,6 @@ function c71786742.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,6 +41,6 @@ function c71786742.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c7268133.lua
View file @
bf07ae75
...
@@ -39,8 +39,8 @@ function c7268133.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,8 +39,8 @@ function c7268133.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
ev
)
e1
:
SetValue
(
ev
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c7268133
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c7268133
.
atkcost
(
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
...
...
c73534250.lua
View file @
bf07ae75
...
@@ -43,8 +43,8 @@ function c73534250.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,8 +43,8 @@ function c73534250.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
...
...
c73648243.lua
View file @
bf07ae75
...
@@ -29,6 +29,6 @@ function c73648243.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,6 +29,6 @@ function c73648243.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_SWAP_BASE_AD
)
e1
:
SetCode
(
EFFECT_SWAP_BASE_AD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c73941492.lua
View file @
bf07ae75
...
@@ -108,6 +108,6 @@ function c73941492.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -108,6 +108,6 @@ function c73941492.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e3
:
SetValue
(
LOCATION_REMOVED
)
e3
:
SetValue
(
LOCATION_REMOVED
)
tc
:
RegisterEffect
(
e3
,
true
)
tc
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c73979030.lua
View file @
bf07ae75
...
@@ -42,8 +42,8 @@ function c73979030.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function c73979030.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c74069667.lua
View file @
bf07ae75
...
@@ -62,8 +62,8 @@ function c74069667.spop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,8 +62,8 @@ function c74069667.spop1(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CHANGE_BATTLE_DAMAGE
)
e1
:
SetCode
(
EFFECT_CHANGE_BATTLE_DAMAGE
)
...
...
c7445307.lua
View file @
bf07ae75
...
@@ -67,8 +67,8 @@ function c7445307.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,8 +67,8 @@ function c7445307.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
math.ceil
(
atk
/
2
))
e1
:
SetValue
(
math.ceil
(
atk
/
2
))
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c7445307
.
rmfilter
(
c
,
atk
)
function
c7445307
.
rmfilter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
atk
)
and
c
:
IsAbleToRemove
()
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
atk
)
and
c
:
IsAbleToRemove
()
...
...
c74644400.lua
View file @
bf07ae75
...
@@ -78,6 +78,6 @@ function c74644400.spop(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -78,6 +78,6 @@ function c74644400.spop(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
lv
)
e1
:
SetValue
(
lv
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c76136345.lua
View file @
bf07ae75
...
@@ -62,8 +62,8 @@ function c76136345.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,8 +62,8 @@ function c76136345.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
10
)
e1
:
SetValue
(
10
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c76232522.lua
View file @
bf07ae75
...
@@ -54,8 +54,8 @@ function c76232522.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,8 +54,8 @@ function c76232522.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetLabelObject
(
tc
)
e3
:
SetLabelObject
(
tc
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
tc
:
RegisterFlagEffect
(
76232522
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
tc
:
RegisterFlagEffect
(
76232522
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c76232522
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c76232522
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
...
...
c76830505.lua
View file @
bf07ae75
...
@@ -70,8 +70,8 @@ function c76830505.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,8 +70,8 @@ function c76830505.spop2(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c77901552.lua
View file @
bf07ae75
...
@@ -56,6 +56,6 @@ function c77901552.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,6 +56,6 @@ function c77901552.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c78033100.lua
View file @
bf07ae75
...
@@ -58,6 +58,6 @@ function c78033100.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,6 +58,6 @@ function c78033100.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c78229193.lua
View file @
bf07ae75
...
@@ -73,6 +73,6 @@ function c78229193.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,6 +73,6 @@ function c78229193.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
TYPE_TUNER
)
e1
:
SetValue
(
TYPE_TUNER
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c79523365.lua
View file @
bf07ae75
...
@@ -57,8 +57,8 @@ function c79523365.spop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,8 +57,8 @@ function c79523365.spop1(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c79523365
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c79523365
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
79523365
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
79523365
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
...
...
c80551130.lua
View file @
bf07ae75
...
@@ -42,8 +42,8 @@ function c80551130.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function c80551130.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c80551130
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c80551130
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c8057630.lua
View file @
bf07ae75
...
@@ -43,8 +43,8 @@ function c8057630.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,8 +43,8 @@ function c8057630.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c8057630
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c8057630
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c80758812.lua
View file @
bf07ae75
...
@@ -48,8 +48,8 @@ function c80758812.spop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,8 +48,8 @@ function c80758812.spop1(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
tc
:
EnableDualState
()
tc
:
EnableDualState
()
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c80758812
.
relfilter
(
c
,
tp
)
function
c80758812
.
relfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_DUAL
)
and
c
:
IsReleasableByEffect
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
c
:
IsType
(
TYPE_DUAL
)
and
c
:
IsReleasableByEffect
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
...
...
c81384993.lua
View file @
bf07ae75
...
@@ -48,8 +48,8 @@ function c81384993.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,8 +48,8 @@ function c81384993.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCondition
(
c81384993
.
rmcon1
)
e3
:
SetCondition
(
c81384993
.
rmcon1
)
e3
:
SetOperation
(
c81384993
.
rmop1
)
e3
:
SetOperation
(
c81384993
.
rmop1
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c81384993
.
rmcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81384993
.
rmcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
...
...
c82224646.lua
View file @
bf07ae75
...
@@ -119,19 +119,19 @@ function c82224646.sctg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -119,19 +119,19 @@ function c82224646.sctg(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
c82224646
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82224646
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
or
not
Duel
.
SpecialSummonStep
(
tc
,
182
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
return
end
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
182
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
if
Duel
.
SpecialSummonComplete
()
==
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
mg
=
Group
.
FromCards
(
c
,
tc
)
local
g
=
Duel
.
GetMatchingGroup
(
c82224646
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
tp
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
c82224646
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
tp
,
mg
)
...
...
c82946847.lua
View file @
bf07ae75
...
@@ -33,6 +33,6 @@ function c82946847.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,6 +33,6 @@ function c82946847.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c83407038.lua
View file @
bf07ae75
...
@@ -65,8 +65,8 @@ function c83407038.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,8 +65,8 @@ function c83407038.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
500
)
e1
:
SetValue
(
500
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c83407038
.
check
(
c
,
tp
)
function
c83407038
.
check
(
c
,
tp
)
return
c
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x4
)
return
c
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x4
)
...
...
c83866861.lua
View file @
bf07ae75
...
@@ -65,8 +65,8 @@ function c83866861.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,8 +65,8 @@ function c83866861.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
math.ceil
(
atk
/
2
))
e1
:
SetValue
(
math.ceil
(
atk
/
2
))
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c83866861
.
atkfilter
(
c
,
p
)
function
c83866861
.
atkfilter
(
c
,
p
)
return
c
:
GetOwner
()
==
p
return
c
:
GetOwner
()
==
p
...
...
c84274024.lua
View file @
bf07ae75
...
@@ -81,8 +81,8 @@ function c84274024.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,8 +81,8 @@ function c84274024.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
RegisterFlagEffect
(
tp
,
84274024
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
84274024
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
...
...
c86331741.lua
View file @
bf07ae75
...
@@ -58,8 +58,8 @@ function c86331741.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,8 +58,8 @@ function c86331741.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c86331741
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c86331741
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c86555018.lua
View file @
bf07ae75
...
@@ -37,6 +37,6 @@ function c86555018.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,6 +37,6 @@ function c86555018.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c87988305.lua
View file @
bf07ae75
...
@@ -60,8 +60,8 @@ function c87988305.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,8 +60,8 @@ function c87988305.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c87988305
.
cfilter
(
c
,
tp
)
function
c87988305
.
cfilter
(
c
,
tp
)
return
c
:
IsLevel
(
8
)
and
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsControler
(
tp
)
return
c
:
IsLevel
(
8
)
and
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsControler
(
tp
)
...
...
c89185742.lua
View file @
bf07ae75
...
@@ -41,6 +41,6 @@ function c89185742.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,6 +41,6 @@ function c89185742.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c89252157.lua
View file @
bf07ae75
...
@@ -34,8 +34,8 @@ function c89252157.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,8 +34,8 @@ function c89252157.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOwnerPlayer
(
tp
)
e1
:
SetOwnerPlayer
(
tp
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c89252157
.
efilter
(
e
,
re
)
function
c89252157
.
efilter
(
e
,
re
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
and
re
:
IsActiveType
(
TYPE_TRAP
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
and
re
:
IsActiveType
(
TYPE_TRAP
)
...
...
c8967776.lua
View file @
bf07ae75
...
@@ -64,6 +64,6 @@ function c8967776.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,6 +64,6 @@ function c8967776.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetValue
(
4000
)
e3
:
SetValue
(
4000
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c90200789.lua
View file @
bf07ae75
...
@@ -67,8 +67,8 @@ function c90200789.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,8 +67,8 @@ function c90200789.operation(e,tp,eg,ep,ev,re,r,rp)
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c90200789
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c90200789
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c90726340.lua
View file @
bf07ae75
...
@@ -61,6 +61,6 @@ function c90726340.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,6 +61,6 @@ function c90726340.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e3
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e3
,
true
)
tc
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c91020571.lua
View file @
bf07ae75
...
@@ -41,6 +41,6 @@ function c91020571.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,6 +41,6 @@ function c91020571.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c91449532.lua
View file @
bf07ae75
...
@@ -45,8 +45,8 @@ function c91449532.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,8 +45,8 @@ function c91449532.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c91449532
.
filter
(
c
)
function
c91449532
.
filter
(
c
)
return
c
:
IsAttackPos
()
and
c
:
IsCanChangePosition
()
return
c
:
IsAttackPos
()
and
c
:
IsCanChangePosition
()
...
...
c92924317.lua
View file @
bf07ae75
...
@@ -42,8 +42,8 @@ function c92924317.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function c92924317.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c92924317
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c92924317
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c93169863.lua
View file @
bf07ae75
...
@@ -78,6 +78,6 @@ function c93169863.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,6 +78,6 @@ function c93169863.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c93382620.lua
View file @
bf07ae75
...
@@ -41,6 +41,6 @@ function c93382620.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,6 +41,6 @@ function c93382620.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
800
)
e1
:
SetValue
(
800
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c95504778.lua
View file @
bf07ae75
...
@@ -49,8 +49,8 @@ function c95504778.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,8 +49,8 @@ function c95504778.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c95504778
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c95504778
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
and
re
:
IsActiveType
(
TYPE_LINK
)
and
re
:
IsActivated
()
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
and
re
:
IsActiveType
(
TYPE_LINK
)
and
re
:
IsActivated
()
...
...
c95833645.lua
View file @
bf07ae75
...
@@ -55,6 +55,6 @@ function c95833645.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,6 +55,6 @@ function c95833645.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c96029574.lua
View file @
bf07ae75
...
@@ -70,6 +70,6 @@ function c96029574.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,6 +70,6 @@ function c96029574.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
tc
:
EnableDualState
()
tc
:
EnableDualState
()
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c97077563.lua
View file @
bf07ae75
...
@@ -50,8 +50,8 @@ function c97077563.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,8 +50,8 @@ function c97077563.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c97077563
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c97077563
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsDisabled
()
then
if
e
:
GetHandler
():
IsDisabled
()
then
...
...
c97219708.lua
View file @
bf07ae75
...
@@ -87,8 +87,8 @@ function c97219708.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,8 +87,8 @@ function c97219708.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCondition
(
c97219708
.
tdcon
)
e3
:
SetCondition
(
c97219708
.
tdcon
)
e3
:
SetOperation
(
c97219708
.
tdop
)
e3
:
SetOperation
(
c97219708
.
tdop
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_AVOID_BATTLE_DAMAGE
)
e4
:
SetCode
(
EFFECT_AVOID_BATTLE_DAMAGE
)
...
...
c98263709.lua
View file @
bf07ae75
...
@@ -70,7 +70,7 @@ function c98263709.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,7 +70,7 @@ function c98263709.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
Duel
.
SpecialSummonComplete
()
end
end
c98273947.lua
View file @
bf07ae75
...
@@ -42,8 +42,8 @@ function c98273947.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function c98273947.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c98273947
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98273947
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c98637386.lua
View file @
bf07ae75
...
@@ -33,7 +33,7 @@ function c98637386.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,7 +33,7 @@ function c98637386.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
HALF_DAMAGE
)
e1
:
SetValue
(
HALF_DAMAGE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
end
end
c98642179.lua
View file @
bf07ae75
...
@@ -53,6 +53,6 @@ function c98642179.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,6 +53,6 @@ function c98642179.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c98935722.lua
View file @
bf07ae75
...
@@ -56,8 +56,8 @@ function c98935722.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,8 +56,8 @@ function c98935722.activate(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c98935722
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98935722
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsDisabled
()
then
if
e
:
GetHandler
():
IsDisabled
()
then
...
...
c9929398.lua
View file @
bf07ae75
...
@@ -101,6 +101,6 @@ function c9929398.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -101,6 +101,6 @@ function c9929398.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
TYPE_TUNER
)
e1
:
SetValue
(
TYPE_TUNER
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
c99423156.lua
View file @
bf07ae75
...
@@ -42,8 +42,8 @@ function c99423156.sumop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function c99423156.sumop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
function
c99423156
.
filter
(
c
)
function
c99423156
.
filter
(
c
)
return
c
:
IsFaceup
()
return
c
:
IsFaceup
()
...
...
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