Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
64b8ed47
Commit
64b8ed47
authored
Aug 12, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ed5ca1e3
Pipeline
#40246
passed with stage
in 3 minutes and 30 seconds
Changes
5
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
63 deletions
+49
-63
expansions/script/c12802035.lua
expansions/script/c12802035.lua
+1
-0
expansions/script/c12882015.lua
expansions/script/c12882015.lua
+27
-26
expansions/script/c18700010.lua
expansions/script/c18700010.lua
+4
-18
expansions/script/c18700016.lua
expansions/script/c18700016.lua
+3
-3
expansions/script/c18700214.lua
expansions/script/c18700214.lua
+14
-16
No files found.
expansions/script/c12802035.lua
View file @
64b8ed47
...
@@ -8,6 +8,7 @@ function s.initial_effect(c)
...
@@ -8,6 +8,7 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c12882015.lua
View file @
64b8ed47
...
@@ -69,33 +69,34 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,33 +69,34 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
filter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
filter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
not
tc
then
return
end
if
tc
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
e1
:
SetValue
(
TYPE_TRAP
+
TYPE_CONTINUOUS
)
e1
:
SetValue
(
TYPE_TRAP
+
TYPE_CONTINUOUS
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
ge1
=
Effect
.
CreateEffect
(
c
)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
ge1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
ge1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
ge1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
ge1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_END
then
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_END
then
e1
:
SetReset
(
EVENT_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
ge1
:
SetReset
(
EVENT_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e1
:
SetValue
(
Duel
.
GetTurnCount
())
ge1
:
SetValue
(
Duel
.
GetTurnCount
())
tc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_TURN_SET
+
EVENT_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
0
,
2
)
tc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
EVENT_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
0
,
2
)
else
else
e1
:
SetReset
(
EVENT_PHASE
+
PHASE_END
+
RESET_SELF_TURN
)
ge1
:
SetReset
(
EVENT_PHASE
+
PHASE_END
+
RESET_SELF_TURN
)
e1
:
SetValue
(
0
)
ge1
:
SetValue
(
0
)
tc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_TURN_SET
+
EVENT_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
0
,
1
)
tc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
EVENT_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
0
,
1
)
end
ge1
:
SetCountLimit
(
1
)
ge1
:
SetCondition
(
s
.
descon
)
ge1
:
SetOperation
(
s
.
desop
)
Duel
.
RegisterEffect
(
ge1
,
tp
)
end
end
ge1
:
SetCountLimit
(
1
)
ge1
:
SetCondition
(
s
.
descon
)
ge1
:
SetOperation
(
s
.
desop
)
Duel
.
RegisterEffect
(
ge1
,
tp
)
end
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetTurnPlayer
()
~=
tp
or
Duel
.
GetTurnCount
()
==
e
:
GetValue
()
then
return
false
end
if
Duel
.
GetTurnPlayer
()
~=
tp
or
Duel
.
GetTurnCount
()
==
e
:
GetValue
()
then
return
false
end
...
...
expansions/script/c18700010.lua
View file @
64b8ed47
...
@@ -55,17 +55,11 @@ function cm.spfilter(c,e,tp,m,f,chkf)
...
@@ -55,17 +55,11 @@ function cm.spfilter(c,e,tp,m,f,chkf)
return
c
:
IsType
(
TYPE_FUSION
)
and
(
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
or
c
:
IsAttribute
(
ATTRIBUTE_WATER
))
and
(
not
f
or
f
(
c
))
return
c
:
IsType
(
TYPE_FUSION
)
and
(
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
or
c
:
IsAttribute
(
ATTRIBUTE_WATER
))
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
end
function
cm
.
filter4
(
c
,
e
)
return
c
:
IsAbleToDeck
()
and
c
:
GetFlagEffect
(
18700544
)
>
0
and
c
:
IsRace
(
RACE_AQUA
)
end
function
cm
.
filter5
(
c
,
e
)
return
not
c
:
IsImmuneToEffect
(
e
)
and
c
:
IsAbleToDeck
()
and
c
:
GetFlagEffect
(
18700544
)
>
0
and
c
:
IsRace
(
RACE_AQUA
)
end
function
cm
.
chkfilter
(
c
,
tp
)
function
cm
.
chkfilter
(
c
,
tp
)
return
c
:
IsCode
(
18700548
,
18700552
)
return
c
:
IsCode
(
18700548
,
18700552
)
end
end
function
cm
.
fcheck
(
tp
,
sg
,
fc
)
function
cm
.
fcheck
(
tp
,
sg
,
fc
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
chkfilter
,
tp
,
LOCATION_
GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
then
if
Duel
.
IsExistingMatchingCard
(
cm
.
chkfilter
,
tp
,
LOCATION_
MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
then
return
sg
:
FilterCount
(
Card
.
IsControler
,
nil
,
1
-
tp
)
<=
1
return
sg
:
FilterCount
(
Card
.
IsControler
,
nil
,
1
-
tp
)
<=
1
else
else
return
sg
:
FilterCount
(
Card
.
IsControler
,
nil
,
1
-
tp
)
<=
0
return
sg
:
FilterCount
(
Card
.
IsControler
,
nil
,
1
-
tp
)
<=
0
...
@@ -81,15 +75,11 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -81,15 +75,11 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
chkf
=
tp
local
chkf
=
tp
local
mg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
,
e
)
local
mg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
cm
.
filter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
cm
.
filter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
mg3
=
Duel
.
GetMatchingGroup
(
cm
.
filter4
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
chkfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
and
mg2
:
GetCount
()
>
0
then
if
Duel
.
IsExistingMatchingCard
(
cm
.
chkfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
tp
)
and
mg2
:
GetCount
()
>
0
then
mg1
:
Merge
(
mg2
)
mg1
:
Merge
(
mg2
)
aux
.
FCheckAdditional
=
cm
.
fcheck
aux
.
FCheckAdditional
=
cm
.
fcheck
aux
.
GCheckAdditional
=
cm
.
gcheck
(
tp
)
aux
.
GCheckAdditional
=
cm
.
gcheck
(
tp
)
end
end
if
Duel
.
IsExistingMatchingCard
(
cm
.
filter4
,
tp
,
LOCATION_MZONE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
tp
)
and
mg3
:
GetCount
()
>
0
then
mg1
:
Merge
(
mg3
)
end
local
res
=
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
res
=
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
aux
.
FCheckAdditional
=
nil
aux
.
FCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
...
@@ -109,16 +99,12 @@ end
...
@@ -109,16 +99,12 @@ end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
tp
local
chkf
=
tp
local
mg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
,
e
)
local
mg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
cm
.
filter3
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
cm
.
filter3
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
)
local
mg3
=
Duel
.
GetMatchingGroup
(
cm
.
filter5
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
,
e
)
local
exmat
=
false
local
exmat
=
false
if
Duel
.
IsExistingMatchingCard
(
cm
.
chkfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_
REMOVED
,
0
,
1
,
nil
,
tp
)
and
mg2
:
GetCount
()
>
0
then
if
Duel
.
IsExistingMatchingCard
(
cm
.
chkfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_
GRAVE
,
0
,
1
,
nil
,
tp
)
and
mg2
:
GetCount
()
>
0
then
mg1
:
Merge
(
mg2
)
mg1
:
Merge
(
mg2
)
exmat
=
true
exmat
=
true
end
end
if
Duel
.
IsExistingMatchingCard
(
cm
.
filter4
,
tp
,
LOCATION_MZONE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
tp
)
and
mg3
:
GetCount
()
>
0
then
mg1
:
Merge
(
mg3
)
end
if
exmat
then
if
exmat
then
aux
.
FCheckAdditional
=
cm
.
fcheck
aux
.
FCheckAdditional
=
cm
.
fcheck
aux
.
GCheckAdditional
=
cm
.
gcheck
(
tp
)
aux
.
GCheckAdditional
=
cm
.
gcheck
(
tp
)
...
...
expansions/script/c18700016.lua
View file @
64b8ed47
...
@@ -57,10 +57,10 @@ function cm.filter4(c)
...
@@ -57,10 +57,10 @@ function cm.filter4(c)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x820
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x820
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToHand
()
end
end
function
cm
.
sptg3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
sptg3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_REMOVED
+
LOCATION_GRAVE
)
and
cm
.
filter4
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
cm
.
filter4
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter4
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter4
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter4
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter4
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
end
end
function
cm
.
spop3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spop3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c18700214.lua
View file @
64b8ed47
...
@@ -110,8 +110,8 @@ function cm.initial_effect(c)
...
@@ -110,8 +110,8 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
function
cm
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
not
sg
or
not
sg
:
IsExists
(
Card
.
IsFusionAttribute
,
1
,
c
,
c
:
GetFusionAttribute
())
and
sg
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
fc
:
GetControler
())
return
not
sg
or
(
sg
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
fc
:
GetControler
())
and
c
:
IsRace
(
RACE_REPTILE
)
or
c
:
IsRace
(
RACE_WINDBEAST
)
or
c
:
IsRace
(
RACE_AQUA
)
or
c
:
IsRace
(
RACE_BEAST
)
or
c
:
IsRace
(
RACE_DRAGON
)
or
c
:
IsRace
(
RACE_INSECT
)
and
(
c
:
IsRace
(
RACE_REPTILE
)
or
c
:
IsRace
(
RACE_WINDBEAST
)
or
c
:
IsRace
(
RACE_AQUA
)
or
c
:
IsRace
(
RACE_BEAST
)
or
c
:
IsRace
(
RACE_DRAGON
)
or
c
:
IsRace
(
RACE_INSECT
))
)
end
end
function
cm
.
cfilter
(
c
)
function
cm
.
cfilter
(
c
)
return
c
:
IsCode
(
m
+
1
)
or
c
:
IsCode
(
m
+
2
)
or
c
:
IsCode
(
m
+
3
)
or
c
:
IsCode
(
m
+
4
)
or
c
:
IsCode
(
m
+
5
)
or
c
:
IsCode
(
m
+
6
)
return
c
:
IsCode
(
m
+
1
)
or
c
:
IsCode
(
m
+
2
)
or
c
:
IsCode
(
m
+
3
)
or
c
:
IsCode
(
m
+
4
)
or
c
:
IsCode
(
m
+
5
)
or
c
:
IsCode
(
m
+
6
)
...
@@ -356,22 +356,20 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -356,22 +356,20 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp)
for
tc
in
aux
.
Next
(
g
)
do
for
tc
in
aux
.
Next
(
g
)
do
if
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFaceup
()
then
if
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFaceup
()
then
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENSE
)
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENSE
)
if
tc
:
IsPosition
(
POS_FACEDOWN_DEFENSE
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
elseif
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFacedown
()
then
elseif
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFacedown
()
then
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_ATTACK
)
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_ATTACK
)
if
tc
:
IsPosition
(
POS_FACEDOWN_DEFENSE
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
end
end
end
...
...
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