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
68cbe251
Commit
68cbe251
authored
Feb 18, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sound
parent
0d071cb8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
0 deletions
+81
-0
expansions/7cgl.cdb
expansions/7cgl.cdb
+0
-0
expansions/script/c37564566.lua
expansions/script/c37564566.lua
+81
-0
sound/BGM/custom/COUNT DOWN (Ver2014).mp3
sound/BGM/custom/COUNT DOWN (Ver2014).mp3
+0
-0
No files found.
expansions/7cgl.cdb
View file @
68cbe251
No preview for this file type
expansions/script/c37564566.lua
0 → 100644
View file @
68cbe251
--Nanahira & Hanatan
local
m
=
37564566
local
cm
=
_G
[
"c"
..
m
]
xpcall
(
function
()
require
(
"expansions/script/c37564765"
)
end
,
function
()
require
(
"script/c37564765"
)
end
)
cm
.
Senya_desc_with_nanahira
=
true
function
cm
.
initial_effect
(
c
)
Senya
.
Nanahira
(
c
)
aux
.
AddSynchroProcedure2
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
37564765
),
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
37564765
))
c
:
EnableReviveLimit
()
Senya
.
AddSummonMusic
(
c
,
m
*
16
,
SUMMON_TYPE_SYNCHRO
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCondition
(
Senya
.
SummonTypeCondition
(
SUMMON_TYPE_SYNCHRO
))
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
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
)
end
function
cm
.
filter
(
c
)
return
c
.
Senya_desc_with_nanahira
and
c
:
IsSSetable
(
true
)
and
c
:
IsType
(
TYPE_TRAP
)
end
function
cm
.
check
(
g
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
==#
g
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>=
5
and
Senya
.
CheckGroup
(
g
,
cm
.
check
,
nil
,
5
,
5
)
end
end
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
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
tg
=
Senya
.
SelectGroup
(
tp
,
HINTMSG_SET
,
g
,
cm
.
check
,
nil
,
5
,
5
)
for
tc
in
aux
.
Next
(
tg
)
do
Duel
.
SSet
(
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
)
cm
[
tc
]
=
e1
if
e
:
GetHandler
():
IsFaceup
()
and
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
e
:
GetHandler
():
SetCardTarget
(
tc
)
end
end
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
end
function
cm
.
rfilter
(
c
,
ec
)
return
cm
[
tc
]
and
chkc
:
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
()
if
chkc
then
return
chkc
:
IsOnField
()
and
cm
.
rfilter
(
chkc
,
ec
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
rfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
c
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
rfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
c
)
end
function
cm
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
local
te
=
cm
[
tc
]
if
te
then
te
:
Reset
()
end
if
c
:
IsHasCardTarget
(
c
)
then
c
:
ReleaseRelation
(
tc
)
end
end
end
\ No newline at end of file
sound/BGM/custom/COUNT DOWN (Ver2014).mp3
0 → 100644
View file @
68cbe251
File added
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