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
fd6a91ec
Commit
fd6a91ec
authored
Aug 10, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
for Fluorohydride/ygopro-core@f87e668
parent
08eccd45
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
6 deletions
+22
-6
c33541430.lua
c33541430.lua
+1
-1
c37313786.lua
c37313786.lua
+5
-1
c47295267.lua
c47295267.lua
+5
-1
c51670553.lua
c51670553.lua
+5
-1
c53828396.lua
c53828396.lua
+1
-1
c8483333.lua
c8483333.lua
+5
-1
No files found.
c33541430.lua
View file @
fd6a91ec
...
@@ -37,7 +37,7 @@ function c33541430.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -37,7 +37,7 @@ function c33541430.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetCode
(
EFFECT_SKIP_DP
)
e1
:
SetCode
(
EFFECT_SKIP_DP
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_
DRAW
+
RESET_SELF_TURN
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_
END
+
RESET_SELF_TURN
,
2
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c33541430
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33541430
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c37313786.lua
View file @
fd6a91ec
...
@@ -30,7 +30,11 @@ function c37313786.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,11 @@ function c37313786.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetCode
(
EFFECT_SKIP_TURN
)
e1
:
SetCode
(
EFFECT_SKIP_TURN
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_DRAW
+
RESET_SELF_TURN
)
if
Duel
.
GetTurnPlayer
()
==
tp
then
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
else
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
)
end
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
end
c47295267.lua
View file @
fd6a91ec
...
@@ -49,7 +49,11 @@ function c47295267.retop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,7 +49,11 @@ function c47295267.retop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c47295267
.
descon
)
e2
:
SetCondition
(
c47295267
.
descon
)
e2
:
SetOperation
(
c47295267
.
desop
)
e2
:
SetOperation
(
c47295267
.
desop
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
)
if
Duel
.
GetTurnPlayer
()
==
tp
then
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
else
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
)
end
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
end
end
end
end
...
...
c51670553.lua
View file @
fd6a91ec
...
@@ -57,7 +57,11 @@ function c51670553.skipop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,11 @@ function c51670553.skipop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetCode
(
EFFECT_SKIP_DP
)
e1
:
SetCode
(
EFFECT_SKIP_DP
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_DRAW
+
RESET_OPPO_TURN
)
if
Duel
.
GetTurnPlayer
()
==
tp
then
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
1
)
else
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
2
)
end
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c51670553
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c51670553
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c53828396.lua
View file @
fd6a91ec
...
@@ -40,7 +40,7 @@ function c53828396.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +40,7 @@ function c53828396.eqop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCondition
(
c53828396
.
descon
)
e2
:
SetCondition
(
c53828396
.
descon
)
e2
:
SetTarget
(
c53828396
.
destg
)
e2
:
SetTarget
(
c53828396
.
destg
)
e2
:
SetOperation
(
c53828396
.
desop
)
e2
:
SetOperation
(
c53828396
.
desop
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c53828396
.
eqlimit
(
e
,
c
)
function
c53828396
.
eqlimit
(
e
,
c
)
...
...
c8483333.lua
View file @
fd6a91ec
...
@@ -23,7 +23,11 @@ function c8483333.regop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -23,7 +23,11 @@ function c8483333.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCondition
(
c8483333
.
spcon
)
e1
:
SetCondition
(
c8483333
.
spcon
)
e1
:
SetTarget
(
c8483333
.
sptg
)
e1
:
SetTarget
(
c8483333
.
sptg
)
e1
:
SetOperation
(
c8483333
.
spop
)
e1
:
SetOperation
(
c8483333
.
spop
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
)
if
Duel
.
GetTurnPlayer
()
==
tp
then
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
else
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
)
end
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c8483333
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c8483333
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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