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
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
Commits
5bb71f73
Commit
5bb71f73
authored
Jul 13, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix デストーイ・マーチ
parent
43280f58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
c74416026.lua
c74416026.lua
+9
-5
No files found.
c74416026.lua
View file @
5bb71f73
...
@@ -48,7 +48,9 @@ function c74416026.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,9 @@ function c74416026.activate(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
c74416026
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
nil
):
GetFirst
()
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
c74416026
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
nil
):
GetFirst
()
sc
:
SetMaterial
(
nil
)
sc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummonStep
(
sc
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
Duel
.
SpecialSummonStep
(
sc
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
c
=
e
:
GetHandler
()
local
fid
=
c
:
GetFieldID
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
...
@@ -57,23 +59,25 @@ function c74416026.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,23 +59,25 @@ function c74416026.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCondition
(
c74416026
.
rmcon
)
e1
:
SetCondition
(
c74416026
.
rmcon
)
e1
:
SetOperation
(
c74416026
.
rmop
)
e1
:
SetOperation
(
c74416026
.
rmop
)
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_END
then
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_END
then
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetLabel
(
Duel
.
GetTurnCount
()
,
fid
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
sc
:
RegisterFlagEffect
(
74416026
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
0
,
2
,
fid
)
else
else
e
:
SetLabel
(
0
)
e
1
:
SetLabel
(
0
,
fid
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
)
sc
:
RegisterFlagEffect
(
74416026
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
0
,
1
,
fid
)
end
end
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
sc
:
CompleteProcedure
()
sc
:
CompleteProcedure
()
sc
:
RegisterFlagEffect
(
74416026
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
end
end
end
end
end
end
end
end
function
c74416026
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74416026
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
and
tc
:
GetFlagEffect
(
74416026
)
~=
0
local
turn
,
fid
=
e
:
GetLabel
()
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetTurnCount
()
~=
turn
and
tc
:
GetFlagEffectLabel
(
74416026
)
==
fid
end
end
function
c74416026
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74416026
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
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