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
f2000474
Commit
f2000474
authored
Jul 29, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9fbd6b41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
c69599136.lua
c69599136.lua
+8
-2
No files found.
c69599136.lua
View file @
f2000474
...
...
@@ -9,10 +9,11 @@ function c69599136.initial_effect(c)
e1
:
SetOperation
(
c69599136
.
activate
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_
FLIP_
SUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_
SP
SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_FLIP_SUMMON_SUCCESS
)
e3
:
SetTarget
(
c69599136
.
target2
)
c
:
RegisterEffect
(
e3
)
end
function
c69599136
.
filter
(
c
,
tp
)
...
...
@@ -23,6 +24,11 @@ function c69599136.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
eg
:
Filter
(
c69599136
.
filter
,
nil
,
tp
)
Duel
.
SetTargetCard
(
g
)
end
function
c69599136
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tc
=
eg
:
GetFirst
()
if
chk
==
0
then
return
rp
==
1
-
tp
and
tc
:
IsFaceup
()
and
tc
:
IsCanTurnSet
()
end
Duel
.
SetTargetCard
(
tc
)
end
function
c69599136
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
~=
0
then
...
...
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