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
549c18d8
Commit
549c18d8
authored
Aug 06, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
for Fluorohydride/ygopro-core@f87e668
parent
a6744277
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
c28355718.lua
c28355718.lua
+5
-1
c34294855.lua
c34294855.lua
+1
-1
c51644030.lua
c51644030.lua
+1
-5
c75745607.lua
c75745607.lua
+1
-1
No files found.
c28355718.lua
View file @
549c18d8
...
...
@@ -33,7 +33,11 @@ function c28355718.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCondition
(
c28355718
.
spcon
)
e1
:
SetTarget
(
c28355718
.
sptg
)
e1
:
SetOperation
(
c28355718
.
spop
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
1
)
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
)
end
end
...
...
c34294855.lua
View file @
549c18d8
...
...
@@ -36,7 +36,7 @@ function c34294855.regcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
end
function
c34294855
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
34294855
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_
STANDBY
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
34294855
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_
END
,
0
,
2
)
end
function
c34294855
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
34294855
)
>
0
...
...
c51644030.lua
View file @
549c18d8
...
...
@@ -66,11 +66,7 @@ function c51644030.atkop2(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetLabelObject
(
c
)
e2
:
SetCondition
(
c51644030
.
retcon
)
e2
:
SetOperation
(
c51644030
.
retop
)
if
Duel
.
GetCurrentPhase
()
<=
PHASE_STANDBY
then
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_STANDBY
,
2
)
else
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_STANDBY
)
end
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
...
...
c75745607.lua
View file @
549c18d8
...
...
@@ -25,7 +25,7 @@ function c75745607.hdreg(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PREDRAW
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_
DRAW
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_
END
,
2
)
e1
:
SetOperation
(
c75745607
.
hdop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
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