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
d496395b
Commit
d496395b
authored
Feb 05, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4b4d9074
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expansions/script/c37564057.lua
expansions/script/c37564057.lua
+3
-3
No files found.
expansions/script/c37564057.lua
View file @
d496395b
...
...
@@ -38,7 +38,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
chkc
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter_chkc
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
:
GetHandler
(),
chkc
,
e
:
GetLabelObject
():
GetLevel
())
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
c
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
c
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
e
:
SetLabelObject
(
g
:
GetFirst
())
end
...
...
@@ -46,7 +46,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
c
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsFacedown
()
or
tc
:
IsControler
(
1
-
tp
)
or
tc
:
IsImmuneToEffect
(
e
)
or
c
:
IsImmuneToEffect
(
e
)
then
return
end
local
exg
=
Duel
.
GetMatchingGroup
(
cm
.
mfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
exg
=
Duel
.
GetMatchingGroup
(
cm
.
exfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
c
,
tc
)
if
#
exg
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sc
=
exg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
...
...
@@ -82,7 +82,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetMZontCount
()
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
37564015
,
0
,
0x21
,
3000
,
2500
,
10
,
RACE_PLANT
,
ATTRIBUTE_DARK
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
37564015
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
37564015
)
if
#
g
>
0
then
local
tc
=
g
:
GetFirst
()
...
...
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