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
7a7d6028
Commit
7a7d6028
authored
Feb 23, 2016
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9efb5659
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
c96570609.lua
c96570609.lua
+4
-2
No files found.
c96570609.lua
View file @
7a7d6028
...
...
@@ -32,7 +32,6 @@ function c96570609.initial_effect(c)
e4
:
SetRange
(
LOCATION_HAND
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetHintTiming
(
0
,
0x1c0
+
TIMING_MAIN_END
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c96570609
.
sumcon
)
e4
:
SetCost
(
c96570609
.
sumcost
)
e4
:
SetTarget
(
c96570609
.
sumtg
)
...
...
@@ -110,10 +109,13 @@ function c96570609.cfilter(c)
return
c
:
IsSetCard
(
0xbe
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c96570609
.
sumcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c96570609
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c96570609
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
c
:
GetFlagEffect
(
96570609
)
==
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c96570609
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
c
:
RegisterFlagEffect
(
96570609
,
RESET_CHAIN
,
0
,
1
)
end
function
c96570609
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsSummonable
(
true
,
nil
,
1
)
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