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
Reinen
ygopro-scripts
Commits
67685c01
Commit
67685c01
authored
Jan 22, 2020
by
mallu11
Committed by
mercury233
Jan 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix reset in end phase (#1315)
* fix 閃刀姫-ジーク * fix アーティファクト-ダグザ
parent
f4838890
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
c7480763.lua
c7480763.lua
+1
-1
c75147529.lua
c75147529.lua
+1
-1
No files found.
c7480763.lua
View file @
67685c01
...
...
@@ -54,7 +54,7 @@ function c7480763.stop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetLabelObject
(
tc
)
e1
:
SetCondition
(
c7480763
.
descon
)
e1
:
SetOperation
(
c7480763
.
desop
)
if
Duel
.
GetTurnPlayer
()
==
1
-
tp
then
if
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_END
then
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
2
)
e1
:
SetValue
(
Duel
.
GetTurnCount
())
tc
:
RegisterFlagEffect
(
7480763
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
0
,
2
)
...
...
c75147529.lua
View file @
67685c01
...
...
@@ -66,7 +66,7 @@ function c75147529.rmop(e,tp,eg,ep,ev,re,r,rp)
else
reset
=
RESET_SELF_TURN
end
if
Duel
.
GetTurnPlayer
()
==
1
-
tp
then
if
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_END
then
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
2
)
e1
:
SetValue
(
Duel
.
GetTurnCount
())
tc
:
RegisterFlagEffect
(
75147529
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
reset
,
0
,
2
)
...
...
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