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
ae7aa6bf
Commit
ae7aa6bf
authored
Oct 21, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7589bd79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
c37198732.lua
c37198732.lua
+8
-2
c52097679.lua
c52097679.lua
+1
-1
No files found.
c37198732.lua
View file @
ae7aa6bf
...
...
@@ -14,8 +14,14 @@ function c37198732.cfilter(c)
return
c
:
GetLevel
()
>
0
and
c
:
IsAbleToGraveAsCost
()
end
function
c37198732
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c37198732
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
if
Duel
.
IsExistingMatchingCard
(
c37198732
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
then
e
:
SetLabel
(
1
)
return
true
else
return
false
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c37198732
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
...
...
c52097679.lua
View file @
ae7aa6bf
...
...
@@ -19,7 +19,7 @@ function c52097679.filter(c,e)
return
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c52097679
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
c52097679
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
local
sg
=
Duel
.
GetMatchingGroup
(
c52097679
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
e
)
local
c
=
e
:
GetHandler
()
local
tc
=
sg
:
GetFirst
()
while
tc
do
...
...
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