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
cad1b1ae
Commit
cad1b1ae
authored
Dec 22, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dont_cut
parent
ae7b23a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
expansions/script/c37564337.lua
expansions/script/c37564337.lua
+41
-0
No files found.
expansions/script/c37564337.lua
View file @
cad1b1ae
...
...
@@ -2,6 +2,47 @@
local
m
=
37564337
local
cm
=
_G
[
"c"
..
m
]
xpcall
(
function
()
require
(
"expansions/script/c37564765"
)
end
,
function
()
require
(
"script/c37564765"
)
end
)
function
cm
.
initial_effect
(
c
)
Senya
.
AddXyzProcedureCustom
(
c
,
function
(
c
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
GetLink
()
==
3
end
,
nil
,
2
,
63
)
Senya
.
AddSummonMusic
(
c
,
m
*
16
,
SUMMON_TYPE_XYZ
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
function
(
e
,
tp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
)
e4
:
SetTarget
(
cm
.
rmtg
)
e4
:
SetOperation
(
cm
.
rmop
)
c
:
RegisterEffect
(
e4
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTarget
(
function
(
e
,
c
)
return
c
:
IsType
(
TYPE_LINK
)
end
)
e1
:
SetValue
(
function
(
e
,
c
)
return
math.ceil
(
c
:
GetBaseAttack
()
/
2
)
end
)
c
:
RegisterEffect
(
e1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_REMOVE_LINK_MARKER_KOISHI
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetCondition
(
function
(
e
)
return
e
:
GetHandler
():
GetOverlayCount
()
>
0
end
)
e1
:
SetTarget
(
function
(
e
,
c
)
return
c
:
IsType
(
TYPE_LINK
)
end
)
e1
:
SetValue
(
0xfff
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
cm
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
c
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
end
--DON'T CUT
local
m
=
37564337
local
cm
=
_G
[
"c"
..
m
]
xpcall
(
function
()
require
(
"expansions/script/c37564765"
)
end
,
function
()
require
(
"script/c37564765"
)
end
)
function
cm
.
initial_effect
(
c
)
Senya
.
AddXyzProcedureCustom
(
c
,
function
(
c
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
GetLink
()
==
3
end
,
nil
,
2
,
63
)
Senya
.
AddSummonMusic
(
c
,
m
*
16
,
SUMMON_TYPE_XYZ
)
...
...
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