Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
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
八宫一月
ygopro-scripts
Commits
d77dcedc
Commit
d77dcedc
authored
Jun 01, 2016
by
woodee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #431 from mercury233/patch-3
fix stringid
parents
da36c14e
30ee29b0
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
28 additions
and
31 deletions
+28
-31
c10736540.lua
c10736540.lua
+1
-1
c17874674.lua
c17874674.lua
+2
-2
c18175965.lua
c18175965.lua
+1
-1
c18634367.lua
c18634367.lua
+2
-1
c21558682.lua
c21558682.lua
+2
-1
c368382.lua
c368382.lua
+2
-3
c36970611.lua
c36970611.lua
+2
-2
c38988538.lua
c38988538.lua
+4
-9
c49838105.lua
c49838105.lua
+5
-4
c54059040.lua
c54059040.lua
+1
-1
c62878208.lua
c62878208.lua
+1
-1
c63881033.lua
c63881033.lua
+1
-1
c65338781.lua
c65338781.lua
+1
-1
c79766336.lua
c79766336.lua
+1
-1
c88901771.lua
c88901771.lua
+1
-1
c94432298.lua
c94432298.lua
+1
-1
No files found.
c10736540.lua
View file @
d77dcedc
...
...
@@ -67,7 +67,7 @@ function c10736540.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingTarget
(
c10736540
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
10736540
,
2
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c10736540
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
...
...
c17874674.lua
View file @
d77dcedc
...
...
@@ -28,7 +28,7 @@ function c17874674.initial_effect(c)
e3
:
SetCondition
(
c17874674
.
condition
)
e3
:
SetOperation
(
c17874674
.
ctarget
)
c
:
RegisterEffect
(
e3
)
--
--
cost
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
@@ -44,7 +44,7 @@ function c17874674.target1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
true
end
if
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
and
Duel
.
IsExistingTarget
(
aux
.
disfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
17874674
,
2
)
)
then
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
aux
.
disfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
...
...
c18175965.lua
View file @
d77dcedc
...
...
@@ -92,7 +92,7 @@ end
function
c18175965
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
or
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
18175965
,
3
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c18175965
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
c
)
if
g
:
GetCount
()
>
0
then
Duel
.
Equip
(
tp
,
g
:
GetFirst
(),
c
)
...
...
c18634367.lua
View file @
d77dcedc
...
...
@@ -45,7 +45,8 @@ function c18634367.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
true
end
if
Duel
.
IsExistingMatchingCard
(
c18634367
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
e
:
GetHandler
():
IsDestructable
()
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c18634367
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
18634367
,
1
))
then
and
Duel
.
IsExistingTarget
(
c18634367
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
e
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c21558682.lua
View file @
d77dcedc
...
...
@@ -37,7 +37,8 @@ function c21558682.atktg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
Duel
.
CheckEvent
(
EVENT_ATTACK_ANNOUNCE
)
and
tp
~=
Duel
.
GetTurnPlayer
()
then
local
at
=
Duel
.
GetAttackTarget
()
local
atg
=
Duel
.
GetAttacker
():
GetAttackableTarget
()
if
at
and
Duel
.
IsExistingTarget
(
c21558682
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
at
,
atg
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
21558682
,
1
))
then
if
at
and
Duel
.
IsExistingTarget
(
c21558682
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
at
,
atg
)
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c21558682
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
at
,
atg
)
...
...
c368382.lua
View file @
d77dcedc
...
...
@@ -2,9 +2,8 @@
function
c368382
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
--
--
disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
368382
,
0
))
e2
:
SetCategory
(
CATEGORY_DISABLE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
...
...
@@ -30,7 +29,7 @@ function c368382.negcon(e,tp,eg,ep,ev,re,r,rp)
and
g
and
g
:
IsExists
(
c368382
.
tfilter
,
1
,
e
:
GetHandler
(),
tp
)
and
Duel
.
IsChainDisablable
(
ev
)
end
function
c368382
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
368382
,
1
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
368382
,
0
))
then
e
:
GetHandler
():
RegisterFlagEffect
(
368382
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
Duel
.
NegateEffect
(
ev
)
Duel
.
BreakEffect
()
...
...
c36970611.lua
View file @
d77dcedc
...
...
@@ -40,7 +40,7 @@ function c36970611.target1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
c36970611
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
end
if
chk
==
0
then
return
true
end
if
c36970611
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
and
c36970611
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
,
chkc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
36970611
,
2
)
)
then
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
:
SetOperation
(
c36970611
.
operation
)
c36970611
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
...
...
@@ -52,7 +52,7 @@ function c36970611.target1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c36970611
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c36970611
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
)
and
e
:
GetHandler
():
GetFlagEffect
(
36970611
)
==
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
36970611
,
3
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
cg
=
Duel
.
SelectMatchingCard
(
tp
,
c36970611
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Remove
(
cg
,
POS_FACEUP
,
REASON_COST
)
e
:
GetHandler
():
RegisterFlagEffect
(
36970611
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
c38988538.lua
View file @
d77dcedc
...
...
@@ -2,9 +2,8 @@
function
c38988538
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
--
--
disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
38988538
,
0
))
e2
:
SetCategory
(
CATEGORY_DISABLE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
...
...
@@ -12,7 +11,7 @@ function c38988538.initial_effect(c)
e2
:
SetCondition
(
c38988538
.
negcon
)
e2
:
SetOperation
(
c38988538
.
negop
)
c
:
RegisterEffect
(
e2
)
--
--
decrease atk/def
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
@@ -20,12 +19,8 @@ function c38988538.initial_effect(c)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetValue
(
c38988538
.
atkval
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e4
:
SetValue
(
c38988538
.
atkval
)
c
:
RegisterEffect
(
e4
)
end
function
c38988538
.
tfilter
(
c
,
tp
)
...
...
@@ -37,7 +32,7 @@ function c38988538.negcon(e,tp,eg,ep,ev,re,r,rp)
and
g
and
g
:
IsExists
(
c38988538
.
tfilter
,
1
,
e
:
GetHandler
(),
tp
)
and
Duel
.
IsChainDisablable
(
ev
)
end
function
c38988538
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
38988538
,
1
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
38988538
,
0
))
then
e
:
GetHandler
():
RegisterFlagEffect
(
38988538
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
Duel
.
NegateEffect
(
ev
)
Duel
.
BreakEffect
()
...
...
c49838105.lua
View file @
d77dcedc
...
...
@@ -7,7 +7,7 @@ function c49838105.initial_effect(c)
e1
:
SetTarget
(
c49838105
.
target1
)
e1
:
SetOperation
(
c49838105
.
operation
)
c
:
RegisterEffect
(
e1
)
--
--
attack
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
49838105
,
0
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
@@ -18,7 +18,7 @@ function c49838105.initial_effect(c)
e2
:
SetOperation
(
c49838105
.
operation
)
e2
:
SetLabel
(
1
)
c
:
RegisterEffect
(
e2
)
--
--
draw
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
49838105
,
1
))
e3
:
SetCategory
(
CATEGORY_TOHAND
)
...
...
@@ -35,8 +35,9 @@ function c49838105.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
c49838105
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
Duel
.
CheckEvent
(
EVENT_ATTACK_ANNOUNCE
)
and
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
49838105
,
2
))
then
if
Duel
.
CheckEvent
(
EVENT_ATTACK_ANNOUNCE
)
and
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
end
...
...
c54059040.lua
View file @
d77dcedc
...
...
@@ -37,7 +37,7 @@ function c54059040.target1(e,tp,eg,ep,ev,re,r,rp,chk)
end
if
res
and
Duel
.
IsExistingMatchingCard
(
c54059040
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
teg
:
IsExists
(
c54059040
.
pfilter
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
54059040
,
1
)
)
then
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
e
:
SetLabel
(
1
)
Duel
.
SetTargetCard
(
teg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
teg
,
teg
:
GetCount
(),
0
,
0
)
...
...
c62878208.lua
View file @
d77dcedc
...
...
@@ -25,7 +25,7 @@ end
function
c62878208
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c62878208
.
filter1
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
62878208
,
2
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
62878208
,
0
))
local
g1
=
Duel
.
SelectTarget
(
tp
,
c62878208
.
filter1
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabelObject
(
g1
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUPATTACK
)
...
...
c63881033.lua
View file @
d77dcedc
...
...
@@ -50,7 +50,7 @@ end
function
c63881033
.
lvtg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
Duel
.
IsExistingMatchingCard
(
c63881033
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
63881033
,
4
)
)
then
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
63881033
,
1
))
local
lv
=
Duel
.
AnnounceNumber
(
tp
,
5
,
6
,
7
,
8
,
9
)
e
:
SetLabel
(
lv
)
...
...
c65338781.lua
View file @
d77dcedc
...
...
@@ -72,7 +72,7 @@ end
function
c65338781
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
c65338781
.
ctfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c65338781
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
65338781
,
2
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c65338781
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x1
)
end
...
...
c79766336.lua
View file @
d77dcedc
...
...
@@ -29,7 +29,7 @@ function c79766336.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c79766336
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
79766336
,
0
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c79766336
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
te
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
=
g
:
GetFirst
():
CheckActivateEffect
(
false
,
true
,
true
)
Duel
.
ClearTargetCard
()
...
...
c88901771.lua
View file @
d77dcedc
...
...
@@ -72,7 +72,7 @@ end
function
c88901771
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
c88901771
.
ctfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c88901771
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
88901771
,
2
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
94
)
Duel
.
SelectTarget
(
tp
,
c88901771
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x1
)
end
...
...
c94432298.lua
View file @
d77dcedc
...
...
@@ -34,7 +34,7 @@ function c94432298.tgtg1(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
and
Duel
.
IsExistingMatchingCard
(
c94432298
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
94432298
,
0
)
)
then
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
e
:
SetCategory
(
CATEGORY_TOGRAVE
)
e
:
GetHandler
():
RegisterFlagEffect
(
94432298
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_CHAIN
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
94432298
,
1
))
...
...
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