Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
13782cbd
Commit
13782cbd
authored
Feb 21, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c4144aba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
script/c61965407.lua
script/c61965407.lua
+7
-7
No files found.
script/c61965407.lua
View file @
13782cbd
...
@@ -21,7 +21,7 @@ function c61965407.initial_effect(c)
...
@@ -21,7 +21,7 @@ function c61965407.initial_effect(c)
e2
:
SetCost
(
c61965407
.
cost
)
e2
:
SetCost
(
c61965407
.
cost
)
e2
:
SetTarget
(
c61965407
.
thtg
)
e2
:
SetTarget
(
c61965407
.
thtg
)
e2
:
SetOperation
(
c61965407
.
operation
)
e2
:
SetOperation
(
c61965407
.
operation
)
e2
:
SetLabel
(
2
)
e2
:
SetLabel
(
1
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--tograve
--tograve
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -34,7 +34,7 @@ function c61965407.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c61965407.initial_effect(c)
e3
:
SetCost
(
c61965407
.
cost
)
e3
:
SetCost
(
c61965407
.
cost
)
e3
:
SetTarget
(
c61965407
.
tgtg
)
e3
:
SetTarget
(
c61965407
.
tgtg
)
e3
:
SetOperation
(
c61965407
.
operation
)
e3
:
SetOperation
(
c61965407
.
operation
)
e3
:
SetLabel
(
1
)
e3
:
SetLabel
(
2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--tograve
--tograve
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
@@ -47,8 +47,8 @@ function c61965407.initial_effect(c)
...
@@ -47,8 +47,8 @@ function c61965407.initial_effect(c)
end
end
function
c61965407
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c61965407
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
if
chkc
then
if
e
:
GetLabel
()
==
1
then
return
chkc
:
IsLocation
(
LOCATION_
REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c61965407
.
thfilter
(
chkc
)
end
if
e
:
GetLabel
()
==
1
then
return
chkc
:
IsLocation
(
LOCATION_
GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c61965407
.
thfilter
(
chkc
)
end
if
e
:
GetLabel
()
==
2
then
return
chkc
:
IsLocation
(
LOCATION_
GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c61965407
.
tgfilter
(
chkc
)
end
if
e
:
GetLabel
()
==
2
then
return
chkc
:
IsLocation
(
LOCATION_
REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c61965407
.
tgfilter
(
chkc
)
end
end
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
if
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
if
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
...
@@ -70,7 +70,7 @@ function c61965407.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -70,7 +70,7 @@ function c61965407.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
SelectTarget
(
tp
,
c61965407
.
tgfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c61965407
.
tgfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
Duel
.
RegisterFlagEffect
(
tp
,
61965407
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
61965407
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
SetLabel
(
1
)
e
:
SetLabel
(
2
)
else
else
e
:
SetCategory
(
0
)
e
:
SetCategory
(
0
)
e
:
SetProperty
(
0
)
e
:
SetProperty
(
0
)
...
@@ -113,10 +113,10 @@ function c61965407.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -113,10 +113,10 @@ function c61965407.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_RETURN
)
else
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
else
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_RETURN
)
end
end
end
end
function
c61965407
.
sdfilter
(
c
)
function
c61965407
.
sdfilter
(
c
)
...
...
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