Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Nanahira-Cards
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
nanahira
Nanahira-Cards
Commits
9384de48
Commit
9384de48
authored
Feb 18, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finishscript
parent
dcc55b60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
expansions/script/c37564566.lua
expansions/script/c37564566.lua
+2
-3
No files found.
expansions/script/c37564566.lua
View file @
9384de48
...
...
@@ -25,7 +25,6 @@ function cm.initial_effect(c)
e1
:
SetHintTiming
(
0
,
TIMING_DRAW_PHASE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target1
)
e1
:
SetOperation
(
cm
.
operation1
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -61,7 +60,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
end
function
cm
.
rfilter
(
c
,
ec
)
return
cm
[
tc
]
and
chk
c
:
IsType
(
TYPE_TRAP
)
and
ec
:
IsHasCardTarget
(
c
)
return
cm
[
c
]
and
c
:
IsType
(
TYPE_TRAP
)
and
ec
:
IsHasCardTarget
(
c
)
end
function
cm
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
@@ -76,6 +75,6 @@ function cm.operation1(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
local
te
=
cm
[
tc
]
if
te
then
te
:
Reset
()
end
if
c
:
IsHasCardTarget
(
c
)
then
c
:
ReleaseRelation
(
tc
)
end
if
c
:
IsHasCardTarget
(
tc
)
then
c
:
CancelCardTarget
(
tc
)
end
end
end
\ No newline at end of file
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