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
0bc8fba1
Commit
0bc8fba1
authored
Jun 25, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c13b22c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
c17688543.lua
c17688543.lua
+2
-2
c43839002.lua
c43839002.lua
+2
-2
No files found.
c17688543.lua
View file @
0bc8fba1
...
@@ -38,11 +38,11 @@ function c17688543.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,11 +38,11 @@ function c17688543.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
then
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
then
e1
:
SetReset
(
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
2
)
e1
:
SetValue
(
Duel
.
GetTurnCount
())
e1
:
SetValue
(
Duel
.
GetTurnCount
())
tc
:
RegisterFlagEffect
(
17688543
,
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
2
,
fid
)
tc
:
RegisterFlagEffect
(
17688543
,
RESET_
EVENT
+
RESETS_STANDARD
+
RESET_
PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
2
,
fid
)
else
else
e1
:
SetReset
(
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
)
e1
:
SetValue
(
0
)
e1
:
SetValue
(
0
)
tc
:
RegisterFlagEffect
(
17688543
,
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
1
,
fid
)
tc
:
RegisterFlagEffect
(
17688543
,
RESET_
EVENT
+
RESETS_STANDARD
+
RESET_
PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
1
,
fid
)
end
end
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
...
...
c43839002.lua
View file @
0bc8fba1
...
@@ -43,11 +43,11 @@ function c43839002.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,11 +43,11 @@ function c43839002.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
then
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
then
e1
:
SetReset
(
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
2
)
e1
:
SetValue
(
Duel
.
GetTurnCount
())
e1
:
SetValue
(
Duel
.
GetTurnCount
())
tc
:
RegisterFlagEffect
(
43839002
,
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
2
,
fid
)
tc
:
RegisterFlagEffect
(
43839002
,
RESET_
EVENT
+
RESETS_STANDARD
+
RESET_
PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
2
,
fid
)
else
else
e1
:
SetReset
(
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
)
e1
:
SetValue
(
0
)
e1
:
SetValue
(
0
)
tc
:
RegisterFlagEffect
(
43839002
,
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
1
,
fid
)
tc
:
RegisterFlagEffect
(
43839002
,
RESET_
EVENT
+
RESETS_STANDARD
+
RESET_
PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
1
,
fid
)
end
end
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
tc
:
IsFacedown
()
then
return
end
if
tc
:
IsFacedown
()
then
return
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