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
3f9b5d73
Commit
3f9b5d73
authored
Jun 23, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into master
parents
70ababf1
b9faad30
Changes
34
Hide whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
86 additions
and
80 deletions
+86
-80
c14513273.lua
c14513273.lua
+1
-1
c15094540.lua
c15094540.lua
+4
-4
c18843291.lua
c18843291.lua
+3
-11
c20426907.lua
c20426907.lua
+15
-13
c21848500.lua
c21848500.lua
+1
-1
c23657016.lua
c23657016.lua
+1
-1
c25072579.lua
c25072579.lua
+1
-1
c26334139.lua
c26334139.lua
+1
-1
c29111045.lua
c29111045.lua
+1
-1
c29301450.lua
c29301450.lua
+1
-1
c3657444.lua
c3657444.lua
+2
-1
c42427230.lua
c42427230.lua
+1
-1
c46186135.lua
c46186135.lua
+24
-21
c52854600.lua
c52854600.lua
+1
-1
c53829527.lua
c53829527.lua
+1
-1
c56347375.lua
c56347375.lua
+1
-1
c57111661.lua
c57111661.lua
+1
-1
c62880279.lua
c62880279.lua
+1
-1
c64664373.lua
c64664373.lua
+1
-1
c65155517.lua
c65155517.lua
+1
-1
c65898344.lua
c65898344.lua
+1
-1
c73413514.lua
c73413514.lua
+1
-1
c73898890.lua
c73898890.lua
+1
-1
c78783557.lua
c78783557.lua
+1
-1
c83407038.lua
c83407038.lua
+4
-0
c84631951.lua
c84631951.lua
+1
-1
c85216896.lua
c85216896.lua
+1
-1
c86682165.lua
c86682165.lua
+2
-1
c87170768.lua
c87170768.lua
+1
-1
c93860227.lua
c93860227.lua
+1
-1
c94185340.lua
c94185340.lua
+1
-1
c94973028.lua
c94973028.lua
+1
-2
c99529628.lua
c99529628.lua
+4
-3
c99801464.lua
c99801464.lua
+3
-0
No files found.
c14513273.lua
View file @
3f9b5d73
...
...
@@ -48,7 +48,7 @@ end
function
s
.
rmlimit
(
e
,
c
,
rp
,
r
,
re
)
local
tp
=
e
:
GetHandlerPlayer
()
return
c
:
IsControler
(
tp
)
and
c
:
IsOnField
()
and
c
:
IsCode
(
13331639
)
and
c
:
IsFaceup
()
and
r
&
REASON_EFFECT
~=
0
and
r
e
:
GetOwnerPlayer
()
~=
tp
and
r
&
REASON_EFFECT
~=
0
and
r
&
REASON_REDIRECT
==
0
and
rp
==
1
-
tp
end
function
s
.
penfilter
(
c
)
return
c
:
IsSetCard
(
0x10f8
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsCode
(
id
)
and
not
c
:
IsForbidden
()
...
...
c15094540.lua
View file @
3f9b5d73
...
...
@@ -54,12 +54,12 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g1
,
g1
:
GetCount
(),
0
,
0
)
end
function
s
.
rmopfilter
(
c
,
e
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
Is
RelateToEffect
(
e
)
function
s
.
rmopfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
Is
AbleToRemove
(
)
end
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
Get
ChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
tg
=
g
:
Filter
(
aux
.
NecroValleyFilter
(
s
.
rmopfilter
),
nil
,
e
)
local
g
=
Duel
.
Get
TargetsRelateToChain
(
)
local
tg
=
g
:
Filter
(
aux
.
NecroValleyFilter
(
s
.
rmopfilter
),
nil
)
if
tg
:
GetCount
()
==
2
then
Duel
.
Remove
(
tg
,
POS_FACEUP
,
REASON_EFFECT
)
end
...
...
c18843291.lua
View file @
3f9b5d73
...
...
@@ -25,13 +25,6 @@ function s.initial_effect(c)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
SetTarget
(
s
.
efilter
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
id
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetTarget
(
s
.
eftg
)
c
:
RegisterEffect
(
e3
)
--remove and tograve
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_DECKDES
)
...
...
@@ -65,10 +58,9 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
efilter
(
e
,
c
,
rp
,
r
,
re
)
return
c
:
IsHasEffect
(
id
)
and
r
&
REASON_EFFECT
>
0
end
function
s
.
eftg
(
e
,
c
)
return
c
:
IsSetCard
(
0x38
)
and
c
:
IsFaceup
()
local
tp
=
e
:
GetHandlerPlayer
()
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsSetCard
(
0x38
)
and
c
:
IsFaceup
()
and
r
&
REASON_EFFECT
>
0
and
r
&
REASON_REDIRECT
==
0
end
function
s
.
refilter
(
c
)
return
c
:
IsSetCard
(
0x38
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
...
...
c20426907.lua
View file @
3f9b5d73
...
...
@@ -50,7 +50,7 @@ end
function
c20426907
.
disop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsCanBeDisabledByEffect
(
e
)
then
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -82,18 +82,20 @@ function c20426907.disop2(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c20426907
.
disfilter
,
nil
,
e
)
local
tc
=
g
:
GetFirst
()
while
tc
do
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
)
if
tc
:
IsCanBeDisabledByEffect
(
e
)
then
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
)
end
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c21848500.lua
View file @
3f9b5d73
...
...
@@ -88,7 +88,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
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
)
~=
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
...
...
c23657016.lua
View file @
3f9b5d73
...
...
@@ -38,7 +38,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
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
)
~=
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_ADD_TYPE
)
...
...
c25072579.lua
View file @
3f9b5d73
...
...
@@ -60,7 +60,7 @@ function s.descon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
ac
=
c
:
GetBattleTarget
()
e
:
SetLabelObject
(
ac
)
return
ac
and
ac
:
Is
Faceup
()
and
ac
:
Is
Controler
(
1
-
tp
)
return
ac
and
ac
:
IsControler
(
1
-
tp
)
end
function
s
.
desfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1115
)
...
...
c26334139.lua
View file @
3f9b5d73
...
...
@@ -47,7 +47,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
else
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
...
...
c29111045.lua
View file @
3f9b5d73
...
...
@@ -45,7 +45,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
...
...
c29301450.lua
View file @
3f9b5d73
...
...
@@ -83,7 +83,7 @@ function s.drmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
2
,
0
,
0
)
end
function
s
.
drmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetTargetsRelateToChain
()
local
g
=
Duel
.
GetTargetsRelateToChain
()
:
Filter
(
Card
.
IsAbleToRemove
,
nil
)
if
#
g
~=
2
or
Duel
.
Remove
(
g
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
==
0
or
not
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_REMOVED
)
then
return
end
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_REMOVED
)
...
...
c3657444.lua
View file @
3f9b5d73
...
...
@@ -63,7 +63,8 @@ end
function
c3657444
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
tp
)
and
tc
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
tp
)
and
tc
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsAbleToRemove
()
and
tc
:
IsAbleToRemove
()
then
local
sg
=
Group
.
FromCards
(
c
,
tc
)
if
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
~=
2
then
return
end
Duel
.
BreakEffect
()
...
...
c42427230.lua
View file @
3f9b5d73
...
...
@@ -57,7 +57,7 @@ function c42427230.spop(e,tp,eg,ep,ev,re,r,rp)
end
for
i
=
1
,
count
do
local
token
=
Duel
.
CreateToken
(
tp
,
42427231
)
if
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
42427230
,
3
))
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
...
...
c46186135.lua
View file @
3f9b5d73
...
...
@@ -37,8 +37,8 @@ function s.initial_effect(c)
--discard deck
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCategory
(
CATEGORY_DECKDES
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e4
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -49,6 +49,7 @@ function s.initial_effect(c)
--to hand
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e5
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_DESTROYED
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
@@ -60,20 +61,20 @@ end
function
s
.
fusfilter
(
c
)
return
c
:
IsCode
(
19959563
,
57774843
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
s
.
fselect
(
g
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
==
2
and
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_ONFIELD
)
and
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)
function
s
.
fselect
(
g
,
tp
,
sc
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
==
2
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
sc
)
>
0
and
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_MZONE
)
and
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)
end
function
s
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
fg
=
Duel
.
GetMatchingGroup
(
s
.
fusfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
return
fg
:
CheckSubGroup
(
s
.
fselect
,
2
,
2
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
fusfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
return
g
:
CheckSubGroup
(
s
.
fselect
,
2
,
2
,
tp
,
c
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
cp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
fusfilter
,
cp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
cp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
SelectSubGroup
(
cp
,
s
.
fselect
,
true
,
2
,
2
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
fusfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
fselect
,
true
,
2
,
2
,
tp
,
c
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
@@ -84,6 +85,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
sg
=
e
:
GetLabelObject
()
c
:
SetMaterial
(
sg
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
sg
:
DeleteGroup
()
end
function
s
.
recost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
2000
)
end
...
...
@@ -112,31 +114,32 @@ end
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
e
:
GetHandler
():
IsPreviousControler
(
tp
)
end
function
s
.
thfilter1
(
c
)
function
s
.
thfilter1
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
19959563
)
and
c
:
IsAbleToHand
()
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter2
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
c
)
end
function
s
.
thfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
57774843
)
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter1
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter2
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter1
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
0
,
LOCATION_REMOVED
)
end
function
s
.
fselect2
(
g
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
==
g
:
GetCount
()
end
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
return
c
:
Is
Location
(
LOCATION_HAND
)
and
c
:
Is
CanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g1
=
Duel
.
GetMatchingGroup
(
s
.
thfilter1
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
s
.
thfilter2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
if
#
g1
>
0
and
#
g2
>
0
then
Duel
.
SendtoHand
((
g1
+
g2
):
SelectSubGroup
(
tp
,
s
.
fselect2
,
false
,
2
,
2
),
nil
,
REASON_EFFECT
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter1
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
tp
)
if
#
g1
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter2
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
g1
,
tp
)
g1
:
Merge
(
g2
)
if
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
==
2
then
local
tg
=
Duel
.
GetOperatedGroup
()
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
if
tg
:
FilterCount
(
s
.
spfilter
,
nil
,
e
,
tp
)
==
2
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
2
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
if
tg
:
FilterCount
(
s
.
spfilter
,
nil
,
e
,
tp
)
==
2
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
2
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
for
tc
in
aux
.
Next
(
tg
)
do
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
...
...
c52854600.lua
View file @
3f9b5d73
...
...
@@ -59,7 +59,7 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
...
c53829527.lua
View file @
3f9b5d73
...
...
@@ -32,7 +32,7 @@ end
function
s
.
rmlimit
(
e
,
c
,
rp
,
r
,
re
)
local
tp
=
e
:
GetHandlerPlayer
()
return
c
:
IsControler
(
tp
)
and
c
:
IsOnField
()
and
c
:
IsSetCard
(
0xea
)
and
c
:
IsFaceup
()
and
r
&
REASON_EFFECT
~=
0
and
r
e
:
GetOwnerPlayer
()
~=
tp
and
r
&
REASON_EFFECT
~=
0
and
r
&
REASON_REDIRECT
==
0
and
rp
==
1
-
tp
end
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xea
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
...
...
c56347375.lua
View file @
3f9b5d73
...
...
@@ -64,7 +64,7 @@ function c56347375.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c56347375
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
if
tc
then
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_ADD_TYPE
)
...
...
c57111661.lua
View file @
3f9b5d73
...
...
@@ -39,7 +39,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
co
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
...
...
c62880279.lua
View file @
3f9b5d73
...
...
@@ -41,7 +41,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToChain
()
and
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
c
:
IsRelateToChain
()
and
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
...
...
c64664373.lua
View file @
3f9b5d73
...
...
@@ -50,7 +50,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
,
race
,
att
,
atk
)
local
sc
=
g
:
GetFirst
()
if
sc
and
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
sc
and
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
...
...
c65155517.lua
View file @
3f9b5d73
...
...
@@ -91,7 +91,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
spfilter
),
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_ADD_TYPE
)
...
...
c65898344.lua
View file @
3f9b5d73
...
...
@@ -49,7 +49,7 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g1
,
2
,
0
,
0
)
end
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
Get
ChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
Get
TargetsRelateToChain
():
Filter
(
Card
.
IsAbleToRemove
,
nil
)
if
#
g
==
2
and
Duel
.
Remove
(
g
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
local
resetv
=
1
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
<=
PHASE_STANDBY
then
...
...
c73413514.lua
View file @
3f9b5d73
...
...
@@ -48,7 +48,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
and
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
and
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
fid
=
e
:
GetHandler
():
GetFieldID
()
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c73898890.lua
View file @
3f9b5d73
...
...
@@ -48,7 +48,7 @@ function c73898890.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g1
,
2
,
0
,
0
)
end
function
c73898890
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetTargetsRelateToChain
()
local
g
=
Duel
.
GetTargetsRelateToChain
()
:
Filter
(
Card
.
IsAbleToDeck
,
nil
)
if
#
g
==
2
then
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
...
...
c78783557.lua
View file @
3f9b5d73
...
...
@@ -4,7 +4,7 @@ function s.initial_effect(c)
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_
SPECIAL_SUMMON
+
CATEGORY_
TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
...
...
c83407038.lua
View file @
3f9b5d73
...
...
@@ -25,6 +25,7 @@ function c83407038.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCondition
(
c83407038
.
rmcon
)
e3
:
SetTarget
(
c83407038
.
rmtg
)
e3
:
SetOperation
(
c83407038
.
rmop
)
c
:
RegisterEffect
(
e3
)
...
...
@@ -70,6 +71,9 @@ end
function
c83407038
.
check
(
c
,
tp
)
return
c
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x4
)
end
function
c83407038
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsStatus
(
STATUS_EFFECT_ENABLED
)
end
function
c83407038
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetAttackTarget
()
~=
nil
and
(
c83407038
.
check
(
Duel
.
GetAttacker
(),
tp
)
or
c83407038
.
check
(
Duel
.
GetAttackTarget
(),
tp
))
end
...
...
c84631951.lua
View file @
3f9b5d73
...
...
@@ -64,7 +64,7 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
e
:
GetLabel
())
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
fid
=
e
:
GetHandler
():
GetFieldID
()
tc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c85216896.lua
View file @
3f9b5d73
...
...
@@ -70,7 +70,7 @@ function c85216896.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g1
,
2
,
0
,
0
)
end
function
c85216896
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
Get
ChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
Get
TargetsRelateToChain
():
Filter
(
Card
.
IsAbleToRemove
,
nil
)
if
g
:
GetCount
()
~=
2
then
return
end
if
Duel
.
Remove
(
g
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
and
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_REMOVED
)
then
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_REMOVED
)
...
...
c86682165.lua
View file @
3f9b5d73
...
...
@@ -74,7 +74,8 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
efilter
(
e
,
c
,
rp
,
r
,
re
)
local
tp
=
e
:
GetHandlerPlayer
()
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
re
and
r
&
REASON_EFFECT
>
0
and
rp
==
1
-
tp
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
r
&
REASON_EFFECT
>
0
and
r
&
REASON_REDIRECT
==
0
and
rp
==
1
-
tp
end
function
s
.
rmfilter
(
c
,
code
)
return
c
:
IsFaceupEx
()
and
c
:
IsCode
(
code
)
and
c
:
IsAbleToRemove
()
...
...
c87170768.lua
View file @
3f9b5d73
...
...
@@ -45,7 +45,7 @@ function c87170768.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c87170768
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
>
0
then
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
c93860227.lua
View file @
3f9b5d73
...
...
@@ -4,7 +4,7 @@ function s.initial_effect(c)
c
:
SetUniqueOnField
(
1
,
0
,
id
)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunFun
(
c
,
s
.
ffilter1
,
s
.
ffilter2
,
1
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToGraveAsCost
,
LOCATION_ONFIELD
,
0
,
Duel
.
SendtoGrave
,
REASON_COST
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToGraveAsCost
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
Duel
.
SendtoGrave
,
REASON_COST
)
--special summon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c94185340.lua
View file @
3f9b5d73
...
...
@@ -38,7 +38,7 @@ function c94185340.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c94185340
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
:
GetRank
()
+
1
)
local
sc
=
sg
:
GetFirst
()
if
sc
and
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
sc
and
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
94185340
,
1
))
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
...
...
c94973028.lua
View file @
3f9b5d73
...
...
@@ -8,7 +8,7 @@ function c94973028.initial_effect(c)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetValue
(
c94973028
.
lvval
)
c
:
RegisterEffect
(
e1
)
--
--
indes
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -59,7 +59,6 @@ function c94973028.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
0
,
0
)
end
function
c94973028
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
c94973028
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
1
then
return
end
if
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
31533705
,
0x101b
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
3
,
RACE_MACHINE
,
ATTRIBUTE_WIND
)
then
...
...
c99529628.lua
View file @
3f9b5d73
...
...
@@ -92,9 +92,10 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
local
res1
,
tg1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_REMOVE
)
local
res2
,
tg2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
)
local
c
,
rc
,
sc
=
e
:
GetHandler
(),
tg1
:
GetFirst
(),
tg2
:
GetFirst
()
if
rc
:
IsRelateToEffect
(
e
)
and
rc
:
IsControler
(
1
-
tp
)
and
rc
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsOnField
()
and
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_EFFECT
)
*
Duel
.
Remove
(
tg1
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
if
sc
:
IsRelateToEffect
(
e
)
and
sc
:
IsRace
(
RACE_FISH
)
then
if
rc
:
IsRelateToEffect
(
e
)
and
rc
:
IsControler
(
1
-
tp
)
and
rc
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsAbleToRemove
()
and
rc
:
IsAbleToRemove
()
then
local
rg
=
Group
.
FromCards
(
c
,
rc
)
if
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
==
2
and
sc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
c99801464.lua
View file @
3f9b5d73
...
...
@@ -50,6 +50,9 @@ function c99801464.eqop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
100
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e3
)
end
function
c99801464
.
eqlimit
(
e
,
c
)
return
c
==
e
:
GetLabelObject
()
...
...
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