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
7ee60dbf
Commit
7ee60dbf
authored
Aug 16, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
87469f41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
c94212438.lua
c94212438.lua
+13
-8
No files found.
c94212438.lua
View file @
7ee60dbf
...
...
@@ -15,8 +15,9 @@ function c94212438.initial_effect(c)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCountLimit
(
1
)
e2
:
SetLabel
(
94212438
)
e2
:
SetCondition
(
c94212438
.
condition
)
e2
:
SetOperation
(
c94212438
.
operation
)
e2
:
SetCondition
(
c94212438
.
plcon
)
e2
:
SetTarget
(
c94212438
.
pltg
)
e2
:
SetOperation
(
c94212438
.
plop
)
c
:
RegisterEffect
(
e2
)
--tograve
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -42,17 +43,21 @@ function c94212438.initial_effect(c)
end
function
c94212438
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
c94212438
.
conditi
on
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
e
:
SetOperation
(
c94212438
.
operation
)
if
Duel
.
GetCurrentPhase
()
==
PHASE_END
and
c94212438
.
plc
on
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
e
:
SetOperation
(
c94212438
.
plop
)
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_CHAIN
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
65
)
e
:
GetHandler
():
RegisterFlagEffect
(
94212439
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
e
:
SetOperation
(
nil
)
end
end
function
c94212438
.
conditi
on
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c94212438
.
plc
on
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
e
:
GetHandler
():
GetFlagEffect
(
94212438
)
<
4
end
function
c94212438
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c94212438
.
pltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
94212439
)
==
0
end
end
function
c94212438
.
plop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
...
...
@@ -85,5 +90,5 @@ function c94212438.winop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
c94212438
.
cfilter3
,
tp
,
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
if
g
:
GetClassCount
(
Card
.
GetCode
)
==
4
then
Duel
.
Win
(
tp
,
WIN_REASON_DESTINY_BOARD
)
end
end
end
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