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
5f2b27ef
Commit
5f2b27ef
authored
Mar 17, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4adf31a7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
c59650656.lua
c59650656.lua
+3
-2
c5990062.lua
c5990062.lua
+4
-8
No files found.
c59650656.lua
View file @
5f2b27ef
...
@@ -26,8 +26,9 @@ function c59650656.initial_effect(c)
...
@@ -26,8 +26,9 @@ function c59650656.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c59650656
.
cfilter
(
c
,
tp
)
function
c59650656
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x7b
)
and
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
(
c
:
IsReason
(
REASON_EFFECT
)
or
(
c
:
IsReason
(
REASON_BATTLE
)
and
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)))
and
c
:
IsSetCard
(
0x7b
)
and
c
:
IsType
(
TYPE_XYZ
)
end
end
function
c59650656
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c59650656
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
~=
tp
and
eg
:
IsExists
(
c59650656
.
cfilter
,
1
,
nil
,
tp
)
return
rp
~=
tp
and
eg
:
IsExists
(
c59650656
.
cfilter
,
1
,
nil
,
tp
)
...
...
c5990062.lua
View file @
5f2b27ef
...
@@ -12,14 +12,10 @@ function c5990062.cfilter(c)
...
@@ -12,14 +12,10 @@ function c5990062.cfilter(c)
return
not
c
:
IsAbleToGraveAsCost
()
return
not
c
:
IsAbleToGraveAsCost
()
end
end
function
c5990062
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c5990062
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
)
local
g2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
g
:
RemoveCard
(
e
:
GetHandler
())
g1
:
RemoveCard
(
e
:
GetHandler
())
if
chk
==
0
then
return
g
:
GetCount
()
>
0
and
not
g
:
IsExists
(
c5990062
.
cfilter
,
1
,
nil
)
end
g2
:
RemoveCard
(
e
:
GetHandler
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
if
chk
==
0
then
return
g1
:
GetCount
()
>
0
and
not
g1
:
IsExists
(
c5990062
.
cfilter
,
1
,
nil
)
and
g2
:
GetCount
()
>
0
and
not
g2
:
IsExists
(
c5990062
.
cfilter
,
1
,
nil
)
end
g1
:
Merge
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
end
end
function
c5990062
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c5990062
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
...
...
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