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
1440ab57
Commit
1440ab57
authored
Dec 02, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitsummontype
parent
8a8a6708
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
expansions/script/c37564024.lua
expansions/script/c37564024.lua
+1
-1
expansions/script/c37564534.lua
expansions/script/c37564534.lua
+2
-2
expansions/script/c37564765.lua
expansions/script/c37564765.lua
+1
-1
expansions/script/c37564829.lua
expansions/script/c37564829.lua
+1
-2
No files found.
expansions/script/c37564024.lua
View file @
1440ab57
...
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCondition
(
function
(
e
)
return
(
e
:
GetHandler
():
GetSummonType
()
&
0x24
)
~=
0x24
return
not
e
:
GetHandler
():
IsSummonType
(
0x24
)
end
)
e1
:
SetCost
(
Senya
.
SelfReleaseCost
)
e1
:
SetTarget
(
cm
.
target
)
...
...
expansions/script/c37564534.lua
View file @
1440ab57
...
...
@@ -38,7 +38,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
rgcon
(
e
)
return
(
e
:
GetHandler
():
GetSummonType
()
&
0x534
)
==
0x534
return
e
:
GetHandler
():
IsSummonType
(
0x534
)
end
function
cm
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
@@ -51,7 +51,7 @@ end
function
cm
.
rdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
ep
~=
tp
and
Duel
.
GetAttackTarget
()
==
nil
and
c
:
GetEffectCount
(
EFFECT_DIRECT_ATTACK
)
<
2
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
and
(
e
:
GetHandler
():
GetSummonType
()
&
0x534
)
==
0x534
and
c
:
GetEffectCount
(
EFFECT_DIRECT_ATTACK
)
<
2
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsSummonType
(
0x534
)
end
function
cm
.
rdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChangeBattleDamage
(
ep
,
ev
/
2
)
...
...
expansions/script/c37564765.lua
View file @
1440ab57
...
...
@@ -1315,7 +1315,7 @@ function cm.NanahiraTrap(c,...)
e1
:
SetCost
(
cm
.
SelfReleaseCost
)
e1
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
return
(
e
:
GetHandler
():
GetSummonType
()
&
0x553
)
==
0x553
return
e
:
GetHandler
():
IsSummonType
(
0x553
)
end
)
local
op
=
te
:
GetOperation
()
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c37564829.lua
View file @
1440ab57
...
...
@@ -24,8 +24,7 @@ function cm.initial_effect(c)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e0
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
(
c
:
GetSummonType
()
&
0x829
)
==
0x829
return
e
:
GetHandler
():
IsSummonType
(
0x829
)
end
)
e0
:
SetOperation
(
cm
.
skipop
)
c
:
RegisterEffect
(
e0
)
...
...
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