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
50a5990b
Commit
50a5990b
authored
Sep 26, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert & fix
parent
74d3f99f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
c56638325.lua
c56638325.lua
+17
-1
No files found.
c56638325.lua
View file @
50a5990b
...
...
@@ -14,6 +14,12 @@ function c56638325.initial_effect(c)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EVENT_CHAIN_END
)
e3
:
SetOperation
(
c56638325
.
limop2
)
c
:
RegisterEffect
(
e3
)
--destroy
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
56638325
,
0
))
...
...
@@ -45,7 +51,17 @@ function c56638325.limcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetOverlayCount
()
>
0
and
eg
:
IsExists
(
c56638325
.
limfilter
,
1
,
nil
,
tp
)
end
function
c56638325
.
limop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SetChainLimitTillChainEnd
(
c56638325
.
chainlm
)
if
Duel
.
GetCurrentChain
()
==
0
then
Duel
.
SetChainLimitTillChainEnd
(
c56638325
.
chainlm
)
elseif
Duel
.
GetCurrentChain
()
==
1
then
e
:
GetHandler
():
RegisterFlagEffect
(
56638325
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c56638325
.
limop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
GetOverlayCount
()
>
0
and
e
:
GetHandler
():
GetFlagEffect
(
56638325
)
~=
0
then
Duel
.
SetChainLimitTillChainEnd
(
c56638325
.
chainlm
)
end
e
:
GetHandler
():
ResetFlagEffect
(
56638325
)
end
function
c56638325
.
chainlm
(
e
,
rp
,
tp
)
return
tp
==
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