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
8b162a18
Commit
8b162a18
authored
Oct 04, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5665f35f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
expansions/script/c37564765.lua
expansions/script/c37564765.lua
+15
-2
expansions/script/c37564838.lua
expansions/script/c37564838.lua
+1
-1
No files found.
expansions/script/c37564765.lua
View file @
8b162a18
...
...
@@ -1926,7 +1926,7 @@ function cm.RemoveEffectCost_3L(ct,...)
local
omit_list
=
{
...
}
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
e
:
GetHandler
():
IsHasEffect
(
37564827
)
then
return
false
end
--
if e:GetHandler():IsHasEffect(37564827) then return false end
return
cm
.
RemoveEffect_3L
(
tp
,
e
:
GetHandler
(),
ct
,
ct
,
true
,
table.unpack
(
omit_list
))
end
cm
.
RemoveEffect_3L
(
tp
,
e
:
GetHandler
(),
ct
,
ct
,
false
,
table.unpack
(
omit_list
))
...
...
@@ -1996,7 +1996,20 @@ function cm.ContinuousEffectReplaceCondition_3L(f,con,cd)
if
(
f
(
c
):
IsExists
(
aux
.
FilterEqualFunction
(
Card
.
GetOriginalCode
,
cd
),
1
,
nil
)
and
c
:
IsHasEffect
(
37564827
))
then
return
(
not
con
or
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
))
else
cm
.
RemoveCertainEffect_3L
(
e
:
GetHandler
(),
cd
)
if
Duel
.
GetCurrentChain
()
>
0
then
--Delay the effect removing to prevent stack overflow crash
local
ex
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
ex
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ex
:
SetCode
(
EVENT_ADJUST
)
ex
:
SetOperation
(
function
(
e
)
cm
.
RemoveCertainEffect_3L
(
e
:
GetOwner
(),
e
:
GetLabel
())
e
:
Reset
()
end
)
ex
:
SetLabel
(
cd
)
ex
:
SetReset
(
RESET_CHAIN
)
Duel
.
RegisterEffect
(
ex
,
tp
)
else
cm
.
RemoveCertainEffect_3L
(
e
:
GetHandler
(),
cd
)
end
return
false
end
end
...
...
expansions/script/c37564838.lua
View file @
8b162a18
...
...
@@ -25,7 +25,7 @@ function cm.effect_operation_3L(c,ctlm)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
,
TIMING_DAMAGE_STEP
+
0x1c0
)
e1
:
SetCountLimit
(
ctlm
)
e1
:
SetCost
(
Senya
.
DescriptionCost
(
Senya
.
RemoveEffectCost_3L
(
1
,
m
)))
e1
:
SetCost
(
Senya
.
DescriptionCost
(
Senya
.
RemoveEffectCost_3L
(
1
)))
e1
:
SetOperation
(
cm
.
atkop
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
Readjust
()
...
...
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