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
b17dda93
Commit
b17dda93
authored
May 17, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9d3b9542
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 @
b17dda93
...
@@ -45,8 +45,8 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,8 +45,8 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if
not
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
then
return
end
if
not
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
tg
=
Senya
.
SelectGroup
(
tp
,
HINTMSG_SET
,
g
,
cm
.
check
,
nil
,
5
,
5
)
local
tg
=
Senya
.
SelectGroup
(
tp
,
HINTMSG_SET
,
g
,
cm
.
check
,
nil
,
5
,
5
)
Duel
.
SSet
(
tp
,
tg
)
for
tc
in
aux
.
Next
(
tg
)
do
for
tc
in
aux
.
Next
(
tg
)
do
Duel
.
SSet
(
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
...
@@ -69,7 +69,6 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,7 +69,6 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e
:
GetHandler
():
SetCardTarget
(
tc
)
e
:
GetHandler
():
SetCardTarget
(
tc
)
end
end
end
end
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
end
end
function
cm
.
rfilter
(
c
,
ec
)
function
cm
.
rfilter
(
c
,
ec
)
return
cm
[
c
]
and
c
:
IsType
(
TYPE_TRAP
)
and
ec
:
IsHasCardTarget
(
c
)
return
cm
[
c
]
and
c
:
IsType
(
TYPE_TRAP
)
and
ec
:
IsHasCardTarget
(
c
)
...
@@ -94,4 +93,4 @@ function cm.operation1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -94,4 +93,4 @@ function cm.operation1(e,tp,eg,ep,ev,re,r,rp)
end
end
if
c
:
IsHasCardTarget
(
tc
)
then
c
:
CancelCardTarget
(
tc
)
end
if
c
:
IsHasCardTarget
(
tc
)
then
c
:
CancelCardTarget
(
tc
)
end
end
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