Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-scripts-888
Commits
2c4e3992
Commit
2c4e3992
authored
Nov 06, 2024
by
wind2009
Committed by
GitHub
Nov 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update setcode (#2710)
* Update setcode * Update setcode
parent
23e95044
Changes
57
Hide whitespace changes
Inline
Side-by-side
Showing
57 changed files
with
105 additions
and
105 deletions
+105
-105
c16003979.lua
c16003979.lua
+2
-2
c16990348.lua
c16990348.lua
+1
-1
c20201255.lua
c20201255.lua
+1
-1
c2067935.lua
c2067935.lua
+2
-2
c24285858.lua
c24285858.lua
+1
-1
c25407406.lua
c25407406.lua
+2
-2
c25924653.lua
c25924653.lua
+2
-2
c2619149.lua
c2619149.lua
+2
-2
c26834022.lua
c26834022.lua
+1
-1
c27346636.lua
c27346636.lua
+2
-2
c28877100.lua
c28877100.lua
+1
-1
c29357956.lua
c29357956.lua
+2
-2
c3030892.lua
c3030892.lua
+1
-1
c30864377.lua
c30864377.lua
+4
-4
c31247589.lua
c31247589.lua
+1
-1
c33652635.lua
c33652635.lua
+3
-3
c35224440.lua
c35224440.lua
+1
-1
c3779662.lua
c3779662.lua
+4
-4
c38511382.lua
c38511382.lua
+2
-2
c41470137.lua
c41470137.lua
+1
-1
c4253484.lua
c4253484.lua
+1
-1
c42592719.lua
c42592719.lua
+1
-1
c48156348.lua
c48156348.lua
+3
-3
c50893987.lua
c50893987.lua
+2
-2
c52228131.lua
c52228131.lua
+1
-1
c52394047.lua
c52394047.lua
+4
-4
c52496105.lua
c52496105.lua
+2
-2
c52502677.lua
c52502677.lua
+2
-2
c52518793.lua
c52518793.lua
+1
-1
c55136228.lua
c55136228.lua
+2
-2
c57731460.lua
c57731460.lua
+2
-2
c5975022.lua
c5975022.lua
+1
-1
c612115.lua
c612115.lua
+1
-1
c62000467.lua
c62000467.lua
+4
-4
c66290900.lua
c66290900.lua
+3
-3
c66863374.lua
c66863374.lua
+4
-4
c67223587.lua
c67223587.lua
+2
-2
c67385964.lua
c67385964.lua
+2
-2
c73285669.lua
c73285669.lua
+1
-1
c7573135.lua
c7573135.lua
+2
-2
c76384284.lua
c76384284.lua
+1
-1
c77642288.lua
c77642288.lua
+1
-1
c78868776.lua
c78868776.lua
+1
-1
c79580323.lua
c79580323.lua
+2
-2
c80845034.lua
c80845034.lua
+1
-1
c8730435.lua
c8730435.lua
+2
-2
c88996322.lua
c88996322.lua
+2
-2
c89023486.lua
c89023486.lua
+1
-1
c90957527.lua
c90957527.lua
+3
-3
c92373006.lua
c92373006.lua
+3
-3
c93684009.lua
c93684009.lua
+3
-3
c96216229.lua
c96216229.lua
+1
-1
c97234686.lua
c97234686.lua
+1
-1
c9780364.lua
c9780364.lua
+2
-2
c98891840.lua
c98891840.lua
+1
-1
c99013397.lua
c99013397.lua
+2
-2
utility.lua
utility.lua
+1
-1
No files found.
c16003979.lua
View file @
2c4e3992
...
...
@@ -27,7 +27,7 @@ function c16003979.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c16003979
.
drcfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsDiscardable
()
end
function
c16003979
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16003979
.
drcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
@@ -52,7 +52,7 @@ function c16003979.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c16003979
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
16003979
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
16003979
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c16003979
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
c16990348.lua
View file @
2c4e3992
...
...
@@ -12,7 +12,7 @@ function c16990348.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c16990348
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c16990348
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsFaceup
()
end
...
...
c20201255.lua
View file @
2c4e3992
...
...
@@ -11,7 +11,7 @@ function c20201255.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c20201255
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
Duel
.
IsExistingMatchingCard
(
c20201255
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
:
GetRace
())
end
function
c20201255
.
filter1
(
c
,
race
)
...
...
c2067935.lua
View file @
2c4e3992
...
...
@@ -26,7 +26,7 @@ function c2067935.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c2067935
.
rmfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
function
c2067935
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c2067935
.
rmfilter
(
chkc
)
end
...
...
@@ -78,7 +78,7 @@ function c2067935.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c2067935
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
2067935
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
2067935
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c2067935
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c24285858.lua
View file @
2c4e3992
...
...
@@ -12,7 +12,7 @@ function c24285858.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c24285858
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeck
()
end
function
c24285858
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c24285858
.
filter
(
chkc
)
end
...
...
c25407406.lua
View file @
2c4e3992
...
...
@@ -35,10 +35,10 @@ function c25407406.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c25407406
.
eqlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
function
c25407406
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c25407406
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c25407406
.
filter
(
chkc
)
end
...
...
c25924653.lua
View file @
2c4e3992
...
...
@@ -33,7 +33,7 @@ function c25924653.initial_effect(c)
e1
:
SetLabelObject
(
e3
)
end
function
c25924653
.
spgfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
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
...
...
@@ -83,7 +83,7 @@ function c25924653.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c25924653
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
25924653
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
25924653
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c25924653
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c2619149.lua
View file @
2c4e3992
...
...
@@ -29,7 +29,7 @@ function c2619149.scon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
GetFlagEffect
(
2619149
)
>
0
and
aux
.
bdogcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
c2619149
.
sfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToHand
()
end
function
c2619149
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c2619149
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -52,7 +52,7 @@ function c2619149.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c2619149
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
2619149
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
2619149
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c2619149
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c26834022.lua
View file @
2c4e3992
...
...
@@ -12,7 +12,7 @@ function c26834022.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c26834022
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeck
()
end
function
c26834022
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
c27346636.lua
View file @
2c4e3992
...
...
@@ -3,7 +3,7 @@
function
c27346636
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
78868776
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x19
),
2
,
true
,
true
)
aux
.
AddFusionProcCodeFun
(
c
,
78868776
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x1
01
9
),
2
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
c27346636
.
cfilter
,
LOCATION_ONFIELD
,
0
,
aux
.
tdcfop
(
c
))
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -30,7 +30,7 @@ function c27346636.splimit(e,se,sp,st)
return
e
:
GetHandler
():
GetLocation
()
~=
LOCATION_EXTRA
end
function
c27346636
.
cfilter
(
c
)
return
(
c
:
IsFusionCode
(
78868776
)
or
c
:
IsFusionSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
))
return
(
c
:
IsFusionCode
(
78868776
)
or
c
:
IsFusionSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
c27346636
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c28877100.lua
View file @
2c4e3992
...
...
@@ -11,7 +11,7 @@ function c28877100.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c28877100
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c28877100
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c28877100
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
c29357956.lua
View file @
2c4e3992
...
...
@@ -3,7 +3,7 @@
function
c29357956
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x19
),
3
,
true
)
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x1
01
9
),
3
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToDeckOrExtraAsCost
,
LOCATION_MZONE
,
0
,
aux
.
tdcfop
(
c
))
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -56,7 +56,7 @@ function c29357956.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
function
c29357956
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c29357956
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
c3030892.lua
View file @
2c4e3992
...
...
@@ -16,7 +16,7 @@ function c3030892.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
function
c3030892
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c3030892
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
c30864377.lua
View file @
2c4e3992
...
...
@@ -42,13 +42,13 @@ function c30864377.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c30864377
.
matfilter
(
c
)
return
c
:
IsLevelAbove
(
5
)
and
c
:
IsFusionSetCard
(
0x19
)
return
c
:
IsLevelAbove
(
5
)
and
c
:
IsFusionSetCard
(
0x1
01
9
)
end
function
c30864377
.
splimit
(
e
,
se
,
sp
,
st
)
return
e
:
GetHandler
():
GetLocation
()
~=
LOCATION_EXTRA
end
function
c30864377
.
espfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_FUSION
)
and
not
c
:
IsCode
(
30864377
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_FUSION
)
and
not
c
:
IsCode
(
30864377
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
function
c30864377
.
esptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -63,7 +63,7 @@ function c30864377.espop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c30864377
.
spcfilter
(
c
,
ft
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
c
:
GetBattledGroupCount
()
>
0
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
GetBattledGroupCount
()
>
0
and
c
:
IsAbleToDeckOrExtraAsCost
()
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
end
function
c30864377
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -75,7 +75,7 @@ function c30864377.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c30864377
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
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
...
...
c31247589.lua
View file @
2c4e3992
...
...
@@ -33,7 +33,7 @@ function c31247589.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c31247589
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
31247589
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
31247589
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c31247589
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c33652635.lua
View file @
2c4e3992
...
...
@@ -3,7 +3,7 @@
function
c33652635
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--fusion
aux
.
AddFusionProcCodeFun
(
c
,
88996322
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x19
),
2
,
true
,
true
)
aux
.
AddFusionProcCodeFun
(
c
,
88996322
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x1
01
9
),
2
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
c33652635
.
cfilter
,
LOCATION_ONFIELD
,
0
,
aux
.
tdcfop
(
c
))
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -50,7 +50,7 @@ function c33652635.splimit(e,se,sp,st)
return
e
:
GetHandler
():
GetLocation
()
~=
LOCATION_EXTRA
end
function
c33652635
.
cfilter
(
c
)
return
(
c
:
IsFusionCode
(
88996322
)
or
c
:
IsFusionSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsAbleToDeckOrExtraAsCost
()
return
(
c
:
IsFusionCode
(
88996322
)
or
c
:
IsFusionSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
c33652635
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
@@ -76,7 +76,7 @@ function c33652635.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
function
c33652635
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c33652635
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
c35224440.lua
View file @
2c4e3992
...
...
@@ -11,7 +11,7 @@ function c35224440.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c35224440
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsAbleToHand
()
end
function
c35224440
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c35224440
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c3779662.lua
View file @
2c4e3992
...
...
@@ -2,7 +2,7 @@
---@param c Card
function
c3779662
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
7573135
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x19
),
2
,
true
,
true
)
aux
.
AddFusionProcCodeFun
(
c
,
7573135
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x1
01
9
),
2
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
c3779662
.
cfilter
,
LOCATION_ONFIELD
,
0
,
aux
.
tdcfop
(
c
)):
SetValue
(
SUMMON_VALUE_SELF
)
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -39,14 +39,14 @@ function c3779662.splimit(e,se,sp,st)
return
e
:
GetHandler
():
GetLocation
()
~=
LOCATION_EXTRA
end
function
c3779662
.
cfilter
(
c
)
return
(
c
:
IsFusionCode
(
7573135
)
or
c
:
IsFusionSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
))
return
(
c
:
IsFusionCode
(
7573135
)
or
c
:
IsFusionSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
c3779662
.
espcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsLevelBelow
(
7
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
function
c3779662
.
esptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -69,7 +69,7 @@ function c3779662.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
function
c3779662
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c3779662
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
c38511382.lua
View file @
2c4e3992
...
...
@@ -30,7 +30,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x19b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x1
1
9b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingTarget
(
aux
.
NegateAnyFilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
Group
.
FromCards
(
c
,
e
:
GetHandler
()))
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -77,7 +77,7 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp)
local
te
,
p
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
if
not
te
or
p
~=
tp
then
return
false
end
local
tc
=
te
:
GetHandler
()
return
tc
:
IsSetCard
(
0x19b
)
and
te
:
IsActiveType
(
TYPE_MONSTER
)
or
tc
:
IsSetCard
(
0x19e
)
return
tc
:
IsSetCard
(
0x1
1
9b
)
and
te
:
IsActiveType
(
TYPE_MONSTER
)
or
tc
:
IsSetCard
(
0x19e
)
and
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c41470137.lua
View file @
2c4e3992
...
...
@@ -50,7 +50,7 @@ function c41470137.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c41470137
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c41470137
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c4253484.lua
View file @
2c4e3992
...
...
@@ -33,7 +33,7 @@ function c4253484.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c4253484
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
4253484
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
4253484
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c4253484
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c42592719.lua
View file @
2c4e3992
...
...
@@ -48,7 +48,7 @@ function c42592719.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c42592719
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
42592719
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
42592719
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c42592719
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c48156348.lua
View file @
2c4e3992
...
...
@@ -3,7 +3,7 @@
function
c48156348
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
41470137
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x19
),
1
,
true
,
true
)
aux
.
AddFusionProcCodeFun
(
c
,
41470137
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x1
01
9
),
1
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
c48156348
.
cfilter
,
LOCATION_ONFIELD
,
0
,
aux
.
tdcfop
(
c
))
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -39,7 +39,7 @@ function c48156348.splimit(e,se,sp,st)
return
e
:
GetHandler
():
GetLocation
()
~=
LOCATION_EXTRA
end
function
c48156348
.
cfilter
(
c
)
return
(
c
:
IsFusionCode
(
41470137
)
or
c
:
IsFusionSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
))
return
(
c
:
IsFusionCode
(
41470137
)
or
c
:
IsFusionSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
c48156348
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
@@ -65,7 +65,7 @@ function c48156348.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
function
c48156348
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
41470137
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c48156348
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
c50893987.lua
View file @
2c4e3992
...
...
@@ -21,14 +21,14 @@ function c50893987.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c50893987
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsDiscardable
()
end
function
c50893987
.
sccost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50893987
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
c50893987
.
costfilter
,
1
,
1
,
REASON_DISCARD
+
REASON_COST
,
nil
)
end
function
c50893987
.
scfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c50893987
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50893987
.
scfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c52228131.lua
View file @
2c4e3992
...
...
@@ -12,7 +12,7 @@ function c52228131.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c52228131
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeck
()
end
function
c52228131
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
c52394047.lua
View file @
2c4e3992
...
...
@@ -38,13 +38,13 @@ function c52394047.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c52394047
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c52394047
.
macon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c52394047
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c52394047
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeckAsCost
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeckAsCost
()
end
function
c52394047
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c52394047
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
@@ -54,7 +54,7 @@ function c52394047.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c52394047
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
c
:
GetBaseDefense
()
>
0
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
GetBaseDefense
()
>
0
end
function
c52394047
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c52394047
.
atkfilter
(
chkc
)
end
...
...
@@ -89,5 +89,5 @@ function c52394047.indop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c52394047
.
target
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
c52496105.lua
View file @
2c4e3992
...
...
@@ -35,10 +35,10 @@ function c52496105.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c52496105
.
eqlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
function
c52496105
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c52496105
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c52496105
.
filter
(
chkc
)
end
...
...
c52502677.lua
View file @
2c4e3992
...
...
@@ -25,7 +25,7 @@ function c52502677.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c52502677
.
costfilter
(
c
,
ec
)
return
c
:
IsSetCard
(
0x19
)
and
not
c
:
IsCode
(
52502677
)
and
not
c
:
IsCode
(
ec
:
GetCode
())
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
not
c
:
IsCode
(
52502677
)
and
not
c
:
IsCode
(
ec
:
GetCode
())
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c52502677
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
@@ -62,7 +62,7 @@ function c52502677.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c52502677
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
52502677
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
52502677
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c52502677
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
c52518793.lua
View file @
2c4e3992
...
...
@@ -21,7 +21,7 @@ function c52518793.initial_effect(c)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x19
))
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x1
01
9
))
e3
:
SetValue
(
c52518793
.
atkval
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
...
...
c55136228.lua
View file @
2c4e3992
...
...
@@ -27,7 +27,7 @@ function c55136228.condition(e,tp,eg,ep,ev,re,r,rp)
return
true
end
function
c55136228
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c55136228
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c55136228
.
filter
(
chkc
)
end
...
...
@@ -47,7 +47,7 @@ function c55136228.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c55136228
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeckAsCost
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeckAsCost
()
end
function
c55136228
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c55136228
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
e
:
GetHandler
())
end
...
...
c57731460.lua
View file @
2c4e3992
...
...
@@ -26,7 +26,7 @@ function c57731460.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c57731460
.
retfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToHand
()
end
function
c57731460
.
rettg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c57731460
.
retfilter
(
chkc
)
end
...
...
@@ -50,7 +50,7 @@ function c57731460.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c57731460
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
57731460
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
57731460
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c57731460
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c5975022.lua
View file @
2c4e3992
...
...
@@ -50,7 +50,7 @@ function c5975022.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c5975022
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
5975022
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
5975022
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c5975022
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c612115.lua
View file @
2c4e3992
...
...
@@ -47,7 +47,7 @@ function c612115.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c612115
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
612115
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
612115
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c612115
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c62000467.lua
View file @
2c4e3992
...
...
@@ -3,7 +3,7 @@
function
c62000467
.
initial_effect
(
c
)
--link summon
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0x19
),
2
,
2
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0x1
01
9
),
2
,
2
)
--indes
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -38,12 +38,12 @@ function c62000467.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c62000467
.
indtg
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
and
Duel
.
GetAttacker
()
==
c
return
c
:
IsSetCard
(
0x1
01
9
)
and
Duel
.
GetAttacker
()
==
c
end
function
c62000467
.
actcon
(
e
)
local
tc
=
Duel
.
GetAttacker
()
local
tp
=
e
:
GetHandlerPlayer
()
return
tc
and
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x19
)
return
tc
and
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x1
01
9
)
end
function
c62000467
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetBattledGroupCount
()
>
0
...
...
@@ -54,7 +54,7 @@ function c62000467.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
function
c62000467
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c62000467
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
c66290900.lua
View file @
2c4e3992
...
...
@@ -15,7 +15,7 @@ function c66290900.initial_effect(c)
Duel
.
AddCustomActivityCounter
(
66290900
,
ACTIVITY_ATTACK
,
c66290900
.
counterfilter
)
end
function
c66290900
.
counterfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
function
c66290900
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
66290900
,
tp
,
ACTIVITY_ATTACK
)
==
0
end
...
...
@@ -29,7 +29,7 @@ function c66290900.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c66290900
.
atktg
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x19
)
return
not
c
:
IsSetCard
(
0x1
01
9
)
end
function
c66290900
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
...
...
@@ -39,7 +39,7 @@ function c66290900.filter1(c,e)
return
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c66290900
.
filter2
(
c
,
e
,
tp
,
m
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
,
true
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
,
true
)
end
function
c66290900
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
c66863374.lua
View file @
2c4e3992
...
...
@@ -29,13 +29,13 @@ function c66863374.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c66863374
.
lcheck
(
g
,
lc
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0x19
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0x1
01
9
)
end
function
c66863374
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
c66863374
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToHand
()
end
function
c66863374
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c66863374
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -50,11 +50,11 @@ function c66863374.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c66863374
.
tdfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c66863374
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
)
end
function
c66863374
.
spfilter
(
c
,
e
,
tp
,
tc
)
return
c
:
IsSetCard
(
0x19
)
and
not
c
:
IsOriginalCodeRule
(
tc
:
GetOriginalCodeRule
())
return
c
:
IsSetCard
(
0x1
01
9
)
and
not
c
:
IsOriginalCodeRule
(
tc
:
GetOriginalCodeRule
())
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c66863374
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c67223587.lua
View file @
2c4e3992
...
...
@@ -12,13 +12,13 @@ function c67223587.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c67223587
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSummonPlayer
(
tp
)
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSummonPlayer
(
tp
)
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c67223587
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c67223587
.
cfilter
,
1
,
nil
,
tp
)
end
function
c67223587
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c67223587
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
c67385964.lua
View file @
2c4e3992
...
...
@@ -63,7 +63,7 @@ function c67385964.hspop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c67385964
.
tgfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToGrave
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToGrave
()
end
function
c67385964
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c67385964
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -85,7 +85,7 @@ function c67385964.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c67385964
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
67385964
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
67385964
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c67385964
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c73285669.lua
View file @
2c4e3992
...
...
@@ -3,7 +3,7 @@
function
c73285669
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x19
),
2
,
true
)
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x1
01
9
),
2
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToDeckOrExtraAsCost
,
LOCATION_MZONE
,
0
,
aux
.
tdcfop
(
c
))
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c7573135.lua
View file @
2c4e3992
...
...
@@ -25,7 +25,7 @@ function c7573135.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c7573135
.
hspfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
function
c7573135
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -74,7 +74,7 @@ function c7573135.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c7573135
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
not
c
:
IsCode
(
7573135
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
not
c
:
IsCode
(
7573135
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c7573135
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c76384284.lua
View file @
2c4e3992
...
...
@@ -12,7 +12,7 @@ function c76384284.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c76384284
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
end
function
c76384284
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
>
0
...
...
c77642288.lua
View file @
2c4e3992
...
...
@@ -19,7 +19,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
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
77642288
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c77642288
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c78868776.lua
View file @
2c4e3992
...
...
@@ -33,7 +33,7 @@ function c78868776.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c78868776
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
78868776
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
78868776
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c78868776
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c79580323.lua
View file @
2c4e3992
...
...
@@ -34,7 +34,7 @@ function c79580323.splimit(e,se,sp,st)
return
se
:
GetHandler
():
IsCode
(
4253484
)
or
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
function
c79580323
.
sfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
IsAbleToHand
()
end
function
c79580323
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -57,7 +57,7 @@ function c79580323.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c79580323
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c79580323
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
c80845034.lua
View file @
2c4e3992
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
1
9b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
c8730435.lua
View file @
2c4e3992
...
...
@@ -36,10 +36,10 @@ function c8730435.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c8730435
.
eqlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
function
c8730435
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c8730435
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c8730435
.
filter
(
chkc
)
end
...
...
c88996322.lua
View file @
2c4e3992
...
...
@@ -39,7 +39,7 @@ function c88996322.hspcon(e,tp,eg,ep,ev,re,r,rp)
local
d
=
Duel
.
GetAttackTarget
()
if
not
d
then
return
false
end
if
d
:
IsControler
(
tp
)
then
a
,
d
=
d
,
a
end
return
a
:
IsSetCard
(
0x19
)
and
a
:
IsFaceup
()
return
a
:
IsSetCard
(
0x1
01
9
)
and
a
:
IsFaceup
()
end
function
c88996322
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -61,7 +61,7 @@ function c88996322.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
function
c88996322
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
88996322
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
88996322
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c88996322
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
...
c89023486.lua
View file @
2c4e3992
...
...
@@ -51,7 +51,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
s
.
rfilter
(
c
)
return
c
:
IsSetCard
(
0x19c
,
0x19b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x19c
,
0x1
1
9b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeck
()
end
function
s
.
sfilter
(
c
)
return
c
:
IsLevel
(
1
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
...
...
c90957527.lua
View file @
2c4e3992
...
...
@@ -3,7 +3,7 @@
function
c90957527
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
79580323
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x19
),
1
,
true
,
true
)
aux
.
AddFusionProcCodeFun
(
c
,
79580323
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x1
01
9
),
1
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
c90957527
.
cfilter
,
LOCATION_ONFIELD
,
0
,
aux
.
tdcfop
(
c
))
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -39,7 +39,7 @@ function c90957527.splimit(e,se,sp,st)
return
e
:
GetHandler
():
GetLocation
()
~=
LOCATION_EXTRA
end
function
c90957527
.
cfilter
(
c
)
return
(
c
:
IsFusionCode
(
79580323
)
or
c
:
IsFusionSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
))
return
(
c
:
IsFusionCode
(
79580323
)
or
c
:
IsFusionSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
c90957527
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -74,7 +74,7 @@ function c90957527.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKTOP
,
REASON_COST
)
end
function
c90957527
.
filter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
79580323
)
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c90957527
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
c92373006.lua
View file @
2c4e3992
...
...
@@ -23,7 +23,7 @@ function c92373006.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c92373006
.
sprfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c92373006
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
@@ -37,10 +37,10 @@ function c92373006.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
c
,
REASON_COST
)
end
function
c92373006
.
tgfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeck
()
end
function
c92373006
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
c92373006
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c92373006
.
tgfilter
(
chkc
)
end
...
...
c93684009.lua
View file @
2c4e3992
...
...
@@ -35,16 +35,16 @@ function c93684009.tgcon(e)
return
not
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
end
function
c93684009
.
tglimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
function
c93684009
.
cfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsPreviousControler
(
tp
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsPreviousControler
(
tp
)
end
function
c93684009
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c93684009
.
cfilter
,
1
,
nil
,
tp
)
end
function
c93684009
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
not
Duel
.
IsExistingMatchingCard
(
c93684009
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
:
GetRace
())
end
function
c93684009
.
filter1
(
c
,
race
)
...
...
c96216229.lua
View file @
2c4e3992
...
...
@@ -13,7 +13,7 @@ function c96216229.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c96216229
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c96216229
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c96216229
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
c97234686.lua
View file @
2c4e3992
...
...
@@ -12,7 +12,7 @@ function c97234686.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c97234686
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c97234686
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c97234686
.
filter
,
1
,
nil
,
tp
)
...
...
c9780364.lua
View file @
2c4e3992
...
...
@@ -13,7 +13,7 @@ function c9780364.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c9780364
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c9780364
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9780364
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
...
...
@@ -22,7 +22,7 @@ function c9780364.filter(c,e)
return
c
:
IsFaceup
()
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsCanChangePosition
()
end
function
c9780364
.
filter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToChangeControler
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToChangeControler
()
end
function
c9780364
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsFaceup
()
end
...
...
c98891840.lua
View file @
2c4e3992
...
...
@@ -12,7 +12,7 @@ function c98891840.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c98891840
.
filter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x1
01
9
)
and
c
:
IsAbleToDeck
()
end
function
c98891840
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
3
)
...
...
c99013397.lua
View file @
2c4e3992
...
...
@@ -41,10 +41,10 @@ function c99013397.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c99013397
.
eqlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x19
)
return
c
:
IsSetCard
(
0x1
01
9
)
end
function
c99013397
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x19
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1
01
9
)
end
function
c99013397
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c99013397
.
filter
(
chkc
)
end
...
...
utility.lua
View file @
2c4e3992
...
...
@@ -863,7 +863,7 @@ end
function
Auxiliary
.
gbspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
typ
=
c
:
GetSpecialSummonInfo
(
SUMMON_INFO_TYPE
)
return
c
:
IsSummonType
(
SUMMON_VALUE_GLADIATOR
)
or
(
typ
&
TYPE_MONSTER
~=
0
and
c
:
IsSpecialSummonSetCard
(
0x19
))
return
c
:
IsSummonType
(
SUMMON_VALUE_GLADIATOR
)
or
(
typ
&
TYPE_MONSTER
~=
0
and
c
:
IsSpecialSummonSetCard
(
0x1
01
9
))
end
--sp_summon condition for evolsaur monsters
function
Auxiliary
.
evospcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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