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
37d6ae07
Commit
37d6ae07
authored
Aug 05, 2020
by
mercury233
Committed by
GitHub
Aug 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update summon type values (#1430)
parent
c243e709
Changes
174
Show whitespace changes
Inline
Side-by-side
Showing
174 changed files
with
371 additions
and
371 deletions
+371
-371
c10449150.lua
c10449150.lua
+2
-2
c1102515.lua
c1102515.lua
+1
-1
c12817939.lua
c12817939.lua
+2
-3
c13046291.lua
c13046291.lua
+2
-2
c13224603.lua
c13224603.lua
+2
-2
c13955608.lua
c13955608.lua
+2
-2
c14154221.lua
c14154221.lua
+1
-1
c14756848.lua
c14756848.lua
+2
-2
c15475415.lua
c15475415.lua
+3
-3
c15661378.lua
c15661378.lua
+2
-2
c15941690.lua
c15941690.lua
+2
-2
c16003979.lua
c16003979.lua
+2
-2
c17132130.lua
c17132130.lua
+2
-2
c19877898.lua
c19877898.lua
+1
-1
c20056760.lua
c20056760.lua
+3
-3
c2067935.lua
c2067935.lua
+2
-2
c20855340.lua
c20855340.lua
+2
-2
c20951752.lua
c20951752.lua
+2
-2
c20960340.lua
c20960340.lua
+2
-2
c21187631.lua
c21187631.lua
+1
-1
c21390858.lua
c21390858.lua
+2
-2
c21954587.lua
c21954587.lua
+2
-2
c22446869.lua
c22446869.lua
+2
-2
c23015896.lua
c23015896.lua
+2
-2
c23116808.lua
c23116808.lua
+2
-2
c23234094.lua
c23234094.lua
+2
-2
c23626223.lua
c23626223.lua
+3
-3
c23756165.lua
c23756165.lua
+3
-3
c24212820.lua
c24212820.lua
+2
-2
c24658418.lua
c24658418.lua
+2
-2
c25920413.lua
c25920413.lua
+2
-2
c25924653.lua
c25924653.lua
+4
-4
c2619149.lua
c2619149.lua
+2
-2
c26905245.lua
c26905245.lua
+2
-2
c27062594.lua
c27062594.lua
+2
-2
c27769400.lua
c27769400.lua
+2
-2
c27895597.lua
c27895597.lua
+2
-2
c28877602.lua
c28877602.lua
+2
-2
c29357956.lua
c29357956.lua
+3
-3
c30170981.lua
c30170981.lua
+1
-1
c30604579.lua
c30604579.lua
+3
-3
c30864377.lua
c30864377.lua
+4
-4
c31247589.lua
c31247589.lua
+2
-2
c3129635.lua
c3129635.lua
+2
-2
c31764353.lua
c31764353.lua
+2
-2
c31887905.lua
c31887905.lua
+2
-2
c31893528.lua
c31893528.lua
+1
-1
c3283679.lua
c3283679.lua
+2
-2
c33652635.lua
c33652635.lua
+2
-2
c33837653.lua
c33837653.lua
+0
-1
c34026662.lua
c34026662.lua
+1
-1
c34088136.lua
c34088136.lua
+2
-3
c34294855.lua
c34294855.lua
+2
-2
c34471458.lua
c34471458.lua
+2
-2
c34830502.lua
c34830502.lua
+2
-3
c35100834.lua
c35100834.lua
+2
-2
c35950025.lua
c35950025.lua
+2
-2
c35984222.lua
c35984222.lua
+1
-1
c36354007.lua
c36354007.lua
+2
-2
c36523152.lua
c36523152.lua
+2
-2
c37781520.lua
c37781520.lua
+2
-2
c3779662.lua
c3779662.lua
+7
-7
c38107923.lua
c38107923.lua
+1
-1
c38250531.lua
c38250531.lua
+1
-1
c38383368.lua
c38383368.lua
+2
-2
c3912064.lua
c3912064.lua
+2
-2
c40542825.lua
c40542825.lua
+2
-2
c40591390.lua
c40591390.lua
+1
-1
c40732515.lua
c40732515.lua
+2
-2
c40771118.lua
c40771118.lua
+3
-3
c41141943.lua
c41141943.lua
+2
-2
c41470137.lua
c41470137.lua
+2
-2
c41902352.lua
c41902352.lua
+1
-1
c42237854.lua
c42237854.lua
+2
-2
c4253484.lua
c4253484.lua
+2
-2
c42592719.lua
c42592719.lua
+3
-3
c43138260.lua
c43138260.lua
+2
-2
c4376658.lua
c4376658.lua
+2
-2
c43959432.lua
c43959432.lua
+3
-3
c44330098.lua
c44330098.lua
+9
-9
c45358284.lua
c45358284.lua
+2
-2
c45894482.lua
c45894482.lua
+2
-2
c47826112.lua
c47826112.lua
+2
-2
c48156348.lua
c48156348.lua
+3
-3
c4904633.lua
c4904633.lua
+2
-2
c49441499.lua
c49441499.lua
+1
-2
c49514333.lua
c49514333.lua
+2
-2
c50074392.lua
c50074392.lua
+2
-2
c5008836.lua
c5008836.lua
+2
-2
c50140163.lua
c50140163.lua
+1
-1
c51555725.lua
c51555725.lua
+2
-2
c52502677.lua
c52502677.lua
+2
-2
c5338223.lua
c5338223.lua
+2
-2
c54266211.lua
c54266211.lua
+2
-2
c54297661.lua
c54297661.lua
+2
-2
c55204071.lua
c55204071.lua
+2
-2
c55277252.lua
c55277252.lua
+3
-3
c55488859.lua
c55488859.lua
+2
-2
c55586621.lua
c55586621.lua
+2
-2
c55838342.lua
c55838342.lua
+2
-2
c55878038.lua
c55878038.lua
+2
-2
c56240989.lua
c56240989.lua
+3
-3
c56655675.lua
c56655675.lua
+2
-2
c57731460.lua
c57731460.lua
+2
-2
c58206034.lua
c58206034.lua
+1
-1
c59509952.lua
c59509952.lua
+2
-2
c5975022.lua
c5975022.lua
+2
-2
c60461077.lua
c60461077.lua
+0
-1
c612115.lua
c612115.lua
+2
-2
c61441708.lua
c61441708.lua
+2
-2
c62000467.lua
c62000467.lua
+3
-3
c62645025.lua
c62645025.lua
+2
-2
c64373401.lua
c64373401.lua
+2
-2
c6442944.lua
c6442944.lua
+2
-2
c64550682.lua
c64550682.lua
+2
-2
c65268179.lua
c65268179.lua
+2
-2
c65282484.lua
c65282484.lua
+2
-2
c66863374.lua
c66863374.lua
+2
-2
c67098114.lua
c67098114.lua
+3
-3
c67287533.lua
c67287533.lua
+1
-1
c67385964.lua
c67385964.lua
+4
-4
c68371799.lua
c68371799.lua
+2
-2
c68881649.lua
c68881649.lua
+2
-2
c7025445.lua
c7025445.lua
+2
-2
c70406920.lua
c70406920.lua
+2
-2
c70493141.lua
c70493141.lua
+2
-2
c71015787.lua
c71015787.lua
+3
-3
c71200730.lua
c71200730.lua
+1
-1
c71645242.lua
c71645242.lua
+5
-5
c71797713.lua
c71797713.lua
+2
-2
c71870152.lua
c71870152.lua
+1
-1
c7409792.lua
c7409792.lua
+2
-2
c7443908.lua
c7443908.lua
+0
-1
c74713516.lua
c74713516.lua
+2
-2
c75041269.lua
c75041269.lua
+1
-1
c75180828.lua
c75180828.lua
+2
-2
c75285069.lua
c75285069.lua
+2
-2
c7573135.lua
c7573135.lua
+4
-4
c77642288.lua
c77642288.lua
+2
-2
c78651105.lua
c78651105.lua
+2
-2
c78868776.lua
c78868776.lua
+2
-2
c79580323.lua
c79580323.lua
+3
-3
c79852326.lua
c79852326.lua
+2
-2
c81873903.lua
c81873903.lua
+2
-2
c82224646.lua
c82224646.lua
+2
-2
c82670878.lua
c82670878.lua
+2
-2
c84218527.lua
c84218527.lua
+3
-3
c8487449.lua
c8487449.lua
+2
-2
c8522996.lua
c8522996.lua
+2
-2
c85313220.lua
c85313220.lua
+1
-2
c8632967.lua
c8632967.lua
+1
-1
c86885905.lua
c86885905.lua
+2
-2
c87257460.lua
c87257460.lua
+2
-2
c88095331.lua
c88095331.lua
+2
-2
c88996322.lua
c88996322.lua
+4
-4
c89974904.lua
c89974904.lua
+2
-2
c90440725.lua
c90440725.lua
+3
-3
c90957527.lua
c90957527.lua
+3
-3
c92092092.lua
c92092092.lua
+2
-2
c92142169.lua
c92142169.lua
+2
-2
c92373006.lua
c92373006.lua
+2
-2
c92652813.lua
c92652813.lua
+2
-2
c93483212.lua
c93483212.lua
+3
-3
c9418365.lua
c9418365.lua
+2
-2
c94203886.lua
c94203886.lua
+2
-2
c94212438.lua
c94212438.lua
+2
-2
c94772232.lua
c94772232.lua
+1
-1
c95291684.lua
c95291684.lua
+2
-2
c96914272.lua
c96914272.lua
+2
-2
c97232518.lua
c97232518.lua
+2
-2
c97403510.lua
c97403510.lua
+2
-2
c99458769.lua
c99458769.lua
+2
-2
constant.lua
constant.lua
+8
-0
utility.lua
utility.lua
+2
-2
No files found.
c10449150.lua
View file @
37d6ae07
...
...
@@ -54,10 +54,10 @@ end
function
c10449150
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c10449150
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c10449150
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c1102515.lua
View file @
37d6ae07
...
...
@@ -15,7 +15,7 @@ end
c1102515
.
lvup
=
{
74713516
}
c1102515
.
lvdn
=
{
74713516
}
function
c1102515
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
then
e
:
SetLabel
(
2
)
if
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_LV
then
e
:
SetLabel
(
2
)
else
e
:
SetLabel
(
1
)
end
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
...
...
c12817939.lua
View file @
37d6ae07
...
...
@@ -27,7 +27,7 @@ function c12817939.disop(e,tp,eg,ep,ev,re,r,rp)
local
d
=
Duel
.
GetAttackTarget
()
if
d
==
c
then
d
=
Duel
.
GetAttacker
()
end
if
d
and
d
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
d
:
IsType
(
TYPE_EFFECT
)
and
c
:
Get
FlagEffect
(
85313220
)
~=
0
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
and
c
:
Get
SummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_LV
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
...
...
@@ -57,8 +57,7 @@ function c12817939.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12817939
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
12817939
,
RESET_EVENT
+
0x16e0000
,
0
,
0
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_LV
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
end
end
c13046291.lua
View file @
37d6ae07
...
...
@@ -34,7 +34,7 @@ function c13046291.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
function
c13046291
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
6
)
and
c
:
IsRace
(
RACE_DINOSAUR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
157
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
6
)
and
c
:
IsRace
(
RACE_DINOSAUR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_EVOLTILE
,
tp
,
false
,
false
)
end
function
c13046291
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -46,7 +46,7 @@ function c13046291.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c13046291
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
157
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
SUMMON_VALUE_EVOLTILE
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c13046291
.
matfilter
(
c
)
...
...
c13224603.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c13224603.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c13224603
.
hspcon
)
e1
:
SetOperation
(
c13224603
.
hspop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--summon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -92,7 +92,7 @@ function c13224603.splimit(e,c)
end
function
c13224603
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c13224603
.
rectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c13955608.lua
View file @
37d6ae07
...
...
@@ -29,7 +29,7 @@ function c13955608.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
13955608
,
0
,
0x21
,
0
,
2000
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_TRAP
+
TYPE_EFFECT
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
end
function
c13955608
.
cfilter
(
c
,
code
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
code
)
...
...
@@ -39,5 +39,5 @@ function c13955608.atkcon(e)
return
Duel
.
IsExistingMatchingCard
(
c13955608
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
41172955
)
and
Duel
.
IsExistingMatchingCard
(
c13955608
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
86445415
)
and
Duel
.
IsExistingMatchingCard
(
c13955608
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
13839120
)
and
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
c14154221.lua
View file @
37d6ae07
...
...
@@ -21,7 +21,7 @@ function c14154221.initial_effect(c)
end
function
c14154221
.
cfilter
(
c
)
local
st
=
c
:
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
return
st
&
SUMMON_VALUE_EVOLTILE
>
0
end
function
c14154221
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c14154221
.
cfilter
,
1
,
nil
)
...
...
c14756848.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c14756848.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c14756848
.
hspcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--spsummon limit
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -38,7 +38,7 @@ function c14756848.hspcon(e,c)
and
not
Duel
.
IsExistingMatchingCard
(
c14756848
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c14756848
.
hspcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c14756848
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c15475415.lua
View file @
37d6ae07
...
...
@@ -26,16 +26,16 @@ function c15475415.spcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c15475415
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
1
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c15475415
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c15475415
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c15475415
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCanAddCounter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
0x100e
,
1
)
...
...
c15661378.lua
View file @
37d6ae07
...
...
@@ -3,7 +3,7 @@ function c15661378.initial_effect(c)
--fusion summon
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
c15661378
.
ffilter
,
3
,
false
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToRemoveAsCost
,
LOCATION_MZONE
,
0
,
Duel
.
Remove
,
POS_FACEUP
,
REASON_COST
+
REASON_MATERIAL
):
SetValue
(
1
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToRemoveAsCost
,
LOCATION_MZONE
,
0
,
Duel
.
Remove
,
POS_FACEUP
,
REASON_COST
+
REASON_MATERIAL
):
SetValue
(
SUMMON_VALUE_SELF
)
--material limit
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -61,7 +61,7 @@ function c15661378.valcheck(e,c)
end
function
c15661378
.
remcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
(
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
or
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
))
and
e
:
GetLabel
()
==
1
return
(
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
or
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
))
and
e
:
GetLabel
()
==
1
end
function
c15661378
.
remtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
...
...
c15941690.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,7 @@ function c15941690.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c15941690
.
hspcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -27,7 +27,7 @@ function c15941690.hspcon(e,c)
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
c15941690
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c15941690
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x70
)
and
not
c
:
IsCode
(
15941690
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c16003979.lua
View file @
37d6ae07
...
...
@@ -51,7 +51,7 @@ function c16003979.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c16003979
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
16003979
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
131
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
16003979
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c16003979
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
@@ -64,7 +64,7 @@ function c16003979.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c16003979
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
131
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c17132130.lua
View file @
37d6ae07
...
...
@@ -14,7 +14,7 @@ function c17132130.initial_effect(c)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetValue
(
1
)
e2
:
SetValue
(
SUMMON_VALUE_SELF
)
e2
:
SetCondition
(
c17132130
.
spcon
)
e2
:
SetOperation
(
c17132130
.
spop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -78,7 +78,7 @@ function c17132130.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c17132130
.
lp
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c17132130
.
lpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c19877898.lua
View file @
37d6ae07
...
...
@@ -16,5 +16,5 @@ end
c19877898
.
lvup
=
{
34830502
}
c19877898
.
lvdn
=
{
49441499
,
34088136
,
34830502
}
function
c19877898
.
con
(
e
)
return
e
:
GetHandler
():
Get
FlagEffect
(
19877898
)
~=
0
return
e
:
GetHandler
():
Get
SummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_LV
end
c20056760.lua
View file @
37d6ae07
...
...
@@ -29,7 +29,7 @@ function c20056760.sptg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
chk
==
0
then
if
ft
<-
1
then
return
false
end
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
1
,
tp
,
false
,
false
)
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingTarget
(
c20056760
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
2
,
nil
)
and
(
ft
>
0
or
Duel
.
IsExistingTarget
(
c20056760
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
-
ft
+
1
,
nil
))
end
...
...
@@ -54,11 +54,11 @@ function c20056760.spop1(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c20056760
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c20056760
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xd1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
...
...
c2067935.lua
View file @
37d6ae07
...
...
@@ -77,7 +77,7 @@ function c2067935.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c2067935
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
2067935
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
112
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
2067935
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c2067935
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -90,7 +90,7 @@ function c2067935.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c2067935
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
112
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c20855340.lua
View file @
37d6ae07
...
...
@@ -17,7 +17,7 @@ function c20855340.condition(e,tp,eg,ep,ev,re,r,rp)
and
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
end
function
c20855340
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
153
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_EVOLTILE
,
tp
,
false
,
false
)
end
function
c20855340
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -30,7 +30,7 @@ function c20855340.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20855340
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
153
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_EVOLTILE
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
rf
=
tc
.
evolreg
if
rf
then
rf
(
tc
)
end
end
...
...
c20951752.lua
View file @
37d6ae07
...
...
@@ -65,11 +65,11 @@ end
function
c20951752
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c20951752
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c20951752
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
e
:
GetLabel
()
>
0
end
...
...
c20960340.lua
View file @
37d6ae07
...
...
@@ -37,7 +37,7 @@ function c20960340.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
20960340
,
0
,
0x21
,
atk
,
0
,
4
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_TRAP
+
TYPE_EFFECT
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
Duel
.
SpecialSummonStep
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
...
...
@@ -53,7 +53,7 @@ function c20960340.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
c20960340
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c20960340
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c21187631.lua
View file @
37d6ae07
...
...
@@ -53,6 +53,6 @@ function c21187631.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c21187631
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
c21390858.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c21390858.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c21390858
.
spcon
)
e1
:
SetOperation
(
c21390858
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -52,7 +52,7 @@ function c21390858.tfilter(c)
return
c
:
IsLevel
(
3
,
4
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsAbleToHand
()
end
function
c21390858
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c21390858
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21390858
.
tfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c21954587.lua
View file @
37d6ae07
...
...
@@ -46,10 +46,10 @@ end
function
c21954587
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c21954587
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c21954587
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x75
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
...
...
c22446869.lua
View file @
37d6ae07
...
...
@@ -37,10 +37,10 @@ end
function
c22446869
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c22446869
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c22446869
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x74
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsAbleToHand
()
...
...
c23015896.lua
View file @
37d6ae07
...
...
@@ -62,11 +62,11 @@ end
function
c23015896
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c23015896
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c23015896
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c23116808.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,7 @@ function c23116808.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c23116808
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -51,7 +51,7 @@ function c23116808.spcon(e,c)
and
Duel
.
IsExistingMatchingCard
(
c23116808
.
spfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c23116808
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c23116808
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
...
...
c23234094.lua
View file @
37d6ae07
...
...
@@ -14,7 +14,7 @@ function c23234094.initial_effect(c)
end
function
c23234094
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
6
)
and
c
:
IsRace
(
RACE_DINOSAUR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
181
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c23234094
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -26,6 +26,6 @@ function c23234094.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c23234094
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
181
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
c23626223.lua
View file @
37d6ae07
...
...
@@ -41,7 +41,7 @@ function c23626223.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
23626223
,
0
,
0x21
,
0
,
2500
,
7
,
RACE_ROCK
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c23626223
.
tgfilter
(
c
)
return
c
:
IsFaceup
()
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_TRAP
)
~=
0
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
@@ -49,14 +49,14 @@ end
function
c23626223
.
tgcon
(
e
)
local
c
=
e
:
GetHandler
()
return
Duel
.
IsExistingMatchingCard
(
c23626223
.
tgfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
c
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c23626223
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
c
:
GetPreviousControler
()
==
tp
end
function
c23626223
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
not
eg
:
IsContains
(
c
)
and
eg
:
IsExists
(
c23626223
.
cfilter
,
1
,
nil
,
tp
)
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
not
eg
:
IsContains
(
c
)
and
eg
:
IsExists
(
c23626223
.
cfilter
,
1
,
nil
,
tp
)
end
function
c23626223
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
end
...
...
c23756165.lua
View file @
37d6ae07
...
...
@@ -24,7 +24,7 @@ c23756165.lvup={50140163,87257460}
c23756165
.
lvdn
=
{
87257460
}
function
c23756165
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
then
if
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_LV
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
23756165
,
0
))
e1
:
SetCategory
(
CATEGORY_EQUIP
)
...
...
@@ -98,7 +98,7 @@ function c23756165.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c23756165
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
50140163
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
1
,
tp
,
true
,
false
)
return
c
:
IsCode
(
50140163
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_LV
,
tp
,
true
,
false
)
end
function
c23756165
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -111,7 +111,7 @@ function c23756165.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c23756165
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_LV
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
end
end
c24212820.lua
View file @
37d6ae07
...
...
@@ -57,7 +57,7 @@ function c24212820.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
24212820
,
0x10db
,
0x21
,
300
,
600
,
4
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
TYPE_EFFECT
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummonStep
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -70,7 +70,7 @@ function c24212820.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c24212820
.
defcon
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c24212820
.
filter
(
c
)
return
c
:
IsSetCard
(
0xdb
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
c24658418.lua
View file @
37d6ae07
...
...
@@ -34,10 +34,10 @@ end
function
c24658418
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
function
c24658418
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c24658418
.
mfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x7b
)
and
not
c
:
IsType
(
TYPE_TOKEN
)
...
...
c25920413.lua
View file @
37d6ae07
...
...
@@ -9,7 +9,7 @@ function c25920413.initial_effect(c)
e1
:
SetTargetRange
(
POS_FACEUP
,
1
)
e1
:
SetCondition
(
c25920413
.
spcon
)
e1
:
SetOperation
(
c25920413
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--counter
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -59,7 +59,7 @@ function c25920413.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
c25920413
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c25920413
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c25924653.lua
View file @
37d6ae07
...
...
@@ -32,7 +32,7 @@ function c25924653.initial_effect(c)
e1
:
SetLabelObject
(
e3
)
end
function
c25924653
.
spgfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
104
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c25924653
.
spgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c25924653
.
spgfilter
(
chkc
,
e
,
tp
)
end
...
...
@@ -45,7 +45,7 @@ end
function
c25924653
.
spgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
104
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
...
...
@@ -81,7 +81,7 @@ function c25924653.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c25924653
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
25924653
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
104
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
25924653
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c25924653
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -94,7 +94,7 @@ function c25924653.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c25924653
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
104
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c2619149.lua
View file @
37d6ae07
...
...
@@ -51,7 +51,7 @@ function c2619149.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c2619149
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
2619149
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
108
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
2619149
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c2619149
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -64,7 +64,7 @@ function c2619149.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c2619149
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
108
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c26905245.lua
View file @
37d6ae07
...
...
@@ -27,8 +27,8 @@ function c26905245.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
26905245
,
0
,
0x21
,
0
,
3000
,
10
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
end
function
c26905245
.
atkcon
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
c27062594.lua
View file @
37d6ae07
...
...
@@ -39,10 +39,10 @@ function c27062594.activate(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
27062594
,
0
,
0x21
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c27062594
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
Duel
.
GetTurnPlayer
()
==
tp
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
Duel
.
GetTurnPlayer
()
==
tp
end
function
c27062594
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x107f
)
and
c
:
IsAbleToRemoveAsCost
()
...
...
c27769400.lua
View file @
37d6ae07
...
...
@@ -63,10 +63,10 @@ end
function
c27769400
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c27769400
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c27769400
.
desfilter
(
c
,
att
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
att
)
...
...
c27895597.lua
View file @
37d6ae07
...
...
@@ -18,7 +18,7 @@ function c27895597.spcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
c27895597
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c27895597
.
tfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x31
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
x8
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x31
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
Duel
.
IsExistingMatchingCard
(
c27895597
.
bfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
c
)
end
function
c27895597
.
bfilter
(
c
,
tc
)
...
...
@@ -34,7 +34,7 @@ function c27895597.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c27895597
.
tfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
x8
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
if
not
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
return
end
...
...
c28877602.lua
View file @
37d6ae07
...
...
@@ -11,7 +11,7 @@ function c28877602.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c28877602
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
152
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_EVOLTILE
,
tp
,
false
,
false
)
end
function
c28877602
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -23,7 +23,7 @@ function c28877602.sumop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c28877602
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
152
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
SUMMON_VALUE_EVOLTILE
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
rf
=
g
:
GetFirst
().
evolreg
if
rf
then
rf
(
g
:
GetFirst
())
end
end
...
...
c29357956.lua
View file @
37d6ae07
...
...
@@ -55,7 +55,7 @@ function c29357956.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_COST
)
end
function
c29357956
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
122
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c29357956
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
@@ -74,10 +74,10 @@ function c29357956.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
2
,
2
,
nil
)
local
tc
=
sg
:
GetFirst
()
Duel
.
SpecialSummonStep
(
tc
,
122
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
tc
=
sg
:
GetNext
()
Duel
.
SpecialSummonStep
(
tc
,
122
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
Duel
.
SpecialSummonComplete
()
end
...
...
c30170981.lua
View file @
37d6ae07
...
...
@@ -11,5 +11,5 @@ function c30170981.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c30170981
.
spcost
(
e
,
c
,
tp
,
sumtype
)
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
181
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_DARK_SANCTUARY
end
c30604579.lua
View file @
37d6ae07
...
...
@@ -91,16 +91,16 @@ function c30604579.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c30604579
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
1
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c30604579
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c30604579
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c30604579
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c30864377.lua
View file @
37d6ae07
...
...
@@ -48,7 +48,7 @@ function c30864377.splimit(e,se,sp,st)
end
function
c30864377
.
espfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_FUSION
)
and
not
c
:
IsCode
(
30864377
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
124
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
function
c30864377
.
esptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c30864377
.
espfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
@@ -58,7 +58,7 @@ function c30864377.espop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c30864377
.
espfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
124
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
end
function
c30864377
.
spcfilter
(
c
,
ft
)
...
...
@@ -74,7 +74,7 @@ function c30864377.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
end
function
c30864377
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
124
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c30864377
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c30864377
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
@@ -86,7 +86,7 @@ function c30864377.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c30864377
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummonStep
(
tc
,
124
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
Duel
.
SpecialSummonComplete
()
end
...
...
c31247589.lua
View file @
37d6ae07
...
...
@@ -32,7 +32,7 @@ function c31247589.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c31247589
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
31247589
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
107
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
31247589
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
+
2
,
tp
,
false
,
false
)
end
function
c31247589
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -45,7 +45,7 @@ function c31247589.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c31247589
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
107
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
+
2
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c3129635.lua
View file @
37d6ae07
...
...
@@ -32,10 +32,10 @@ function c3129635.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
3129635
,
0
,
0x21
,
1800
,
1000
,
4
,
RACE_ROCK
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c3129635
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c3129635
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
a
=
Duel
.
GetAttacker
()
...
...
c31764353.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c31764353.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c31764353
.
spcon
)
e1
:
SetOperation
(
c31764353
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -39,5 +39,5 @@ function c31764353.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
end
function
c31764353
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
c31887905.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c31887905.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c31887905
.
spcon
)
e1
:
SetOperation
(
c31887905
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -39,5 +39,5 @@ function c31887905.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
end
function
c31887905
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
c31893528.lua
View file @
37d6ae07
...
...
@@ -11,5 +11,5 @@ function c31893528.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c31893528
.
spcost
(
e
,
c
,
tp
,
sumtype
)
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
181
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_DARK_SANCTUARY
end
c3283679.lua
View file @
37d6ae07
...
...
@@ -34,7 +34,7 @@ function c3283679.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c3283679
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x304e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
156
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x304e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_EVOLTILE
,
tp
,
false
,
false
)
end
function
c3283679
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -46,7 +46,7 @@ function c3283679.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c3283679
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
156
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
SUMMON_VALUE_EVOLTILE
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
rf
=
g
:
GetFirst
().
evolreg
if
rf
then
rf
(
g
:
GetFirst
())
end
end
...
...
c33652635.lua
View file @
37d6ae07
...
...
@@ -75,7 +75,7 @@ function c33652635.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_COST
)
end
function
c33652635
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
134
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c33652635
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
@@ -88,7 +88,7 @@ function c33652635.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33652635
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
134
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c33837653.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,6 @@ function c33837653.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCondition
(
c33837653
.
ntcon
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
c34026662.lua
View file @
37d6ae07
...
...
@@ -11,7 +11,7 @@ function c34026662.initial_effect(c)
end
function
c34026662
.
filter
(
c
)
local
st
=
c
:
GetSummonType
()
return
c
:
IsFaceup
()
and
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
return
c
:
IsFaceup
()
and
st
&
SUMMON_VALUE_EVOLTILE
>
0
end
function
c34026662
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c34026662
.
filter
(
chkc
)
end
...
...
c34088136.lua
View file @
37d6ae07
...
...
@@ -37,7 +37,7 @@ end
c34088136
.
lvup
=
{
49441499
,
34830502
}
c34088136
.
lvdn
=
{
49441499
}
function
c34088136
.
con
(
e
)
return
e
:
GetHandler
():
Get
FlagEffect
(
34088136
)
~=
0
return
e
:
GetHandler
():
Get
SummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_LV
end
function
c34088136
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
34088137
,
RESET_EVENT
+
0x1ec0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
@@ -63,8 +63,7 @@ function c34088136.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c34088136
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
34830502
,
RESET_EVENT
+
0x16e0000
,
0
,
0
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_LV
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
end
end
c34294855.lua
View file @
37d6ae07
...
...
@@ -52,11 +52,11 @@ end
function
c34294855
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c34294855
.
upcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c34294855
.
upop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c34471458.lua
View file @
37d6ae07
...
...
@@ -54,7 +54,7 @@ function c34471458.spcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
end
function
c34471458
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x31
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
x8
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x31
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c34471458
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -66,6 +66,6 @@ function c34471458.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c34471458
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
x8
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
c34830502.lua
View file @
37d6ae07
...
...
@@ -37,7 +37,7 @@ end
c34830502
.
lvup
=
{
34088136
,
19877898
}
c34830502
.
lvdn
=
{
49441499
,
34088136
}
function
c34830502
.
con
(
e
)
return
e
:
GetHandler
():
Get
FlagEffect
(
34830502
)
~=
0
return
e
:
GetHandler
():
Get
SummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_LV
end
function
c34830502
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
34830503
,
RESET_EVENT
+
0x1ec0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
@@ -63,8 +63,7 @@ function c34830502.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c34830502
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
19877898
,
RESET_EVENT
+
0x16e0000
,
0
,
0
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_LV
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
end
end
c35100834.lua
View file @
37d6ae07
...
...
@@ -32,7 +32,7 @@ function c35100834.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
35100834
,
0
,
0x21
,
0
,
0
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
if
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
==
0
then
return
end
if
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
==
0
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c35100834
.
eqfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
nil
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
35100834
,
0
))
then
Duel
.
BreakEffect
()
...
...
@@ -54,7 +54,7 @@ function c35100834.eqlimit(e,c)
end
function
c35100834
.
atkcon
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c35100834
.
atkval
(
e
,
c
)
local
atk
=
0
...
...
c35950025.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,7 @@ function c35950025.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCondition
(
c35950025
.
ntcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -30,7 +30,7 @@ function c35950025.ntcon(e,c,minc)
and
Duel
.
IsExistingMatchingCard
(
c35950025
.
cfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c35950025
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_NORMAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_NORMAL
+
SUMMON_VALUE_SELF
end
function
c35950025
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
93717133
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
...
...
c35984222.lua
View file @
37d6ae07
...
...
@@ -53,7 +53,7 @@ function c35984222.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c35984222
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
0
,
c
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
...
...
c36354007.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c36354007.initial_effect(c)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCondition
(
c36354007
.
ttcon
)
e1
:
SetOperation
(
c36354007
.
ttop
)
e1
:
SetValue
(
SUMMON_TYPE_ADVANCE
+
1
)
e1
:
SetValue
(
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -32,7 +32,7 @@ function c36354007.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c36354007
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
end
function
c36354007
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c36523152.lua
View file @
37d6ae07
...
...
@@ -6,7 +6,7 @@ function c36523152.initial_effect(c)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
e1
:
SetCondition
(
c36523152
.
spcon
)
c
:
RegisterEffect
(
e1
)
--spsummon limit
...
...
@@ -31,7 +31,7 @@ function c36523152.spcon(e,c)
and
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c36523152
.
limcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c36523152
.
limop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c37781520.lua
View file @
37d6ae07
...
...
@@ -49,10 +49,10 @@ end
function
c37781520
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c37781520
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c37781520
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x75
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
...
...
c3779662.lua
View file @
37d6ae07
...
...
@@ -2,7 +2,7 @@
function
c3779662
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
7573135
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x19
),
2
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
c3779662
.
cfilter
,
LOCATION_ONFIELD
,
0
,
aux
.
tdcfop
(
c
)):
SetValue
(
1
)
aux
.
AddContactFusionProcedure
(
c
,
c3779662
.
cfilter
,
LOCATION_ONFIELD
,
0
,
aux
.
tdcfop
(
c
)):
SetValue
(
SUMMON_VALUE_SELF
)
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -42,11 +42,11 @@ function c3779662.cfilter(c)
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
c3779662
.
espcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c3779662
.
espfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsLevelBelow
(
7
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
123
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
function
c3779662
.
esptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c3779662
.
espfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
@@ -56,7 +56,7 @@ function c3779662.espop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c3779662
.
espfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
123
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
end
function
c3779662
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -68,7 +68,7 @@ function c3779662.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_COST
)
end
function
c3779662
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
123
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c3779662
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
@@ -87,10 +87,10 @@ function c3779662.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
2
,
2
,
nil
)
local
tc
=
sg
:
GetFirst
()
Duel
.
SpecialSummonStep
(
tc
,
123
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
tc
=
sg
:
GetNext
()
Duel
.
SpecialSummonStep
(
tc
,
123
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
Duel
.
SpecialSummonComplete
()
end
...
...
c38107923.lua
View file @
37d6ae07
...
...
@@ -68,7 +68,7 @@ end
function
c38107923
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c38107923
.
desfilter
(
c
)
...
...
c38250531.lua
View file @
37d6ae07
...
...
@@ -84,6 +84,6 @@ end
function
c38250531
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
c38383368.lua
View file @
37d6ae07
...
...
@@ -37,12 +37,12 @@ end
function
c38383368
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
e
:
GetLabel
(),
false
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
e
:
GetLabel
(),
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c38383368
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c38383368
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c3912064.lua
View file @
37d6ae07
...
...
@@ -16,7 +16,7 @@ function c3912064.initial_effect(c)
e2
:
SetCode
(
EFFECT_SUMMON_PROC
)
e2
:
SetCondition
(
c3912064
.
ttcon
)
e2
:
SetOperation
(
c3912064
.
ttop
)
e2
:
SetValue
(
SUMMON_TYPE_ADVANCE
+
1
)
e2
:
SetValue
(
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e2
)
--atk down
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -59,7 +59,7 @@ function c3912064.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c3912064
.
atkcon
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
end
function
c3912064
.
atkval
(
e
,
c
)
local
rec
=
c
:
GetBaseAttack
()
...
...
c40542825.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c40542825.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c40542825
.
spcon
)
e1
:
SetOperation
(
c40542825
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -52,7 +52,7 @@ function c40542825.thfilter(c)
return
c
:
IsDefense
(
1500
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsCode
(
40542825
)
and
c
:
IsAbleToHand
()
end
function
c40542825
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c40542825
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c40542825
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c40591390.lua
View file @
37d6ae07
...
...
@@ -27,7 +27,7 @@ function c40591390.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c40591390
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
re
and
re
:
GetHandler
():
IsCode
(
75041269
)
end
function
c40591390
.
desfilter
(
c
)
return
c
:
IsFacedown
()
or
not
c
:
IsSetCard
(
0xc008
)
...
...
c40732515.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c40732515.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e1
:
SetCondition
(
c40732515
.
spcon
)
e1
:
SetOperation
(
c40732515
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -61,7 +61,7 @@ function c40732515.spop(e,tp,eg,ep,ev,re,r,rp,c)
end
end
function
c40732515
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c40732515
.
filter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToHand
()
...
...
c40771118.lua
View file @
37d6ae07
...
...
@@ -61,7 +61,7 @@ end
function
c40771118
.
plfilter
(
c
,
tp
,
mc
)
if
not
c
:
IsCode
(
31893528
,
67287533
,
94772232
,
30170981
)
then
return
false
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
16625614
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
0
,
0x11
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
,
tp
,
181
)
then
return
true
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
0
,
0x11
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
,
tp
,
SUMMON_VALUE_DARK_SANCTUARY
)
then
return
true
end
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
if
mc
:
IsLocation
(
LOCATION_SZONE
)
then
ft
=
ft
+
1
end
return
ft
>
0
and
not
c
:
IsForbidden
()
...
...
@@ -75,10 +75,10 @@ function c40771118.plop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c40771118
.
plfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
,
c
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
16625614
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
tc
:
GetCode
(),
0
,
0x11
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
,
tp
,
181
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
tc
:
GetCode
(),
0
,
0x11
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
,
tp
,
SUMMON_VALUE_DARK_SANCTUARY
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
16625614
,
0
))
then
tc
:
AddMonsterAttribute
(
TYPE_NORMAL
,
ATTRIBUTE_DARK
,
RACE_FIEND
,
1
,
0
,
0
)
Duel
.
SpecialSummonStep
(
tc
,
181
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_DARK_SANCTUARY
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
--immune
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c41141943.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c41141943.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c41141943
.
hspcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--spsummon limit
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -40,7 +40,7 @@ function c41141943.hspcon(e,c)
and
not
Duel
.
IsExistingMatchingCard
(
c41141943
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c41141943
.
hspcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c41141943
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c41470137.lua
View file @
37d6ae07
...
...
@@ -49,7 +49,7 @@ function c41470137.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c41470137
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
102
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c41470137
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -62,7 +62,7 @@ function c41470137.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c41470137
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
102
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c41902352.lua
View file @
37d6ae07
...
...
@@ -19,5 +19,5 @@ function c41902352.synlimit(e)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
function
c41902352
.
spcost
(
e
,
c
,
tp
,
sumtype
)
return
sumtype
~=
SUMMON_TYPE_SPECIAL
+
182
return
sumtype
~=
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SYNCHRO_MATERIAL
end
c42237854.lua
View file @
37d6ae07
...
...
@@ -63,7 +63,7 @@ function c42237854.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
42237854
,
0
,
0x21
,
0
,
0
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c42237854
.
tgfilter
,
nil
,
e
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
if
g
:
GetCount
()
<=
0
or
ft
<=
0
then
return
end
...
...
@@ -93,7 +93,7 @@ function c42237854.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c42237854
.
condition
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c42237854
.
atkval
(
e
,
c
)
local
atk
=
0
...
...
c4253484.lua
View file @
37d6ae07
...
...
@@ -32,7 +32,7 @@ function c4253484.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c4253484
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
4253484
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
10
1
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
4253484
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
+
1
,
tp
,
false
,
false
)
end
function
c4253484
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -45,7 +45,7 @@ function c4253484.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c4253484
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
10
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
+
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c42592719.lua
View file @
37d6ae07
...
...
@@ -30,7 +30,7 @@ function c42592719.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c42592719
.
splimit
(
e
,
se
,
sp
,
st
)
return
st
==
(
SUMMON_TYPE_SPECIAL
+
107
)
or
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
return
st
==
(
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_GLADIATOR
+
2
)
or
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
function
c42592719
.
imcon
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
42592719
)
>
0
...
...
@@ -47,7 +47,7 @@ function c42592719.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c42592719
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
42592719
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
111
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
42592719
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c42592719
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -60,7 +60,7 @@ function c42592719.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c42592719
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
111
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c43138260.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c43138260.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c43138260
.
spcon
)
e1
:
SetOperation
(
c43138260
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -31,7 +31,7 @@ function c43138260.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
RemoveOverlayCard
(
tp
,
1
,
0
,
2
,
2
,
REASON_COST
)
end
function
c43138260
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c43138260
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsLevel
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
...
...
c4376658.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c4376658.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c4376658
.
spcon
)
e1
:
SetOperation
(
c4376658
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -39,5 +39,5 @@ function c4376658.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
end
function
c4376658
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
c43959432.lua
View file @
37d6ae07
...
...
@@ -49,7 +49,7 @@ function c43959432.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
43959432
,
0
,
0x21
,
1000
,
1000
,
4
,
RACE_ROCK
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
Duel
.
BreakEffect
()
...
...
@@ -66,7 +66,7 @@ function c43959432.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
c43959432
.
poscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
c
==
Duel
.
GetAttacker
()
and
c
:
IsRelateToBattle
()
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
c
==
Duel
.
GetAttacker
()
and
c
:
IsRelateToBattle
()
end
function
c43959432
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -75,7 +75,7 @@ function c43959432.posop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c43959432
.
atkcon
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c43959432
.
atkval
(
e
,
c
)
local
tc
=
e
:
GetLabelObject
():
GetLabelObject
()
...
...
c44330098.lua
View file @
37d6ae07
...
...
@@ -49,14 +49,13 @@ end
function
c44330098
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
sumtype
=
1
if
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
then
sumtype
=
2
end
if
Duel
.
SpecialSummon
(
c
,
sumtype
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
e
:
SetLabel
(
ev
)
end
local
typ
=
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
and
1
or
2
e
:
SetLabel
(
typ
,
ev
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c44330098
.
sumcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
2
local
typ
,
val
=
e
:
GetLabelObject
():
GetLabel
()
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
typ
==
1
end
function
c44330098
.
sumtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -66,7 +65,7 @@ end
function
c44330098
.
sumop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
val
=
e
:
GetLabelObject
():
GetLabel
()
local
typ
,
val
=
e
:
GetLabelObject
():
GetLabel
()
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
44330099
,
0
,
0x4011
,
-
2
,
-
2
,
7
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
44330099
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -84,11 +83,12 @@ function c44330098.sumop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c44330098
.
sumcon3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
local
typ
,
val
=
e
:
GetLabelObject
():
GetLabel
()
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
typ
==
2
end
function
c44330098
.
sumtg3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
d
=
e
:
GetLabelObject
():
GetLabel
()
local
typ
,
d
=
e
:
GetLabelObject
():
GetLabel
()
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetParam
(
d
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
d
)
...
...
c45358284.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,7 @@ function c45358284.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c45358284
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--level change
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -33,7 +33,7 @@ function c45358284.spcon(e,c)
and
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
1
,
nil
,
TYPE_MONSTER
)
end
function
c45358284
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c45358284
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c45894482.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,7 @@ function c45894482.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c45894482
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -24,7 +24,7 @@ function c45894482.spcon(e,c)
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
c45894482
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c45894482
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c47826112.lua
View file @
37d6ae07
...
...
@@ -38,10 +38,10 @@ end
function
c47826112
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c47826112
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c47826112
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
...
...
c48156348.lua
View file @
37d6ae07
...
...
@@ -64,7 +64,7 @@ function c48156348.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_COST
)
end
function
c48156348
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
120
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c48156348
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
@@ -83,10 +83,10 @@ function c48156348.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
2
,
2
,
nil
)
local
tc
=
sg
:
GetFirst
()
Duel
.
SpecialSummonStep
(
tc
,
120
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
tc
=
sg
:
GetNext
()
Duel
.
SpecialSummonStep
(
tc
,
120
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
Duel
.
SpecialSummonComplete
()
end
...
...
c4904633.lua
View file @
37d6ae07
...
...
@@ -40,10 +40,10 @@ function c4904633.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
4904633
,
0
,
0x21
,
1450
,
1950
,
9
,
RACE_SPELLCASTER
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c4904633
.
condition
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c4904633
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
...
...
c49441499.lua
View file @
37d6ae07
...
...
@@ -61,8 +61,7 @@ function c49441499.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c49441499
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
34088136
,
RESET_EVENT
+
0x16e0000
,
0
,
0
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_LV
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
end
end
c49514333.lua
View file @
37d6ae07
...
...
@@ -33,10 +33,10 @@ function c49514333.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
49514333
,
0
,
0x21
,
1000
,
1800
,
4
,
RACE_ROCK
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c49514333
.
repcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c49514333
.
repfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
()
and
c
:
GetDestination
()
==
LOCATION_GRAVE
and
c
:
GetLeaveFieldDest
()
==
0
and
c
:
IsReason
(
REASON_DESTROY
)
...
...
c50074392.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,7 @@ function c50074392.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c50074392
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--lv
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -30,7 +30,7 @@ function c50074392.spcon(e,c)
and
Duel
.
IsExistingMatchingCard
(
c50074392
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
RACE_WINDBEAST
)
end
function
c50074392
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c50074392
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetLevel
()
>
0
...
...
c5008836.lua
View file @
37d6ae07
...
...
@@ -13,7 +13,7 @@ function c5008836.initial_effect(c)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCondition
(
c5008836
.
ttcon
)
e1
:
SetOperation
(
c5008836
.
ttop
)
e1
:
SetValue
(
SUMMON_TYPE_ADVANCE
+
1
)
e1
:
SetValue
(
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--tribute check
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -88,7 +88,7 @@ function c5008836.wincon(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetAttacker
()
if
c
==
tc
then
tc
=
Duel
.
GetAttackTarget
()
end
if
not
c
:
IsRelateToBattle
()
or
c
:
IsFacedown
()
then
return
false
end
return
c
:
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
1
and
c5008836
.
winfilter
(
e
,
tc
)
return
c
:
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
and
c5008836
.
winfilter
(
e
,
tc
)
end
function
c5008836
.
winop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
WIN_REASON_GUARDIAN_GOD_EXODIA
=
0x1f
...
...
c50140163.lua
View file @
37d6ae07
...
...
@@ -11,7 +11,7 @@ c50140163.lvup={23756165}
c50140163
.
lvdn
=
{
23756165
,
87257460
}
function
c50140163
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
then
if
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_LV
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
50140163
,
0
))
e1
:
SetCategory
(
CATEGORY_EQUIP
)
...
...
c51555725.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,7 @@ function c51555725.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c51555725
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -27,7 +27,7 @@ function c51555725.spcon(e,c)
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
c51555725
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c51555725
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x24
)
...
...
c52502677.lua
View file @
37d6ae07
...
...
@@ -61,7 +61,7 @@ function c52502677.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c52502677
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
52502677
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
132
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
52502677
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c52502677
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
@@ -74,7 +74,7 @@ function c52502677.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c52502677
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
132
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c5338223.lua
View file @
37d6ae07
...
...
@@ -22,7 +22,7 @@ function c5338223.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
rg
,
REASON_COST
)
end
function
c5338223
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
170
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_EVOLTILE
,
tp
,
false
,
false
)
end
function
c5338223
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
@@ -42,7 +42,7 @@ function c5338223.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c5338223
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
170
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
SUMMON_VALUE_EVOLTILE
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
rf
=
g
:
GetFirst
().
evolreg
if
rf
then
rf
(
g
:
GetFirst
())
end
end
...
...
c54266211.lua
View file @
37d6ae07
...
...
@@ -13,7 +13,7 @@ function c54266211.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c54266211
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
18
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c54266211
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -25,7 +25,7 @@ end
function
c54266211
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
18
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
...
...
c54297661.lua
View file @
37d6ae07
...
...
@@ -66,7 +66,7 @@ function c54297661.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
54297661
,
0
,
0x21
,
atk
,
def
,
4
,
RACE_SPELLCASTER
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
if
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
then
if
Duel
.
SpecialSummonStep
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
...
...
@@ -81,7 +81,7 @@ function c54297661.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummonComplete
()
end
function
c54297661
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c54297661
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c55204071.lua
View file @
37d6ae07
...
...
@@ -9,7 +9,7 @@ function c55204071.initial_effect(c)
e1
:
SetCountLimit
(
1
,
55204071
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c55204071
.
spcon
)
e1
:
SetOperation
(
c55204071
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -46,7 +46,7 @@ function c55204071.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c55204071
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c55204071
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
55204071
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c55277252.lua
View file @
37d6ae07
...
...
@@ -23,7 +23,7 @@ end
function
c55277252
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
(),
0x35
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
1
,
tp
,
false
,
false
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
...
...
@@ -39,10 +39,10 @@ function c55277252.op(e,tp,eg,ep,ev,re,r,rp)
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c55277252
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c55277252
.
filter2
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
2
)
and
c
:
IsSetCard
(
0x35
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c55488859.lua
View file @
37d6ae07
...
...
@@ -16,7 +16,7 @@ function c55488859.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
function
c55488859
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
150
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_EVOLTILE
,
tp
,
false
,
false
)
end
function
c55488859
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -27,7 +27,7 @@ function c55488859.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c55488859
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
150
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_EVOLTILE
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
rf
=
tc
.
evolreg
if
rf
then
rf
(
tc
)
end
end
...
...
c55586621.lua
View file @
37d6ae07
...
...
@@ -57,7 +57,7 @@ function c55586621.spcon(e,tp,eg,ep,ev,re,r,rp)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
end
function
c55586621
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x31
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
x8
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x31
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c55586621
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c55586621
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
@@ -70,6 +70,6 @@ end
function
c55586621
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
x8
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
c55838342.lua
View file @
37d6ae07
...
...
@@ -32,11 +32,11 @@ function c55838342.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
55838342
,
0
,
0x21
,
300
,
2100
,
2
,
RACE_INSECT
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c55838342
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
GetSummonType
()
~=
SUMMON_TYPE_SPECIAL
+
1
then
return
false
end
if
c
:
GetSummonType
()
~=
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
then
return
false
end
local
lg1
=
Duel
.
GetLinkedGroup
(
tp
,
1
,
1
)
local
lg2
=
Duel
.
GetLinkedGroup
(
1
-
tp
,
1
,
1
)
return
(
lg1
and
lg1
:
IsContains
(
c
))
or
(
lg2
and
lg2
:
IsContains
(
c
))
...
...
c55878038.lua
View file @
37d6ae07
...
...
@@ -10,7 +10,7 @@ function c55878038.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c55878038
.
spcon
)
e1
:
SetOperation
(
c55878038
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--Destroy/Shuffle/Special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -47,7 +47,7 @@ function c55878038.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
function
c55878038
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SPECIAL
+
1
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c55878038
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
...
...
c56240989.lua
View file @
37d6ae07
...
...
@@ -32,7 +32,7 @@ function c56240989.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c56240989
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
6
)
and
c
:
IsRace
(
RACE_DINOSAUR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
154
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_EVOLTILE
,
tp
,
false
,
false
)
end
function
c56240989
.
filter2
(
c
,
g
)
return
g
:
IsExists
(
Card
.
IsCode
,
1
,
c
,
c
:
GetCode
())
...
...
@@ -57,8 +57,8 @@ function c56240989.spop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
dg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc1
=
sg
:
GetFirst
()
local
tc2
=
dg
:
Filter
(
Card
.
IsCode
,
tc1
,
tc1
:
GetCode
()):
GetFirst
()
Duel
.
SpecialSummonStep
(
tc1
,
154
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc2
,
154
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc1
,
SUMMON_VALUE_EVOLTILE
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc2
,
SUMMON_VALUE_EVOLTILE
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc1
:
RegisterFlagEffect
(
56240989
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
tc2
:
RegisterFlagEffect
(
56240989
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c56655675.lua
View file @
37d6ae07
...
...
@@ -6,7 +6,7 @@ function c56655675.initial_effect(c)
table.insert
(
mat_list
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0xb5
|
(
0x1000
<<
i
)))
end
aux
.
AddFusionProcMix
(
c
,
false
,
false
,
table.unpack
(
mat_list
))
aux
.
AddContactFusionProcedure
(
c
,
c56655675
.
cfilter
,
LOCATION_MZONE
,
0
,
Duel
.
Remove
,
POS_FACEUP
,
REASON_COST
):
SetValue
(
1
)
aux
.
AddContactFusionProcedure
(
c
,
c56655675
.
cfilter
,
LOCATION_MZONE
,
0
,
Duel
.
Remove
,
POS_FACEUP
,
REASON_COST
):
SetValue
(
SUMMON_VALUE_SELF
)
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -27,7 +27,7 @@ function c56655675.cfilter(c)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c56655675
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c56655675
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c57731460.lua
View file @
37d6ae07
...
...
@@ -49,7 +49,7 @@ function c57731460.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c57731460
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
57731460
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
103
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
57731460
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c57731460
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -62,7 +62,7 @@ function c57731460.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c57731460
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
103
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c58206034.lua
View file @
37d6ae07
...
...
@@ -19,7 +19,7 @@ end
c58206034
.
lvup
=
{
12817939
}
c58206034
.
lvdn
=
{
85313220
,
12817939
}
function
c58206034
.
discon
(
e
)
return
e
:
GetHandler
():
Get
FlagEffect
(
12817939
)
~=
0
return
e
:
GetHandler
():
Get
SummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_LV
end
function
c58206034
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c59509952.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c59509952.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c59509952
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--disable spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -49,7 +49,7 @@ function c59509952.recon(e)
return
c
:
IsFaceup
()
and
c
:
GetDestination
()
==
LOCATION_GRAVE
end
function
c59509952
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c59509952
.
filter
(
c
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAbleToHand
()
...
...
c5975022.lua
View file @
37d6ae07
...
...
@@ -49,7 +49,7 @@ function c5975022.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c5975022
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
5975022
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
105
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
5975022
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c5975022
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -62,7 +62,7 @@ function c5975022.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c5975022
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
105
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c60461077.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,6 @@ function c60461077.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCondition
(
c60461077
.
ntcon
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
c612115.lua
View file @
37d6ae07
...
...
@@ -46,7 +46,7 @@ function c612115.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c612115
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
612115
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
109
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
612115
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c612115
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -59,7 +59,7 @@ function c612115.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c612115
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
109
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c61441708.lua
View file @
37d6ae07
...
...
@@ -53,11 +53,11 @@ end
function
c61441708
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c61441708
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c61441708
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
c62000467.lua
View file @
37d6ae07
...
...
@@ -53,7 +53,7 @@ function c62000467.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_COST
)
end
function
c62000467
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
125
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c62000467
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
@@ -73,10 +73,10 @@ function c62000467.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg1
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
2
,
2
)
local
tc
=
sg1
:
GetFirst
()
Duel
.
SpecialSummonStep
(
tc
,
125
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
tc
=
sg1
:
GetNext
()
Duel
.
SpecialSummonStep
(
tc
,
125
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
Duel
.
SpecialSummonComplete
()
end
...
...
c62645025.lua
View file @
37d6ae07
...
...
@@ -38,10 +38,10 @@ function c62645025.activate(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
62645025
,
0x10db
,
0x21
,
0
,
0
,
2
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
end
function
c62645025
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c62645025
.
cfilter
(
c
)
if
c
:
IsFacedown
()
or
not
c
:
IsAbleToGraveAsCost
()
then
return
false
end
...
...
c64373401.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,7 @@ function c64373401.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c64373401
.
hspcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--spsummon limit
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -38,7 +38,7 @@ function c64373401.hspcon(e,c)
and
not
Duel
.
IsExistingMatchingCard
(
c64373401
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c64373401
.
hspcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c64373401
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c6442944.lua
View file @
37d6ae07
...
...
@@ -6,7 +6,7 @@ function c6442944.initial_effect(c)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
e1
:
SetCountLimit
(
1
,
6442944
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c6442944
.
hspcon
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -34,7 +34,7 @@ function c6442944.hspcon(e,c)
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
c6442944
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c6442944
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_SEASERPENT
)
and
c
:
IsLevel
(
8
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c64550682.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c64550682.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c64550682
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -42,7 +42,7 @@ function c64550682.spcon(e,c)
and
Duel
.
IsExistingMatchingCard
(
c64550682
.
spfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c64550682
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c64550682
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x24
)
...
...
c65268179.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c65268179.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c65268179
.
spcon
)
e1
:
SetOperation
(
c65268179
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -56,7 +56,7 @@ function c65268179.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
end
function
c65268179
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c65268179
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c65282484.lua
View file @
37d6ae07
...
...
@@ -67,11 +67,11 @@ end
function
c65282484
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c65282484
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c65282484
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
end
...
...
c66863374.lua
View file @
37d6ae07
...
...
@@ -54,7 +54,7 @@ function c66863374.tdfilter(c,e,tp)
end
function
c66863374
.
spfilter
(
c
,
e
,
tp
,
tc
)
return
c
:
IsSetCard
(
0x19
)
and
not
c
:
IsOriginalCodeRule
(
tc
:
GetOriginalCodeRule
())
and
c
:
IsCanBeSpecialSummoned
(
e
,
135
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c66863374
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c66863374
.
tdfilter
(
chkc
,
e
,
tp
)
end
...
...
@@ -72,7 +72,7 @@ function c66863374.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c66863374
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
135
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
...
...
c67098114.lua
View file @
37d6ae07
...
...
@@ -89,16 +89,16 @@ function c67098114.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c67098114
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
1
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c67098114
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c67098114
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c67098114
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
...
...
c67287533.lua
View file @
37d6ae07
...
...
@@ -11,5 +11,5 @@ function c67287533.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c67287533
.
spcost
(
e
,
c
,
tp
,
sumtype
)
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
181
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_DARK_SANCTUARY
end
c67385964.lua
View file @
37d6ae07
...
...
@@ -42,12 +42,12 @@ end
function
c67385964
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
114
,
tp
,
false
,
false
)
end
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
function
c67385964
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
114
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
a
=
Duel
.
GetAttacker
()
if
a
:
IsAttackable
()
and
not
a
:
IsImmuneToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -84,7 +84,7 @@ function c67385964.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c67385964
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
67385964
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
114
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
67385964
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c67385964
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -97,7 +97,7 @@ function c67385964.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c67385964
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
114
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c68371799.lua
View file @
37d6ae07
...
...
@@ -9,7 +9,7 @@ function c68371799.initial_effect(c)
e1
:
SetCountLimit
(
1
,
68371799
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c68371799
.
spcon
)
e1
:
SetOperation
(
c68371799
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -52,7 +52,7 @@ function c68371799.spop(e,tp,eg,ep,ev,re,r,rp,c)
c
:
RegisterEffect
(
e1
)
end
function
c68371799
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c68371799
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x45
)
...
...
c68881649.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c68881649.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c68881649
.
spcon
)
e1
:
SetOperation
(
c68881649
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -39,5 +39,5 @@ function c68881649.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
end
function
c68881649
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
c7025445.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c7025445.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c7025445
.
spcon
)
e1
:
SetOperation
(
c7025445
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--level change
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -45,7 +45,7 @@ function c7025445.spop(e,tp,eg,ep,ev,re,r,rp,c)
e
:
SetLabel
(
g
:
GetFirst
():
GetLevel
())
end
function
c7025445
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c7025445
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c70406920.lua
View file @
37d6ae07
...
...
@@ -55,10 +55,10 @@ function c70406920.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
70406920
,
0
,
0x21
,
1000
,
1000
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c70406920
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c70406920
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsRace
,
1
,
e
:
GetHandler
(),
RACE_MACHINE
)
end
...
...
c70493141.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c70493141.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c70493141
.
hspcon
)
e1
:
SetOperation
(
c70493141
.
hspop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--recover
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -33,7 +33,7 @@ function c70493141.hspop(e,tp,eg,ep,ev,re,r,rp,c)
end
function
c70493141
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
rp
==
1
-
tp
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
return
rp
==
1
-
tp
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
end
function
c70493141
.
rectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c71015787.lua
View file @
37d6ae07
...
...
@@ -32,17 +32,17 @@ function c71015787.initial_effect(c)
end
function
c71015787
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
1
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c71015787
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c71015787
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c71015787
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c71200730.lua
View file @
37d6ae07
...
...
@@ -21,6 +21,6 @@ function c71200730.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c71200730
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
c71645242.lua
View file @
37d6ae07
...
...
@@ -39,7 +39,7 @@ function c71645242.initial_effect(c)
end
end
function
c71645242
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
GetSummonType
()
~=
SUMMON_TYPE_SPECIAL
+
0x20
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
GetSummonType
()
~=
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_BLACK_GARDEN
end
function
c71645242
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sf
=
0
...
...
@@ -84,12 +84,12 @@ function c71645242.spop(e,tp,eg,ep,ev,re,r,rp)
if
bit
.
extract
(
ev
,
tp
)
~=
0
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
71645243
,
0
,
0x4011
,
800
,
800
,
2
,
RACE_PLANT
,
ATTRIBUTE_DARK
,
POS_FACEUP_ATTACK
,
1
-
tp
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
71645243
)
Duel
.
SpecialSummonStep
(
token
,
0x20
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
Duel
.
SpecialSummonStep
(
token
,
SUMMON_VALUE_BLACK_GARDEN
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
end
if
bit
.
extract
(
ev
,
1
-
tp
)
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
1
-
tp
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
1
-
tp
,
71645243
,
0
,
0x4011
,
800
,
800
,
2
,
RACE_PLANT
,
ATTRIBUTE_DARK
)
then
local
token
=
Duel
.
CreateToken
(
1
-
tp
,
71645243
)
Duel
.
SpecialSummonStep
(
token
,
0x20
,
1
-
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
Duel
.
SpecialSummonStep
(
token
,
SUMMON_VALUE_BLACK_GARDEN
,
1
-
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
end
Duel
.
SpecialSummonComplete
()
end
...
...
@@ -97,7 +97,7 @@ function c71645242.desfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_PLANT
)
end
function
c71645242
.
filter2
(
c
,
atk
,
e
,
tp
)
return
c
:
IsAttack
(
atk
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
x20
,
tp
,
false
,
false
)
return
c
:
IsAttack
(
atk
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c71645242
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c71645242
.
filter2
(
chkc
,
e
:
GetLabel
(),
e
,
tp
)
end
...
...
@@ -122,7 +122,7 @@ function c71645242.spop2(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
==
dg
:
GetCount
()
then
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0x20
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_BLACK_GARDEN
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
c71797713.lua
View file @
37d6ae07
...
...
@@ -63,11 +63,11 @@ end
function
c71797713
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c71797713
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
e
:
GetLabelObject
():
GetLabel
()
~=
0
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
e
:
GetLabelObject
():
GetLabel
()
~=
0
end
function
c71797713
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
flag
=
e
:
GetLabelObject
():
GetLabel
()
...
...
c71870152.lua
View file @
37d6ae07
...
...
@@ -51,7 +51,7 @@ function c71870152.lvop(e,tp,eg,ep,ev,re,r,rp)
end
function
c71870152
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsFaceup
()
and
c
:
IsAttackPos
()
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
0x8
return
c
:
IsFaceup
()
and
c
:
IsAttackPos
()
and
re
and
re
:
GetHandler
():
IsSetCard
(
0x31
)
end
function
c71870152
.
filter
(
c
)
return
c
:
IsFaceup
()
...
...
c7409792.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c7409792.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
7409792
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c7409792
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -26,7 +26,7 @@ function c7409792.spcon(e,c)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
function
c7409792
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c7409792
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevel
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c7443908.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,6 @@ function c7443908.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCondition
(
c7443908
.
ntcon
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
c74713516.lua
View file @
37d6ae07
...
...
@@ -40,7 +40,7 @@ function c74713516.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c74713516
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
1102515
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
1
,
tp
,
true
,
true
)
return
c
:
IsCode
(
1102515
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_LV
,
tp
,
true
,
true
)
end
function
c74713516
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -53,7 +53,7 @@ function c74713516.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c74713516
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
1
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_LV
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
end
end
c75041269.lua
View file @
37d6ae07
...
...
@@ -76,6 +76,6 @@ function c75041269.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c75041269
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
~=
0
then
Duel
.
SpecialSummon
(
g
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
c75180828.lua
View file @
37d6ae07
...
...
@@ -47,10 +47,10 @@ end
function
c75180828
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c75180828
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c75180828
.
descount
(
c
)
return
c
:
IsSetCard
(
0x74
)
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
c75285069.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c75285069.initial_effect(c)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCondition
(
c75285069
.
ttcon
)
e1
:
SetOperation
(
c75285069
.
ttop
)
e1
:
SetValue
(
SUMMON_TYPE_ADVANCE
+
1
)
e1
:
SetValue
(
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -32,7 +32,7 @@ function c75285069.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c75285069
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
end
function
c75285069
.
filter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
c7573135.lua
View file @
37d6ae07
...
...
@@ -24,7 +24,7 @@ function c7573135.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c7573135
.
hspfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
113
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
function
c7573135
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -37,7 +37,7 @@ function c7573135.hspop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c7573135
.
hspfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
113
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
local
fid
=
e
:
GetHandler
():
GetFieldID
()
tc
:
RegisterFlagEffect
(
7573135
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
...
...
@@ -73,7 +73,7 @@ function c7573135.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c7573135
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
not
c
:
IsCode
(
7573135
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
113
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x19
)
and
not
c
:
IsCode
(
7573135
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c7573135
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -86,7 +86,7 @@ function c7573135.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c7573135
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
113
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c77642288.lua
View file @
37d6ae07
...
...
@@ -18,7 +18,7 @@ function c77642288.spcon(e,tp,eg,ep,ev,re,r,rp)
and
e
:
GetHandler
():
GetBattledGroupCount
()
>
0
end
function
c77642288
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
77642288
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
106
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
77642288
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c77642288
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -32,7 +32,7 @@ function c77642288.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c77642288
.
filter
,
tp
,
LOCATION_DECK
,
0
,
2
,
2
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
while
tc
do
Duel
.
SpecialSummonStep
(
tc
,
106
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
tc
=
g
:
GetNext
()
end
...
...
c78651105.lua
View file @
37d6ae07
...
...
@@ -18,7 +18,7 @@ function c78651105.initial_effect(c)
e3
:
SetCode
(
EFFECT_SUMMON_PROC
)
e3
:
SetCondition
(
c78651105
.
ttcon
)
e3
:
SetOperation
(
c78651105
.
ttop
)
e3
:
SetValue
(
SUMMON_TYPE_ADVANCE
+
1
)
e3
:
SetValue
(
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e3
)
--destroy
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -57,7 +57,7 @@ function c78651105.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c78651105
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
end
function
c78651105
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c78868776.lua
View file @
37d6ae07
...
...
@@ -32,7 +32,7 @@ function c78868776.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c78868776
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
78868776
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
100
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
78868776
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c78868776
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -45,7 +45,7 @@ function c78868776.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c78868776
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
100
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c79580323.lua
View file @
37d6ae07
...
...
@@ -30,7 +30,7 @@ function c79580323.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c79580323
.
splimit
(
e
,
se
,
sp
,
st
)
return
st
==
(
SUMMON_TYPE_SPECIAL
+
10
1
)
or
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
return
st
==
(
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_GLADIATOR
+
1
)
or
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
function
c79580323
.
sfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
IsAbleToHand
()
...
...
@@ -56,7 +56,7 @@ function c79580323.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c79580323
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
110
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c79580323
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -69,7 +69,7 @@ function c79580323.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c79580323
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
110
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c79852326.lua
View file @
37d6ae07
...
...
@@ -31,11 +31,11 @@ function c79852326.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
79852326
,
0
,
0x21
,
1800
,
500
,
4
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
end
function
c79852326
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
c
:
IsReason
(
REASON_BATTLE
)
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
c
:
IsReason
(
REASON_BATTLE
)
end
function
c79852326
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c81873903.lua
View file @
37d6ae07
...
...
@@ -10,7 +10,7 @@ function c81873903.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c81873903
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
151
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_EVOLTILE
,
tp
,
false
,
false
)
end
function
c81873903
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -21,7 +21,7 @@ function c81873903.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c81873903
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
151
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
SUMMON_VALUE_EVOLTILE
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
rf
=
g
:
GetFirst
().
evolreg
if
rf
then
rf
(
g
:
GetFirst
())
end
end
...
...
c82224646.lua
View file @
37d6ae07
...
...
@@ -102,7 +102,7 @@ function c82224646.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
c82224646
.
scfilter1
(
c
,
e
,
tp
,
mc
)
local
mg
=
Group
.
FromCards
(
c
,
mc
)
return
c
:
IsCanBeSynchroMaterial
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
182
,
tp
,
false
,
false
)
return
c
:
IsCanBeSynchroMaterial
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_SYNCHRO_MATERIAL
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
c82224646
.
scfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
tp
,
mg
)
end
function
c82224646
.
scfilter2
(
c
,
tp
,
mg
)
...
...
@@ -121,7 +121,7 @@ end
function
c82224646
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
182
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_SYNCHRO_MATERIAL
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
...
...
c82670878.lua
View file @
37d6ae07
...
...
@@ -75,10 +75,10 @@ end
function
c82670878
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c82670878
.
adcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c82670878
.
adop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c84218527.lua
View file @
37d6ae07
...
...
@@ -12,7 +12,7 @@ function c84218527.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c84218527
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x31
)
and
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
x8
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x31
)
and
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c84218527
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c84218527
.
filter
(
chkc
,
e
,
tp
)
end
...
...
@@ -34,7 +34,7 @@ function c84218527.spop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
<=
ft
then
local
tc
=
g
:
GetFirst
()
while
tc
do
Duel
.
SpecialSummonStep
(
tc
,
0
x8
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
84218527
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
tc
=
g
:
GetNext
()
end
...
...
@@ -55,7 +55,7 @@ function c84218527.spop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Select
(
tp
,
ft
,
ft
,
nil
)
local
tc
=
sg
:
GetFirst
()
while
tc
do
Duel
.
SpecialSummonStep
(
tc
,
0
x8
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
84218527
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
tc
=
sg
:
GetNext
()
end
...
...
c8487449.lua
View file @
37d6ae07
...
...
@@ -9,7 +9,7 @@ function c8487449.initial_effect(c)
e1
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
0
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c8487449
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--spsummon success
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -24,7 +24,7 @@ function c8487449.spcon(e,c)
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
c8487449
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c8487449
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c8522996.lua
View file @
37d6ae07
...
...
@@ -41,10 +41,10 @@ function c8522996.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
8522996
,
0
,
0x21
,
1000
,
2400
,
6
,
RACE_FIEND
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c8522996
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c8522996
.
chcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
c85313220.lua
View file @
37d6ae07
...
...
@@ -63,8 +63,7 @@ function c85313220.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c85313220
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
85313220
,
RESET_EVENT
+
0x16e0000
,
0
,
0
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_LV
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
end
end
c8632967.lua
View file @
37d6ae07
...
...
@@ -25,7 +25,7 @@ function c8632967.chainlm(e,rp,tp)
end
function
c8632967
.
sucfilter
(
c
)
local
st
=
c
:
GetSummonType
()
return
c
:
IsSetCard
(
0x304e
)
and
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
return
c
:
IsSetCard
(
0x304e
)
and
st
&
SUMMON_VALUE_EVOLTILE
>
0
end
function
c8632967
.
sucop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
eg
:
IsExists
(
c8632967
.
sucfilter
,
1
,
nil
)
then
...
...
c86885905.lua
View file @
37d6ae07
...
...
@@ -41,10 +41,10 @@ function c86885905.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
86885905
,
0x103
,
0x21
,
1400
,
1800
,
4
,
RACE_SPELLCASTER
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_TRAP
+
TYPE_EFFECT
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c86885905
.
condition
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c86885905
.
etarget
(
e
,
c
)
return
c
:
IsSetCard
(
0x103
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
~=
e
:
GetHandler
()
...
...
c87257460.lua
View file @
37d6ae07
...
...
@@ -81,7 +81,7 @@ function c87257460.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c87257460
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
23756165
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
1
,
tp
,
true
,
false
)
return
c
:
IsCode
(
23756165
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_LV
,
tp
,
true
,
false
)
end
function
c87257460
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -94,7 +94,7 @@ function c87257460.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c87257460
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_LV
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
end
end
c88095331.lua
View file @
37d6ae07
...
...
@@ -16,7 +16,7 @@ function c88095331.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c88095331
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
155
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_EVOLTILE
,
tp
,
false
,
false
)
end
function
c88095331
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -28,7 +28,7 @@ function c88095331.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c88095331
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
155
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
SUMMON_VALUE_EVOLTILE
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
rf
=
g
:
GetFirst
().
evolreg
if
rf
then
rf
(
g
:
GetFirst
())
end
end
...
...
c88996322.lua
View file @
37d6ae07
...
...
@@ -42,13 +42,13 @@ function c88996322.hspcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c88996322
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
133
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c88996322
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
133
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
c
:
RegisterFlagEffect
(
c
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
function
c88996322
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -60,7 +60,7 @@ function c88996322.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
function
c88996322
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
88996322
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
133
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
88996322
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c88996322
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
@@ -73,7 +73,7 @@ function c88996322.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c88996322
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
133
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c89974904.lua
View file @
37d6ae07
...
...
@@ -15,7 +15,7 @@ function c89974904.cfilter(c,tc)
and
c
:
IsSynchroSummonable
(
tc
)
end
function
c89974904
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
182
,
tp
,
false
,
false
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_SYNCHRO_MATERIAL
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
c89974904
.
cfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
)
end
function
c89974904
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
@@ -30,7 +30,7 @@ end
function
c89974904
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
182
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_SYNCHRO_MATERIAL
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
...
...
c90440725.lua
View file @
37d6ae07
...
...
@@ -45,11 +45,11 @@ function c90440725.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
90440725
,
0
,
0x21
,
-
2
,
-
2
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c90440725
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
c
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
c
end
function
c90440725
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -67,7 +67,7 @@ function c90440725.atkop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
end
function
c90440725
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
Duel
.
GetTurnPlayer
()
==
1
-
tp
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
Duel
.
GetTurnPlayer
()
==
1
-
tp
end
function
c90440725
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c90957527.lua
View file @
37d6ae07
...
...
@@ -73,7 +73,7 @@ function c90957527.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_COST
)
end
function
c90957527
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
121
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c90957527
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
@@ -92,10 +92,10 @@ function c90957527.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
2
,
2
,
nil
)
local
tc
=
sg
:
GetFirst
()
Duel
.
SpecialSummonStep
(
tc
,
121
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
tc
=
sg
:
GetNext
()
Duel
.
SpecialSummonStep
(
tc
,
121
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
Duel
.
SpecialSummonComplete
()
end
...
...
c92092092.lua
View file @
37d6ae07
...
...
@@ -35,10 +35,10 @@ function c92092092.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
92092092
,
0
,
0x21
,
0
,
1800
,
1
,
RACE_MACHINE
,
ATTRIBUTE_FIRE
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TUNER
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c92092092
.
indcon
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c92092092
.
indtg
(
e
,
c
)
return
c
~=
e
:
GetHandler
()
and
c
:
IsType
(
TYPE_TUNER
)
...
...
c92142169.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,7 @@ function c92142169.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c92142169
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--atkchange
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -29,7 +29,7 @@ function c92142169.spcon(e,c)
Duel
.
IsExistingMatchingCard
(
c92142169
.
filter
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c92142169
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c92142169
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsFaceup
()
end
...
...
c92373006.lua
View file @
37d6ae07
...
...
@@ -39,7 +39,7 @@ function c92373006.tgfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
end
function
c92373006
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
130
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c92373006
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetLocation
()
==
LOCATION_MZONE
and
chkc
:
GetControler
()
==
tp
and
c92373006
.
tgfilter
(
chkc
)
end
...
...
@@ -59,7 +59,7 @@ function c92373006.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c92373006
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
130
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
end
end
c92652813.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c92652813.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c92652813
.
spcon
)
e1
:
SetOperation
(
c92652813
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--damage
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -56,7 +56,7 @@ function c92652813.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
end
function
c92652813
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c92652813
.
dmfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetBaseAttack
()
>
0
...
...
c93483212.lua
View file @
37d6ae07
...
...
@@ -84,16 +84,16 @@ function c93483212.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c93483212
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
1
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c93483212
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c93483212
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c93483212
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
...
...
c9418365.lua
View file @
37d6ae07
...
...
@@ -9,7 +9,7 @@ function c9418365.initial_effect(c)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
e1
:
SetCondition
(
c9418365
.
spcon
)
e1
:
SetOperation
(
c9418365
.
spop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -41,7 +41,7 @@ function c9418365.spop(e,tp,eg,ep,ev,re,r,rp,c)
end
function
c9418365
.
hdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_DESTROY
)
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
and
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
tp
end
function
c9418365
.
hdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c94203886.lua
View file @
37d6ae07
...
...
@@ -7,7 +7,7 @@ function c94203886.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c94203886
.
spcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--lvchange
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -30,7 +30,7 @@ function c94203886.spcon(e,c)
Duel
.
IsExistingMatchingCard
(
c94203886
.
filter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c94203886
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c94203886
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
end
...
...
c94212438.lua
View file @
37d6ae07
...
...
@@ -51,14 +51,14 @@ function c94212438.plop(e,tp,eg,ep,ev,re,r,rp)
local
ids
=
{
31893528
,
67287533
,
94772232
,
30170981
}
local
id
=
ids
[
c
:
GetFlagEffect
(
94212438
)
+
1
]
local
res
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
16625614
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0
,
0x11
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
,
tp
,
181
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0
,
0x11
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
,
tp
,
SUMMON_VALUE_DARK_SANCTUARY
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
and
not
res
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
94212438
,
1
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c94212438
.
plfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
id
)
local
tc
=
g
:
GetFirst
()
if
tc
and
res
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
16625614
,
0
))
then
tc
:
AddMonsterAttribute
(
TYPE_NORMAL
,
ATTRIBUTE_DARK
,
RACE_FIEND
,
1
,
0
,
0
)
Duel
.
SpecialSummonStep
(
tc
,
181
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_VALUE_DARK_SANCTUARY
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
--immune
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c94772232.lua
View file @
37d6ae07
...
...
@@ -11,5 +11,5 @@ function c94772232.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c94772232
.
spcost
(
e
,
c
,
tp
,
sumtype
)
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
181
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_DARK_SANCTUARY
end
c95291684.lua
View file @
37d6ae07
...
...
@@ -8,7 +8,7 @@ function c95291684.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c95291684
.
sprcon
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -39,7 +39,7 @@ function c95291684.sprcon(e,c)
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c95291684
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c95291684
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c95291684
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
3
)
and
not
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c96914272.lua
View file @
37d6ae07
...
...
@@ -9,7 +9,7 @@ function c96914272.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c96914272
.
spcon
)
e1
:
SetOperation
(
c96914272
.
spop
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
SUMMON_VALUE_SELF
)
c
:
RegisterEffect
(
e1
)
--lv change
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -37,7 +37,7 @@ function c96914272.spop(e,tp,eg,ep,ev,re,r,rp,c)
e
:
SetLabel
(
g
:
GetFirst
():
GetLevel
())
end
function
c96914272
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c96914272
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c97232518.lua
View file @
37d6ae07
...
...
@@ -29,8 +29,8 @@ function c97232518.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
97232518
,
0
,
0x21
,
1900
,
0
,
5
,
RACE_THUNDER
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c97232518
.
indcon
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
c97403510.lua
View file @
37d6ae07
...
...
@@ -96,11 +96,11 @@ end
function
c97403510
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c97403510
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c97403510
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c99458769.lua
View file @
37d6ae07
...
...
@@ -31,11 +31,11 @@ function c99458769.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c99458769
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
SUMMON_VALUE_SELF
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c99458769
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
c99458769
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
constant.lua
View file @
37d6ae07
...
...
@@ -132,6 +132,14 @@ SUMMON_TYPE_SYNCHRO =0x46000000 --同调召唤
SUMMON_TYPE_XYZ
=
0x49000000
--超量召唤
SUMMON_TYPE_PENDULUM
=
0x4a000000
--灵摆召唤
SUMMON_TYPE_LINK
=
0x4c000000
--连接召唤
--Summon Value --特定的召唤方式
SUMMON_VALUE_SELF
=
0x1
--自身效果或条件
SUMMON_VALUE_BLACK_GARDEN
=
0x10
--黑色花园
SUMMON_VALUE_SYNCHRO_MATERIAL
=
0x11
--特殊召唤并作为同调素材(黑羽-东云之东风检查)
SUMMON_VALUE_DARK_SANCTUARY
=
0x12
--暗黑圣域
SUMMON_VALUE_LV
=
0x1000
--对应LV怪兽的效果
SUMMON_VALUE_GLADIATOR
=
0x2000
--剑斗兽
SUMMON_VALUE_EVOLTILE
=
0x4000
--进化虫
--Status --卡片当前状态
STATUS_DISABLED
=
0x0001
--效果被无效
STATUS_TO_ENABLE
=
0x0002
--将变成有效
...
...
utility.lua
View file @
37d6ae07
...
...
@@ -2234,12 +2234,12 @@ end
--sp_summon condition for gladiator beast monsters
function
Auxiliary
.
gbspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
return
st
&
SUMMON_VALUE_GLADIATOR
>
0
end
--sp_summon condition for evolsaur monsters
function
Auxiliary
.
evospcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
return
st
&
SUMMON_VALUE_EVOLTILE
>
0
end
--filter for necro_valley test
function
Auxiliary
.
NecroValleyFilter
(
f
)
...
...
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