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
0
Merge Requests
0
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
Vee4
ygopro-scripts-888
Commits
98e6bcb3
Commit
98e6bcb3
authored
Jul 07, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more sid
parent
a15194ab
Changes
88
Show whitespace changes
Inline
Side-by-side
Showing
88 changed files
with
366 additions
and
362 deletions
+366
-362
c10602628.lua
c10602628.lua
+1
-1
c109401.lua
c109401.lua
+1
-1
c12018201.lua
c12018201.lua
+1
-1
c12496261.lua
c12496261.lua
+1
-1
c14577226.lua
c14577226.lua
+1
-1
c15248594.lua
c15248594.lua
+1
-1
c16172067.lua
c16172067.lua
+1
-1
c21187631.lua
c21187631.lua
+1
-1
c21368273.lua
c21368273.lua
+1
-1
c23693634.lua
c23693634.lua
+51
-50
c25200959.lua
c25200959.lua
+1
-1
c25862681.lua
c25862681.lua
+1
-1
c26326541.lua
c26326541.lua
+3
-3
c27572350.lua
c27572350.lua
+2
-2
c28403802.lua
c28403802.lua
+1
-1
c286392.lua
c286392.lua
+1
-1
c29143457.lua
c29143457.lua
+1
-1
c3040496.lua
c3040496.lua
+85
-85
c30607616.lua
c30607616.lua
+1
-1
c34800281.lua
c34800281.lua
+1
-1
c3486020.lua
c3486020.lua
+76
-75
c35834119.lua
c35834119.lua
+2
-2
c36016907.lua
c36016907.lua
+1
-1
c36556781.lua
c36556781.lua
+1
-1
c36629635.lua
c36629635.lua
+3
-3
c36857073.lua
c36857073.lua
+2
-2
c37706769.lua
c37706769.lua
+1
-1
c39475024.lua
c39475024.lua
+1
-1
c40251688.lua
c40251688.lua
+1
-1
c40551410.lua
c40551410.lua
+3
-3
c40939228.lua
c40939228.lua
+1
-0
c4103668.lua
c4103668.lua
+1
-1
c43202238.lua
c43202238.lua
+1
-1
c43698897.lua
c43698897.lua
+1
-1
c47674738.lua
c47674738.lua
+1
-1
c47710198.lua
c47710198.lua
+2
-2
c49816630.lua
c49816630.lua
+2
-2
c5041348.lua
c5041348.lua
+1
-1
c50793215.lua
c50793215.lua
+1
-1
c50907446.lua
c50907446.lua
+1
-1
c52145422.lua
c52145422.lua
+1
-1
c53325667.lua
c53325667.lua
+1
-1
c53389254.lua
c53389254.lua
+1
-1
c5772618.lua
c5772618.lua
+1
-1
c61272280.lua
c61272280.lua
+1
-1
c62941499.lua
c62941499.lua
+1
-1
c63101468.lua
c63101468.lua
+1
-1
c63180841.lua
c63180841.lua
+1
-1
c63261835.lua
c63261835.lua
+1
-1
c63265554.lua
c63265554.lua
+1
-1
c63612442.lua
c63612442.lua
+3
-3
c65037172.lua
c65037172.lua
+1
-1
c67508932.lua
c67508932.lua
+5
-5
c69522668.lua
c69522668.lua
+1
-1
c73079836.lua
c73079836.lua
+1
-1
c73104892.lua
c73104892.lua
+1
-1
c73667937.lua
c73667937.lua
+3
-3
c76524506.lua
c76524506.lua
+1
-1
c77075360.lua
c77075360.lua
+1
-1
c77092311.lua
c77092311.lua
+1
-1
c77571454.lua
c77571454.lua
+1
-1
c77656797.lua
c77656797.lua
+1
-1
c77855162.lua
c77855162.lua
+1
-1
c79656239.lua
c79656239.lua
+1
-1
c80159717.lua
c80159717.lua
+40
-39
c80949182.lua
c80949182.lua
+1
-1
c81019803.lua
c81019803.lua
+1
-1
c81983656.lua
c81983656.lua
+2
-2
c82197831.lua
c82197831.lua
+1
-1
c82570174.lua
c82570174.lua
+1
-1
c84664085.lua
c84664085.lua
+1
-1
c87188910.lua
c87188910.lua
+1
-1
c87669904.lua
c87669904.lua
+3
-3
c87746184.lua
c87746184.lua
+1
-1
c88234821.lua
c88234821.lua
+2
-2
c89907227.lua
c89907227.lua
+6
-6
c90036274.lua
c90036274.lua
+1
-1
c9061682.lua
c9061682.lua
+1
-1
c91397409.lua
c91397409.lua
+1
-1
c92519087.lua
c92519087.lua
+1
-1
c9396662.lua
c9396662.lua
+3
-3
c9464441.lua
c9464441.lua
+1
-1
c94677445.lua
c94677445.lua
+1
-1
c97007933.lua
c97007933.lua
+1
-1
c9753964.lua
c9753964.lua
+1
-1
c98506199.lua
c98506199.lua
+1
-1
c99543666.lua
c99543666.lua
+1
-1
c99937842.lua
c99937842.lua
+1
-1
No files found.
c10602628.lua
View file @
98e6bcb3
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCountLimit
(
1
,
10602629
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
aux
.
bdogcon
)
e2
:
SetCost
(
s
.
spcost
)
e2
:
SetTarget
(
s
.
sptg
)
...
...
c109401.lua
View file @
98e6bcb3
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCountLimit
(
1
,
109402
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetTarget
(
s
.
damtg
)
e2
:
SetOperation
(
s
.
damop
)
c
:
RegisterEffect
(
e2
)
...
...
c12018201.lua
View file @
98e6bcb3
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetCountLimit
(
1
,
12018202
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c12496261.lua
View file @
98e6bcb3
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
12496262
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetTarget
(
s
.
eqstg
)
e2
:
SetOperation
(
s
.
eqsop
)
c
:
RegisterEffect
(
e2
)
...
...
c14577226.lua
View file @
98e6bcb3
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
14577227
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c15248594.lua
View file @
98e6bcb3
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetCountLimit
(
1
,
15248595
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
thcon
)
e2
:
SetTarget
(
s
.
thtg
)
e2
:
SetOperation
(
s
.
thop
)
...
...
c16172067.lua
View file @
98e6bcb3
...
...
@@ -31,7 +31,7 @@ function s.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
16172068
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCondition
(
s
.
discon
)
e3
:
SetTarget
(
s
.
distg
)
...
...
c21187631.lua
View file @
98e6bcb3
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCountLimit
(
1
,
21187632
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c21368273.lua
View file @
98e6bcb3
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
21368274
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetTarget
(
s
.
lvtg
)
e2
:
SetOperation
(
s
.
lvop
)
c
:
RegisterEffect
(
e2
)
...
...
c23693634.lua
View file @
98e6bcb3
--ギガンテック・ファイター
function
c23693634
.
initial_effect
(
c
)
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
Synchro
.
AddSynchroProcedure
(
c
)
...
...
@@ -10,39 +11,39 @@ function c23693634.initial_effect(c)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
c23693634
.
atkval
)
e1
:
SetValue
(
s
.
atkval
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
23693634
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e2
:
SetCondition
(
c23693634
.
sumcon
)
e2
:
SetTarget
(
c23693634
.
sumtg
)
e2
:
SetOperation
(
c23693634
.
sumop
)
e2
:
SetCondition
(
s
.
sumcon
)
e2
:
SetTarget
(
s
.
sumtg
)
e2
:
SetOperation
(
s
.
sumop
)
c
:
RegisterEffect
(
e2
)
end
function
c23693634
.
atkval
(
e
,
c
)
function
s
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsRace
,
c
:
GetControler
(),
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
,
RACE_WARRIOR
)
*
100
end
function
c23693634
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetLocation
()
==
LOCATION_GRAVE
and
bit
.
band
(
e
:
GetHandler
():
GetReason
(),
REASON_BATTLE
)
~=
0
end
function
c23693634
.
filter
(
c
,
e
,
tp
)
function
s
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c23693634
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c23693634
.
filter
(
chkc
,
e
,
tp
)
end
function
s
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
s
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c23693634
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c23693634
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
function
c23693634
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRace
(
RACE_WARRIOR
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
c25200959.lua
View file @
98e6bcb3
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCountLimit
(
1
,
25200960
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
drcon
)
e2
:
SetTarget
(
s
.
drtg
)
e2
:
SetOperation
(
s
.
drop
)
...
...
c25862681.lua
View file @
98e6bcb3
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_RECOVER
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
25862682
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCost
(
s
.
cost
)
e2
:
SetTarget
(
s
.
destg
)
e2
:
SetOperation
(
s
.
desop
)
...
...
c26326541.lua
View file @
98e6bcb3
...
...
@@ -43,13 +43,13 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
26326542
,
0xd9
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_ZOMBIE
,
ATTRIBUTE_FIRE
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0xd9
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_ZOMBIE
,
ATTRIBUTE_FIRE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
s
.
tkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
26326542
,
0xd9
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_ZOMBIE
,
ATTRIBUTE_FIRE
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
26326542
)
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0xd9
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_ZOMBIE
,
ATTRIBUTE_FIRE
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
c27572350.lua
View file @
98e6bcb3
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
27572351
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
discon
)
e2
:
SetTarget
(
s
.
distg
)
e2
:
SetOperation
(
s
.
disop
)
...
...
@@ -38,7 +38,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
27572351
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
descon
)
e3
:
SetTarget
(
s
.
destg
)
e3
:
SetOperation
(
s
.
desop
)
...
...
c28403802.lua
View file @
98e6bcb3
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
28403803
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c286392.lua
View file @
98e6bcb3
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
286393
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCost
(
s
.
spcost
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c29143457.lua
View file @
98e6bcb3
...
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCountLimit
(
1
,
29143458
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
thcon
)
e2
:
SetTarget
(
s
.
thtg
)
e2
:
SetOperation
(
s
.
thop
)
...
...
c3040496.lua
View file @
98e6bcb3
--混沌魔龍 カオス・ルーラー
local
s
,
id
,
o
=
GetID
()
function
c3040496
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
Synchro
.
AddSynchroProcedure
(
c
)
c
:
EnableReviveLimit
()
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
3040496
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
3040496
)
e1
:
SetCondition
(
c3040496
.
thcon
)
e1
:
SetTarget
(
c3040496
.
thtg
)
e1
:
SetOperation
(
c3040496
.
thop
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
thcon
)
e1
:
SetTarget
(
s
.
thtg
)
e1
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
3040497
)
e2
:
SetCost
(
c3040496
.
spcost
)
e2
:
SetTarget
(
c3040496
.
sptg
)
e2
:
SetOperation
(
c3040496
.
spop
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCost
(
s
.
spcost
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c3040496
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
function
c3040496
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
+
ATTRIBUTE_DARK
)
and
c
:
IsAbleToHand
()
end
function
c3040496
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
5
)
end
end
function
c3040496
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
5
)
then
Duel
.
ConfirmDecktop
(
tp
,
5
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
5
)
if
g
:
GetCount
()
>
0
then
Duel
.
DisableShuffleCheck
()
if
g
:
IsExists
(
c3040496
.
thfilter
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
3040496
,
1
))
then
if
g
:
IsExists
(
s
.
thfilter
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
FilterSelect
(
tp
,
c3040496
.
thfilter
,
1
,
1
,
nil
)
local
sg
=
g
:
FilterSelect
(
tp
,
s
.
thfilter
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
ShuffleHand
(
tp
)
...
...
@@ -55,22 +55,22 @@ function c3040496.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c3040496
.
costfilter
(
c
)
function
s
.
costfilter
(
c
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
+
ATTRIBUTE_DARK
)
end
function
c3040496
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
c3040496
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
e
:
GetHandler
())
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
e
:
GetHandler
())
if
chk
==
0
then
return
g
:
CheckSubGroup
(
aux
.
gfcheck
,
2
,
2
,
Card
.
IsAttribute
,
ATTRIBUTE_LIGHT
,
ATTRIBUTE_DARK
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
gfcheck
,
false
,
2
,
2
,
Card
.
IsAttribute
,
ATTRIBUTE_LIGHT
,
ATTRIBUTE_DARK
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
end
function
c3040496
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
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
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
function
c3040496
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c30607616.lua
View file @
98e6bcb3
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
30607617
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c34800281.lua
View file @
98e6bcb3
...
...
@@ -21,7 +21,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
34800282
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
xyzcon
)
e2
:
SetTarget
(
s
.
xyztg
)
e2
:
SetOperation
(
s
.
xyzop
)
...
...
c3486020.lua
View file @
98e6bcb3
--麗の魔妖-妖狐
function
c3486020
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
3486020
)
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
id
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
Synchro
.
AddSynchroProcedure
(
c
)
c
:
EnableReviveLimit
()
--destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
3486020
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
3486020
)
e1
:
SetCondition
(
c3486020
.
condition
)
e1
:
SetTarget
(
c3486020
.
target
)
e1
:
SetOperation
(
c3486020
.
operation
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
condition
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
operation
)
c
:
RegisterEffect
(
e1
)
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
3486020
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
3486021
)
e2
:
SetCondition
(
c3486020
.
spcon
)
e2
:
SetTarget
(
c3486020
.
sptg
)
e2
:
SetOperation
(
c3486020
.
spop
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c3486020
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_GRAVE
)
end
function
c3486020
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
chk
==
0
then
return
#
g
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
function
c3486020
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
@@ -47,28 +48,28 @@ function c3486020.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
function
c3486020
.
spfilter
(
c
,
tp
)
function
s
.
spfilter
(
c
,
tp
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
GetPreviousTypeOnField
()
&
TYPE_SYNCHRO
~=
0
and
c
:
GetOriginalLevel
()
==
11
and
(
c
:
IsReason
(
REASON_BATTLE
)
or
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
==
1
-
tp
)
end
function
c3486020
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
c3486020
.
spfilter
,
1
,
nil
,
tp
)
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
s
.
spfilter
,
1
,
nil
,
tp
)
end
function
c3486020
.
rmfilter
(
c
)
function
s
.
rmfilter
(
c
)
return
c
:
IsAbleToRemove
()
and
c
:
IsRace
(
RACE_ZOMBIE
)
end
function
c3486020
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
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
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
c3486020
.
rmfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
)
end
and
Duel
.
IsExistingMatchingCard
(
s
.
rmfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
c3486020
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c3486020
.
rmfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
rmfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
c
)
if
#
g
>
0
and
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
c35834119.lua
View file @
98e6bcb3
...
...
@@ -37,7 +37,7 @@ end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
35834120
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_FISH
,
ATTRIBUTE_FIRE
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_FISH
,
ATTRIBUTE_FIRE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
0
,
0
)
end
...
...
@@ -52,7 +52,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
2
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
35834120
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_FISH
,
ATTRIBUTE_FIRE
)
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_FISH
,
ATTRIBUTE_FIRE
)
then
return
end
for
i
=
1
,
2
do
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
c36016907.lua
View file @
98e6bcb3
...
...
@@ -21,7 +21,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e2
:
SetCountLimit
(
1
,
36016908
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon2
)
e2
:
SetTarget
(
s
.
sptg2
)
e2
:
SetOperation
(
s
.
spop2
)
...
...
c36556781.lua
View file @
98e6bcb3
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
36556782
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCost
(
s
.
rmcost
)
e2
:
SetTarget
(
s
.
rmtg
)
e2
:
SetOperation
(
s
.
rmop
)
...
...
c36629635.lua
View file @
98e6bcb3
...
...
@@ -39,16 +39,16 @@ end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
3
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
36629636
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_PLANT
,
ATTRIBUTE_WIND
,
POS_FACEUP_DEFENSE
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_PLANT
,
ATTRIBUTE_WIND
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
3
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
3
,
0
,
0
)
end
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
3
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
36629636
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_PLANT
,
ATTRIBUTE_WIND
,
POS_FACEUP_DEFENSE
)
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_PLANT
,
ATTRIBUTE_WIND
,
POS_FACEUP_DEFENSE
)
then
return
end
for
i
=
1
,
3
do
local
token
=
Duel
.
CreateToken
(
tp
,
36629636
)
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SpecialSummonComplete
()
...
...
c36857073.lua
View file @
98e6bcb3
...
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
s
.
sfilter
),
1
,
1
)
Synchro
.
AddSynchroProcedure
(
c
,{
non_tuner_race
=
RACE_DRAGON
,
non_tuner_filter
=
function
(
mc
)
return
mc
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
end
,
non_tuner_filter
=
function
(
mc
)
return
mc
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
Is
Synchro
Type
(
TYPE_SYNCHRO
)
end
,
non_tuner_max
=
1
,
})
c
:
EnableReviveLimit
()
...
...
@@ -27,7 +27,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e2
:
SetCountLimit
(
1
,
36857074
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon2
)
e2
:
SetTarget
(
s
.
sptg2
)
e2
:
SetOperation
(
s
.
spop2
)
...
...
c37706769.lua
View file @
98e6bcb3
...
...
@@ -31,7 +31,7 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
37706770
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetTarget
(
s
.
thtg
)
e3
:
SetOperation
(
s
.
thop
)
...
...
c39475024.lua
View file @
98e6bcb3
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
39475025
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c40251688.lua
View file @
98e6bcb3
...
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
40251689
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
eqcon
)
e2
:
SetTarget
(
s
.
eqtg
)
e2
:
SetOperation
(
s
.
eqop
)
...
...
c40551410.lua
View file @
98e6bcb3
...
...
@@ -35,7 +35,7 @@ function s.tktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
tgfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
s
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
40551411
,
0
,
TYPES_TOKEN_MONSTER
,
50
,
50
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
50
,
50
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
...
...
@@ -43,8 +43,8 @@ function s.tktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
tkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
40551411
,
0
,
TYPES_TOKEN_MONSTER
,
50
,
50
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
40551411
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
50
,
50
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
if
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
...
...
c40939228.lua
View file @
98e6bcb3
...
...
@@ -7,6 +7,7 @@ function s.initial_effect(c)
aux
.
AddSynchroMixProcedure
(
c
,
aux
.
Tuner
(
Card
.
IsCode
,
21159309
),
nil
,
nil
,
aux
.
NonTuner
(
nil
),
1
,
99
,
s
.
syncheck
(
c
))
Synchro
.
AddSynchroProcedure
(
c
,{
tuner_filter
=
function
(
mc
)
return
mc
:
IsCode
(
21159309
)
end
,
--- @param g Group
scheck
=
function
(
g
)
return
g
:
IsExists
(
function
(
mc
)
return
mc
:
IsRace
(
RACE_DRAGON
)
and
mc
:
IsSynchroType
(
TYPE_SYNCHRO
)
end
,
1
,
nil
)
end
...
...
c4103668.lua
View file @
98e6bcb3
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
4103669
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c43202238.lua
View file @
98e6bcb3
...
...
@@ -31,7 +31,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetCountLimit
(
1
,
43202239
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
spcon
)
e3
:
SetTarget
(
s
.
sptg
)
e3
:
SetOperation
(
s
.
spop
)
...
...
c43698897.lua
View file @
98e6bcb3
...
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
43698898
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetTarget
(
s
.
thtg
)
e3
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e3
)
...
...
c47674738.lua
View file @
98e6bcb3
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e2
:
SetCountLimit
(
1
,
47674739
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c47710198.lua
View file @
98e6bcb3
...
...
@@ -29,7 +29,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
custom_code
)
e2
:
SetCountLimit
(
1
,
47710199
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetTarget
(
s
.
remtg1
)
e2
:
SetOperation
(
s
.
remop1
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -40,7 +40,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
47710200
)
e3
:
SetCountLimit
(
1
,
id
+
o
*
2
)
e3
:
SetCondition
(
s
.
remcon2
)
e3
:
SetTarget
(
s
.
remtg2
)
e3
:
SetOperation
(
s
.
remop2
)
...
...
c49816630.lua
View file @
98e6bcb3
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
49816631
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetTarget
(
s
.
eqtg
)
e2
:
SetOperation
(
s
.
eqop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -36,7 +36,7 @@ function s.initial_effect(c)
e3
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCountLimit
(
1
,
4981663
2
)
e3
:
SetCountLimit
(
1
,
id
+
o
*
2
)
e3
:
SetCondition
(
s
.
drcon
)
e3
:
SetTarget
(
s
.
drtg
)
e3
:
SetOperation
(
s
.
drop
)
...
...
c5041348.lua
View file @
98e6bcb3
...
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e2
:
SetCountLimit
(
1
,
5041349
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
atkcon
)
e2
:
SetTarget
(
s
.
atktg
)
e2
:
SetOperation
(
s
.
atkop
)
...
...
c50793215.lua
View file @
98e6bcb3
...
...
@@ -30,7 +30,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCountLimit
(
1
,
50793216
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetTarget
(
s
.
tdtg
)
e3
:
SetOperation
(
s
.
tdop
)
c
:
RegisterEffect
(
e3
)
...
...
c50907446.lua
View file @
98e6bcb3
...
...
@@ -38,7 +38,7 @@ function s.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetCountLimit
(
1
,
50907447
)
e5
:
SetCountLimit
(
1
,
id
+
o
)
e5
:
SetTarget
(
s
.
thtg
)
e5
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e5
)
...
...
c52145422.lua
View file @
98e6bcb3
...
...
@@ -30,7 +30,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCountLimit
(
1
,
52145423
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
spcon
)
e3
:
SetTarget
(
s
.
sptg
)
e3
:
SetOperation
(
s
.
spop
)
...
...
c53325667.lua
View file @
98e6bcb3
...
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
53325668
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c53389254.lua
View file @
98e6bcb3
...
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_GRAVE
)
e4
:
SetCountLimit
(
1
,
53389255
)
e4
:
SetCountLimit
(
1
,
id
+
o
)
e4
:
SetCondition
(
s
.
spcon2
)
e4
:
SetCost
(
s
.
spcost
)
e4
:
SetTarget
(
s
.
sptg2
)
...
...
c5772618.lua
View file @
98e6bcb3
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCountLimit
(
1
,
5772619
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCondition
(
s
.
thcon
)
e2
:
SetTarget
(
s
.
thtg
)
...
...
c61272280.lua
View file @
98e6bcb3
...
...
@@ -30,7 +30,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BATTLE_START
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCountLimit
(
1
,
61272281
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
descon2
)
e3
:
SetTarget
(
s
.
destg2
)
e3
:
SetOperation
(
s
.
desop2
)
...
...
c62941499.lua
View file @
98e6bcb3
...
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
0
,
TIMING_MAIN_END
+
TIMING_BATTLE_END
)
e2
:
SetCountLimit
(
1
,
62941500
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
rmcon
)
e2
:
SetTarget
(
s
.
rmtg
)
e2
:
SetOperation
(
s
.
rmop
)
...
...
c63101468.lua
View file @
98e6bcb3
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
63101469
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
rmcon
)
e2
:
SetCost
(
s
.
rmcost
)
e2
:
SetTarget
(
s
.
rmtg
)
...
...
c63180841.lua
View file @
98e6bcb3
...
...
@@ -38,7 +38,7 @@ function s.initial_effect(c)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e3
:
SetCountLimit
(
1
,
63180842
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
spcon
)
e3
:
SetCost
(
s
.
spcost
)
e3
:
SetTarget
(
s
.
sptg
)
...
...
c63261835.lua
View file @
98e6bcb3
...
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
c
:
EnableReviveLimit
()
aux
.
AddSynchroMixProcedure
(
c
,
s
.
matfilter1
,
nil
,
nil
,
aux
.
NonTuner
(
nil
),
1
,
99
)
Synchro
.
AddSynchroProcedure
(
c
,{
tuner_filter
=
function
(
mc
,
tc
)
return
mc
:
IsSetCard
(
0x64
)
and
mc
:
IsLocation
(
LOCATION_MZONE
)
and
mc
:
IsControler
(
tc
:
GetControler
(
))
or
Synchro
.
DefaultTunerFilter
(
mc
,
tc
)
end
,
tuner_filter
=
function
(
mc
,
tc
)
return
(
mc
:
IsSetCard
(
0x64
)
and
mc
:
IsLocation
(
LOCATION_MZONE
)
and
mc
:
IsControler
(
tc
:
GetControler
()
))
or
Synchro
.
DefaultTunerFilter
(
mc
,
tc
)
end
,
drop_default_tuner_filter
=
true
,
})
--change name
...
...
c63265554.lua
View file @
98e6bcb3
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
63265555
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
pncon
)
e2
:
SetCost
(
s
.
pncost
)
e2
:
SetTarget
(
s
.
pntg
)
...
...
c63612442.lua
View file @
98e6bcb3
...
...
@@ -24,9 +24,9 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetFlagEffect
(
id
)
==
0
or
c
:
GetFlagEffect
(
63612443
)
==
0
end
if
chk
==
0
then
return
c
:
GetFlagEffect
(
id
)
==
0
or
c
:
GetFlagEffect
(
id
+
o
)
==
0
end
local
t1
=
c
:
GetFlagEffect
(
id
)
local
t2
=
c
:
GetFlagEffect
(
63612443
)
local
t2
=
c
:
GetFlagEffect
(
id
+
o
)
local
op
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
0
))
if
t1
==
0
and
t2
==
0
then
...
...
@@ -35,7 +35,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
else
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
2
))
op
=
1
end
e
:
SetLabel
(
op
)
if
op
==
0
then
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
c
:
RegisterFlagEffect
(
63612443
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
else
c
:
RegisterFlagEffect
(
id
+
o
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c65037172.lua
View file @
98e6bcb3
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BE_MATERIAL
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
65037173
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
thcon
)
e2
:
SetTarget
(
s
.
thtg
)
e2
:
SetOperation
(
s
.
thop
)
...
...
c67508932.lua
View file @
98e6bcb3
...
...
@@ -62,11 +62,11 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
local
rg
=
og
:
Filter
(
s
.
rfilter
,
nil
)
if
#
rg
>
0
then
local
lab
=
0
if
c
:
GetFlagEffect
(
67508933
)
==
0
then
if
c
:
GetFlagEffect
(
id
+
o
)
==
0
then
lab
=
c
:
GetFieldID
()
c
:
RegisterFlagEffect
(
67508933
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
lab
)
c
:
RegisterFlagEffect
(
id
+
o
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
lab
)
else
lab
=
c
:
GetFlagEffectLabel
(
67508933
)
lab
=
c
:
GetFlagEffectLabel
(
id
+
o
)
end
for
oc
in
aux
.
Next
(
rg
)
do
oc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
lab
)
...
...
@@ -84,12 +84,12 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
spfilter
(
c
,
e
,
tp
)
local
lab
=
c
:
GetFlagEffectLabel
(
id
)
return
lab
and
lab
==
e
:
GetHandler
():
GetFlagEffectLabel
(
67508933
)
return
lab
and
lab
==
e
:
GetHandler
():
GetFlagEffectLabel
(
id
+
o
)
and
c
:
GetReasonPlayer
()
==
tp
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
67508933
)
>
0
return
e
:
GetHandler
():
GetFlagEffect
(
id
+
o
)
>
0
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c69522668.lua
View file @
98e6bcb3
...
...
@@ -48,7 +48,7 @@ function s.initial_effect(c)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCountLimit
(
1
,
69522669
)
e5
:
SetCountLimit
(
1
,
id
+
o
)
e5
:
SetCondition
(
s
.
descon
)
e5
:
SetTarget
(
s
.
destg
)
e5
:
SetOperation
(
s
.
desop
)
...
...
c73079836.lua
View file @
98e6bcb3
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e2
:
SetCountLimit
(
1
,
73079837
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
rmcon
)
e2
:
SetTarget
(
s
.
rmtg
)
e2
:
SetOperation
(
s
.
rmop
)
...
...
c73104892.lua
View file @
98e6bcb3
...
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
73104893
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetTarget
(
s
.
tgtg
)
e2
:
SetOperation
(
s
.
tgop
)
c
:
RegisterEffect
(
e2
)
...
...
c73667937.lua
View file @
98e6bcb3
...
...
@@ -73,13 +73,13 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
local
b
if
c
:
GetFlagEffect
(
id
)
>
0
then
b
=
c
:
GetFlagEffect
(
73667938
)
<
2
b
=
c
:
GetFlagEffect
(
id
+
o
)
<
2
else
b
=
c
:
GetFlagEffect
(
73667938
)
<
1
b
=
c
:
GetFlagEffect
(
id
+
o
)
<
1
end
return
b
and
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
c
:
RegisterFlagEffect
(
73667938
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
id
+
o
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
...
...
c76524506.lua
View file @
98e6bcb3
...
...
@@ -49,7 +49,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
local
p
=
tc
:
GetControler
()
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
and
Duel
.
GetLocationCount
(
p
,
LOCATION_MZONE
,
tp
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
71645243
,
0
,
TYPES_TOKEN_MONSTER
,
800
,
800
,
2
,
RACE_PLANT
,
ATTRIBUTE_DARK
,
POS_FACEUP_ATTACK
,
p
)
then
Duel
.
BreakEffect
()
local
token
=
Duel
.
CreateToken
(
tp
,
76524507
)
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
p
,
false
,
false
,
POS_FACEUP_ATTACK
)
end
end
...
...
c77075360.lua
View file @
98e6bcb3
...
...
@@ -81,7 +81,7 @@ function s.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
77075361
)
e1
:
SetCountLimit
(
1
,
id
+
o
)
e1
:
SetCondition
(
s
.
atkcon
)
e1
:
SetOperation
(
s
.
atkop
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
...
...
c77092311.lua
View file @
98e6bcb3
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
77092312
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c77571454.lua
View file @
98e6bcb3
--No.69 紋章神コート・オブ・アームズ-ゴッド・レイジ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
77571455
)
aux
.
AddCodeList
(
c
,
id
+
o
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
4
,
5
)
c
:
EnableReviveLimit
()
...
...
c77656797.lua
View file @
98e6bcb3
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
77656798
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetTarget
(
s
.
eqtg
)
e2
:
SetOperation
(
s
.
eqop
)
c
:
RegisterEffect
(
e2
)
...
...
c77855162.lua
View file @
98e6bcb3
...
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCountLimit
(
1
,
77855163
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCode
(
EVENT_DAMAGE_STEP_END
)
e2
:
SetCondition
(
s
.
descon
)
e2
:
SetTarget
(
s
.
destg
)
...
...
c79656239.lua
View file @
98e6bcb3
...
...
@@ -36,7 +36,7 @@ function s.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_RECOVER
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
79656240
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
descon
)
e3
:
SetTarget
(
s
.
destg
)
e3
:
SetOperation
(
s
.
desop
)
...
...
c80159717.lua
View file @
98e6bcb3
--ドラグニティナイト-トライデント
function
c80159717
.
initial_effect
(
c
)
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_DRAGON
),
aux
.
NonTuner
(
Card
.
IsRace
,
RACE_WINDBEAST
),
1
)
Synchro
.
AddSynchroProcedure
(
c
,{
...
...
@@ -9,16 +10,16 @@ function c80159717.initial_effect(c)
c
:
EnableReviveLimit
()
--extra
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
80159717
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
c80159717
.
excost
)
e1
:
SetOperation
(
c80159717
.
exop
)
e1
:
SetCost
(
s
.
excost
)
e1
:
SetOperation
(
s
.
exop
)
c
:
RegisterEffect
(
e1
)
end
function
c80159717
.
excost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
excost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_EXTRA
)
if
ct
>
3
then
ct
=
3
end
if
chk
==
0
then
return
ct
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
...
...
@@ -27,7 +28,7 @@ function c80159717.excost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
e
:
SetLabel
(
g
:
GetCount
())
end
function
c80159717
.
exop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
exop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
local
ct
=
e
:
GetLabel
()
if
g
:
GetCount
()
<
ct
then
return
end
...
...
c80949182.lua
View file @
98e6bcb3
...
...
@@ -43,7 +43,7 @@ function s.initial_effect(c)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
80949183
)
e4
:
SetCountLimit
(
1
,
id
+
o
)
e4
:
SetCondition
(
s
.
damcon
)
e4
:
SetTarget
(
s
.
damtg
)
e4
:
SetOperation
(
s
.
damop
)
...
...
c81019803.lua
View file @
98e6bcb3
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
81019804
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
tdcon
)
e2
:
SetTarget
(
s
.
tdtg
)
e2
:
SetOperation
(
s
.
tdop
)
...
...
c81983656.lua
View file @
98e6bcb3
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
81983657
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
cbcon
)
e2
:
SetTarget
(
s
.
cbtg
)
e2
:
SetOperation
(
s
.
cbop
)
...
...
@@ -36,7 +36,7 @@ function s.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
81983657
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
cecon
)
e3
:
SetTarget
(
s
.
cetg
)
e3
:
SetOperation
(
s
.
ceop
)
...
...
c82197831.lua
View file @
98e6bcb3
...
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
82197832
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetCost
(
s
.
spcost
)
e2
:
SetTarget
(
s
.
sptg
)
...
...
c82570174.lua
View file @
98e6bcb3
...
...
@@ -27,7 +27,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
TIMING_BATTLE_START
+
TIMING_ATTACK
+
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
82570175
+
EFFECT_COUNT_CODE_DUEL
)
e2
:
SetCountLimit
(
1
,
id
+
o
+
EFFECT_COUNT_CODE_DUEL
)
e2
:
SetCondition
(
s
.
spcon2
)
e2
:
SetCost
(
s
.
spcost2
)
e2
:
SetTarget
(
s
.
sptg2
)
...
...
c84664085.lua
View file @
98e6bcb3
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
84664086
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c87188910.lua
View file @
98e6bcb3
...
...
@@ -42,7 +42,7 @@ function s.initial_effect(c)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
87188911
)
e4
:
SetCountLimit
(
1
,
id
+
o
)
e4
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e4
:
SetCost
(
s
.
descost
)
e4
:
SetTarget
(
s
.
destg
)
...
...
c87669904.lua
View file @
98e6bcb3
...
...
@@ -19,7 +19,7 @@ end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
(),
REASON_EFFECT
)
and
ft
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
87669905
,
0x14f
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
2
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0x14f
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
2
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
ft
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
ft
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
...
...
@@ -31,10 +31,10 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
can_fusion
=
false
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
,
REASON_EFFECT
)
~=
0
then
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
87669905
,
0x14f
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
2
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
)
then
if
ft
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0x14f
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
2
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
for
i
=
1
,
ft
do
local
token
=
Duel
.
CreateToken
(
tp
,
87669905
)
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
if
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
can_fusion
=
true
end
...
...
c87746184.lua
View file @
98e6bcb3
...
...
@@ -36,7 +36,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
87746185
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
thcon
)
e3
:
SetTarget
(
s
.
thtg
)
e3
:
SetOperation
(
s
.
thop
)
...
...
c88234821.lua
View file @
98e6bcb3
...
...
@@ -28,7 +28,7 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
88234822
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
rmcon
)
e2
:
SetTarget
(
s
.
rmtg
)
e2
:
SetOperation
(
s
.
rmop
)
...
...
@@ -39,7 +39,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetCountLimit
(
1
,
88234823
)
e3
:
SetCountLimit
(
1
,
id
+
o
*
2
)
e3
:
SetCondition
(
s
.
descon
)
e3
:
SetTarget
(
s
.
destg
)
e3
:
SetOperation
(
s
.
desop
)
...
...
c89907227.lua
View file @
98e6bcb3
...
...
@@ -48,14 +48,14 @@ function s.tkcon(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
89907228
,
0
,
TYPES_TOKEN_MONSTER
,
3300
,
3000
,
10
,
RACE_FISH
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
3300
,
3000
,
10
,
RACE_FISH
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
s
.
tkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
89907228
,
0
,
TYPES_TOKEN_MONSTER
,
3300
,
3000
,
10
,
RACE_FISH
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
89907228
)
if
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
3300
,
3000
,
10
,
RACE_FISH
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
...
...
@@ -64,8 +64,8 @@ function s.tkcon2(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
tkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
89907228
,
0
,
TYPES_TOKEN_MONSTER
,
3300
,
3000
,
10
,
RACE_FISH
,
ATTRIBUTE_WATER
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
89907228
)
if
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
3300
,
3000
,
10
,
RACE_FISH
,
ATTRIBUTE_WATER
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
@@ -73,7 +73,7 @@ function s.spcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_DESTROY
)
and
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousControler
(
tp
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
89907228
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
id
+
o
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
c90036274.lua
View file @
98e6bcb3
...
...
@@ -29,7 +29,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
TIMING_DAMAGE_STEP
,
TIMING_DAMAGE_STEP
+
TIMINGS_CHECK_MONSTER
)
e2
:
SetCountLimit
(
1
,
90036275
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
aux
.
dscon
)
e2
:
SetTarget
(
s
.
distg
)
e2
:
SetOperation
(
s
.
disop
)
...
...
c9061682.lua
View file @
98e6bcb3
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCountLimit
(
1
,
9061683
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
...
...
c91397409.lua
View file @
98e6bcb3
...
...
@@ -33,7 +33,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
91397410
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
poscon
)
e3
:
SetTarget
(
s
.
postg
)
e3
:
SetOperation
(
s
.
posop
)
...
...
c92519087.lua
View file @
98e6bcb3
...
...
@@ -31,7 +31,7 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
92519088
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
aux
.
exccon
)
e3
:
SetCost
(
s
.
spcost
)
e3
:
SetTarget
(
s
.
sptg
)
...
...
c9396662.lua
View file @
98e6bcb3
...
...
@@ -35,7 +35,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
9396663
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
...
...
@@ -43,7 +43,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=
3
if
ft
>
0
and
ct
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
9396663
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
if
ft
>
0
and
ct
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
local
count
=
math.min
(
ft
,
ct
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
count
=
1
end
if
count
>
1
then
...
...
@@ -58,7 +58,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
local
lv
=
count
repeat
local
token
=
Duel
.
CreateToken
(
tp
,
9396663
)
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
count
=
count
-
1
until
count
==
0
...
...
c9464441.lua
View file @
98e6bcb3
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
9464442
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
discon
)
e2
:
SetTarget
(
s
.
distg
)
e2
:
SetOperation
(
s
.
disop
)
...
...
c94677445.lua
View file @
98e6bcb3
...
...
@@ -27,7 +27,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCountLimit
(
1
,
94677446
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c97007933.lua
View file @
98e6bcb3
...
...
@@ -28,7 +28,7 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
97007934
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
spcon
)
e3
:
SetCost
(
s
.
spcost
)
e3
:
SetTarget
(
s
.
sptg
)
...
...
c9753964.lua
View file @
98e6bcb3
...
...
@@ -29,7 +29,7 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e2
:
SetCountLimit
(
1
,
9753965
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
c98506199.lua
View file @
98e6bcb3
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetRange
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
98506200
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
tdcon
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
s
.
tdtg
)
...
...
c99543666.lua
View file @
98e6bcb3
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetCountLimit
(
1
,
99543667
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
spcon
)
e3
:
SetTarget
(
s
.
sptg
)
e3
:
SetOperation
(
s
.
spop
)
...
...
c99937842.lua
View file @
98e6bcb3
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCountLimit
(
1
,
99937843
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
...
...
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