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
5cac8ad5
Commit
5cac8ad5
authored
Dec 01, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
catchup
parent
496a6724
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
9 deletions
+9
-9
expansions/script/c37564011.lua
expansions/script/c37564011.lua
+1
-1
expansions/script/c37564028.lua
expansions/script/c37564028.lua
+1
-1
expansions/script/c37564037.lua
expansions/script/c37564037.lua
+1
-1
expansions/script/c37564316.lua
expansions/script/c37564316.lua
+1
-1
expansions/script/c37564400.lua
expansions/script/c37564400.lua
+1
-1
expansions/script/c37564415.lua
expansions/script/c37564415.lua
+1
-1
expansions/script/c37564501.lua
expansions/script/c37564501.lua
+1
-1
expansions/script/c37564516.lua
expansions/script/c37564516.lua
+1
-1
expansions/script/c37564530.lua
expansions/script/c37564530.lua
+1
-1
No files found.
expansions/script/c37564011.lua
View file @
5cac8ad5
...
...
@@ -58,7 +58,7 @@ function cm.con(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
GetRank
()
==
4
and
(
c
:
IsControler
(
tp
)
or
c
:
IsAbleToChangeControler
()
)
and
c
:
IsCanOverlay
(
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
and
cm
.
filter
(
chkc
,
tp
)
and
chkc
~=
e
:
GetHandler
()
end
...
...
expansions/script/c37564028.lua
View file @
5cac8ad5
...
...
@@ -38,7 +38,7 @@ function cm.xmcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
cm
.
xmfilter
,
1
,
nil
)
end
function
cm
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsAbleToChangeControler
())
and
not
c
:
IsType
(
TYPE_TOKEN
)
return
c
:
IsFaceup
()
and
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
c
:
IsCanOverlay
(
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
cm
.
filter
(
chkc
,
tp
)
and
chkc
~=
e
:
GetHandler
()
end
...
...
expansions/script/c37564037.lua
View file @
5cac8ad5
...
...
@@ -92,7 +92,7 @@ function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
function
cm
.
filter
(
c
,
tp
)
return
not
c
:
IsType
(
TYPE_TOKEN
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsAbleToChangeControler
()
)
return
c
:
IsCanOverlay
(
)
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
cm
.
filter
(
chkc
,
tp
)
and
chkc
~=
e
:
GetHandler
()
end
...
...
expansions/script/c37564316.lua
View file @
5cac8ad5
...
...
@@ -69,7 +69,7 @@ function cm.ccost(costf)
end
end
function
cm
.
filter
(
c
,
tp
)
return
(
c
:
IsControler
(
tp
)
or
c
:
IsAbleToChangeControler
())
and
not
c
:
IsType
(
TYPE_TOKEN
)
return
c
:
IsCanOverlay
(
)
end
function
cm
.
target0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
cm
.
filter
(
chkc
,
tp
)
and
chkc
~=
e
:
GetHandler
()
end
...
...
expansions/script/c37564400.lua
View file @
5cac8ad5
...
...
@@ -89,7 +89,7 @@ function cm.rm(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
function
cm
.
drfilter
(
c
,
e
,
tp
)
return
not
c
:
IsType
(
TYPE_TOKEN
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsAbleToChangeControler
()
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
c
~=
e
:
GetHandler
()
return
c
:
IsCanOverlay
(
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
c
~=
e
:
GetHandler
()
end
function
cm
.
desfilter
(
c
,
e
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsAbleToHand
()
and
c
:
IsRace
(
RACE_SEASERPENT
)
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
cm
.
drfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
,
e
,
tp
)
...
...
expansions/script/c37564415.lua
View file @
5cac8ad5
...
...
@@ -53,5 +53,5 @@ function cm.exop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
drfilter
(
c
,
e
)
return
not
c
:
IsType
(
TYPE_TOKEN
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsAbleToChangeControler
()
)
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsCanOverlay
(
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
expansions/script/c37564501.lua
View file @
5cac8ad5
...
...
@@ -37,7 +37,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetTargetCard
(
eg
)
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
GetFlagEffect
(
m
)
==
0
and
c
:
IsRelateToEffect
(
e
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
not
c
:
IsType
(
TYPE_TOKEN
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsAbleToChangeControler
()
)
return
c
:
IsFaceup
()
and
c
:
GetFlagEffect
(
m
)
==
0
and
c
:
IsRelateToEffect
(
e
)
and
not
c
:
IsImmuneToEffect
(
e
)
c
:
IsCanOverlay
(
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c37564516.lua
View file @
5cac8ad5
...
...
@@ -26,7 +26,7 @@ function cm.mfilter(c)
return
c
:
IsRace
(
RACE_FAIRY
)
end
function
cm
.
filter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsAbleToChangeControler
()
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsCanOverlay
(
)
end
function
cm
.
target0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
+
LOCATION_GRAVE
)
and
cm
.
filter
(
chkc
,
tp
)
and
chkc
~=
e
:
GetHandler
()
and
chkc
:
IsControler
(
1
-
tp
)
end
...
...
expansions/script/c37564530.lua
View file @
5cac8ad5
...
...
@@ -38,7 +38,7 @@ function cm.xyzop(e,tp,chk)
Duel
.
DiscardHand
(
tp
,
cm
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
function
cm
.
filter
(
c
,
tp
)
return
(
c
:
IsControler
(
tp
)
or
c
:
IsAbleToChangeControler
())
and
not
c
:
IsType
(
TYPE_TOKEN
)
return
c
:
IsCanOverlay
(
)
end
function
cm
.
target0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
cm
.
filter
(
chkc
,
tp
)
and
chkc
~=
e
:
GetHandler
()
and
chkc
:
IsControler
(
1
-
tp
)
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