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
d2df8b3c
Commit
d2df8b3c
authored
Mar 31, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
de1f7445
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
26 additions
and
20 deletions
+26
-20
expansions/script/c37564338.lua
expansions/script/c37564338.lua
+1
-1
expansions/script/c37564427.lua
expansions/script/c37564427.lua
+1
-1
expansions/script/c37564457.lua
expansions/script/c37564457.lua
+1
-1
expansions/script/c37564550.lua
expansions/script/c37564550.lua
+1
-1
expansions/script/c37564555.lua
expansions/script/c37564555.lua
+6
-7
expansions/script/c37564556.lua
expansions/script/c37564556.lua
+1
-1
expansions/script/c37564557.lua
expansions/script/c37564557.lua
+1
-1
expansions/script/c37564558.lua
expansions/script/c37564558.lua
+1
-1
expansions/script/c37564560.lua
expansions/script/c37564560.lua
+1
-1
expansions/script/c37564561.lua
expansions/script/c37564561.lua
+1
-1
expansions/script/c37564564.lua
expansions/script/c37564564.lua
+1
-1
expansions/script/c37564765.lua
expansions/script/c37564765.lua
+7
-0
expansions/script/c37564850.lua
expansions/script/c37564850.lua
+1
-1
expansions/script/c37564851.lua
expansions/script/c37564851.lua
+1
-1
expansions/script/c37564919.lua
expansions/script/c37564919.lua
+1
-1
No files found.
expansions/script/c37564338.lua
View file @
d2df8b3c
...
...
@@ -4,7 +4,7 @@ local cm=_G["c"..m]
xpcall
(
function
()
require
(
"expansions/script/c37564765"
)
end
,
function
()
require
(
"script/c37564765"
)
end
)
function
cm
.
initial_effect
(
c
)
--link summon
cm
.
AddLinkProcedure
(
c
,
aux
.
TRUE
,
4
)
Senya
.
AddLinkProcedure
(
c
,
aux
.
TRUE
,
4
)
c
:
EnableReviveLimit
()
Senya
.
AddSummonMusic
(
c
,
m
*
16
+
1
,
SUMMON_TYPE_LINK
)
--atk
...
...
expansions/script/c37564427.lua
View file @
d2df8b3c
...
...
@@ -4,7 +4,7 @@ local cm=_G["c"..m]
xpcall
(
function
()
require
(
"expansions/script/c37564765"
)
end
,
function
()
require
(
"script/c37564765"
)
end
)
cm
.
Senya_name_with_prism
=
true
function
cm
.
initial_effect
(
c
)
cm
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_SEASERPENT
),
2
,
2
)
Senya
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_SEASERPENT
),
2
,
2
)
c
:
EnableReviveLimit
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c37564457.lua
View file @
d2df8b3c
...
...
@@ -4,7 +4,7 @@ local cm=_G["c"..m]
xpcall
(
function
()
require
(
"expansions/script/c37564765"
)
end
,
function
()
require
(
"script/c37564765"
)
end
)
cm
.
Senya_name_with_prism
=
true
function
cm
.
initial_effect
(
c
)
cm
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_SEASERPENT
),
2
,
3
)
Senya
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_SEASERPENT
),
2
,
3
)
c
:
EnableReviveLimit
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c37564550.lua
View file @
d2df8b3c
...
...
@@ -6,7 +6,7 @@ cm.Senya_desc_with_nanahira=true
function
cm
.
initial_effect
(
c
)
Senya
.
Nanahira
(
c
)
c
:
EnableReviveLimit
()
cm
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkCode
,
37564765
),
2
,
2
)
Senya
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkCode
,
37564765
),
2
,
2
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
...
...
expansions/script/c37564555.lua
View file @
d2df8b3c
...
...
@@ -32,9 +32,9 @@ function cm.initial_effect(c)
e3
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCost
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
pend
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_PZONE
)
>
0
local
pend
=
Senya
.
GetPZoneCount
(
tp
)
>
0
local
c
=
e
:
GetHandler
()
local
g
=
Senya
.
GetReleaseGroup
(
tp
,
LOCATION_ONFIELD
,
0
,
cm
.
f
,
c
,
pend
)
local
g
=
Senya
.
GetReleaseGroup
(
tp
,
LOCATION_ONFIELD
,
0
,
cm
.
f
,
c
,
tp
,
c
)
e
:
SetLabel
(
1
)
if
chk
==
0
then
return
#
g
>
0
and
c
:
IsReleasable
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
@@ -46,13 +46,13 @@ function cm.initial_effect(c)
if
chk
==
0
then
local
l
=
e
:
GetLabel
()
e
:
SetLabel
(
0
)
if
l
~=
1
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_PZONE
)
<
2
then
return
false
end
if
l
~=
1
and
Senya
.
GetPZoneCount
(
tp
)
<
2
then
return
false
end
return
Duel
.
IsExistingMatchingCard
(
cm
.
pcfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
end
e
:
SetLabel
(
0
)
end
)
e3
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_PZONE
)
<
2
then
return
end
if
Senya
.
GetPZoneCount
(
tp
)
<
2
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
pcfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
2
,
nil
)
local
pc
=
g
:
GetFirst
()
...
...
@@ -84,9 +84,8 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
cm
.
pendulum_level
=
7
function
cm
.
f
(
c
,
pend
)
if
not
pend
and
not
c
:
IsLocation
(
LOCATION_PZONE
)
and
c
:
GetSequence
()
>
0
and
c
:
GetSequence
()
<
4
then
return
false
end
return
c
:
IsCode
(
37564765
)
and
c
:
IsReleasable
()
function
cm
.
f
(
c
,
tp
,
ec
)
return
c
:
IsCode
(
37564765
)
and
c
:
IsReleasable
()
and
Senya
.
GetPZoneCount
(
tp
,
Group
.
FromCards
(
c
,
ec
))
>
1
end
function
cm
.
pcfilter
(
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
.
Senya_desc_with_nanahira
and
not
c
:
IsForbidden
()
...
...
expansions/script/c37564556.lua
View file @
d2df8b3c
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
Senya
.
Nanahira
(
c
)
Senya
.
AddSummonMusic
(
c
,
m
*
16
+
1
,
SUMMON_TYPE_LINK
)
--link summon
cm
.
AddLinkProcedure
(
c
,
function
(
c
)
return
c
:
GetOriginalCode
()
==
37564765
end
,
1
,
1
)
Senya
.
AddLinkProcedure
(
c
,
function
(
c
)
return
c
:
GetOriginalCode
()
==
37564765
end
,
1
,
1
)
c
:
EnableReviveLimit
()
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c37564557.lua
View file @
d2df8b3c
...
...
@@ -6,7 +6,7 @@ cm.Senya_desc_with_nanahira=true
function
cm
.
initial_effect
(
c
)
Senya
.
Nanahira
(
c
)
c
:
EnableReviveLimit
()
cm
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkCode
,
37564765
),
2
,
3
)
Senya
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkCode
,
37564765
),
2
,
3
)
local
ex
=
Effect
.
CreateEffect
(
c
)
ex
:
SetType
(
EFFECT_TYPE_SINGLE
)
ex
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
expansions/script/c37564558.lua
View file @
d2df8b3c
...
...
@@ -6,7 +6,7 @@ cm.Senya_desc_with_nanahira=true
function
cm
.
initial_effect
(
c
)
Senya
.
Nanahira
(
c
)
c
:
EnableReviveLimit
()
cm
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkCode
,
37564765
),
2
,
2
)
Senya
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkCode
,
37564765
),
2
,
2
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
...
...
expansions/script/c37564560.lua
View file @
d2df8b3c
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
Senya
.
Nanahira
(
c
)
Senya
.
AddSummonMusic
(
c
,
m
*
16
+
1
,
SUMMON_TYPE_LINK
)
c
:
EnableReviveLimit
()
cm
.
AddLinkProcedure
(
c
,
cm
.
mfilter
,
2
,
2
,
cm
.
lcheck
)
Senya
.
AddLinkProcedure
(
c
,
cm
.
mfilter
,
2
,
2
,
cm
.
lcheck
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetRange
(
LOCATION_MZONE
)
...
...
expansions/script/c37564561.lua
View file @
d2df8b3c
...
...
@@ -6,7 +6,7 @@ cm.Senya_desc_with_nanahira=true
function
cm
.
initial_effect
(
c
)
Senya
.
Nanahira
(
c
)
c
:
EnableReviveLimit
()
cm
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkCode
,
37564765
),
2
,
4
)
Senya
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkCode
,
37564765
),
2
,
4
)
Senya
.
AddSummonMusic
(
c
,
m
*
16
,
SUMMON_TYPE_LINK
)
local
ex
=
Effect
.
CreateEffect
(
c
)
ex
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c37564564.lua
View file @
d2df8b3c
...
...
@@ -6,7 +6,7 @@ cm.Senya_desc_with_nanahira=true
function
cm
.
initial_effect
(
c
)
Senya
.
Nanahira
(
c
)
c
:
EnableReviveLimit
()
cm
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkCode
,
37564765
),
3
,
3
)
Senya
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkCode
,
37564765
),
3
,
3
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
expansions/script/c37564765.lua
View file @
d2df8b3c
...
...
@@ -2680,3 +2680,10 @@ function cm.LinkOperation(f,min,max,gf)
g
:
DeleteGroup
()
end
end
function
cm
.
GetPZoneCount
(
tp
,
g
)
local
res
=
0
for
i
=
0
,
1
do
if
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
i
)
or
(
g
and
g
:
IsExists
(
function
(
c
)
return
c
==
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
i
)
or
(
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
GetSequence
()
==
i
*
4
)
end
,
1
,
nil
))
then
res
=
res
+
1
end
end
return
res
end
expansions/script/c37564850.lua
View file @
d2df8b3c
...
...
@@ -5,7 +5,7 @@ xpcall(function() require("expansions/script/c37564765") end,function() require(
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
Senya
.
AddSummonMusic
(
c
,
m
*
16
+
2
,
SUMMON_TYPE_LINK
)
cm
.
AddLinkProcedure
(
c
,
Senya
.
check_link_set_3L
,
2
,
2
)
Senya
.
AddLinkProcedure
(
c
,
Senya
.
check_link_set_3L
,
2
,
2
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
expansions/script/c37564851.lua
View file @
d2df8b3c
...
...
@@ -5,7 +5,7 @@ xpcall(function() require("expansions/script/c37564765") end,function() require(
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
Senya
.
AddSummonMusic
(
c
,
m
*
16
+
2
,
SUMMON_TYPE_LINK
)
cm
.
AddLinkProcedure
(
c
,
Senya
.
check_link_set_3L
,
3
,
4
)
Senya
.
AddLinkProcedure
(
c
,
Senya
.
check_link_set_3L
,
3
,
4
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
expansions/script/c37564919.lua
View file @
d2df8b3c
...
...
@@ -6,7 +6,7 @@ cm.Senya_name_with_sayuri=true
function
cm
.
initial_effect
(
c
)
Senya
.
AddSummonMusic
(
c
,
m
*
16
,
SUMMON_TYPE_LINK
)
c
:
EnableReviveLimit
()
cm
.
AddLinkProcedure
(
c
,
cm
.
mfilter
,
3
,
3
,
cm
.
lcheck
)
Senya
.
AddLinkProcedure
(
c
,
cm
.
mfilter
,
3
,
3
,
cm
.
lcheck
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
37564765
,
0
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
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