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
075e1f63
Commit
075e1f63
authored
Mar 08, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c37564765.lua
parent
dbac2f0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
expansions/script/c37564765.lua
expansions/script/c37564765.lua
+12
-9
No files found.
expansions/script/c37564765.lua
View file @
075e1f63
...
@@ -1763,15 +1763,6 @@ function cm.enable_kaguya_check_3L()
...
@@ -1763,15 +1763,6 @@ function cm.enable_kaguya_check_3L()
for
code
,
v
in
pairs
(
t
)
do
for
code
,
v
in
pairs
(
t
)
do
cm
.
GainEffect_3L
(
tc
,
code
)
cm
.
GainEffect_3L
(
tc
,
code
)
end
end
if
not
tc
:
IsType
(
TYPE_EFFECT
)
then
local
e2
=
Effect
.
CreateEffect
(
tc
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_ADD_TYPE
)
e2
:
SetValue
(
TYPE_EFFECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e2
,
true
)
end
end
end
end
)
end
)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
...
@@ -1820,6 +1811,18 @@ function cm.GainEffect_3L(c,tc,pres,pctlm)
...
@@ -1820,6 +1811,18 @@ function cm.GainEffect_3L(c,tc,pres,pctlm)
if
not
mt
or
c
:
GetFlagEffect
(
cd
-
4000
)
>
0
or
not
mt
.
effect_operation_3L
then
return
end
if
not
mt
or
c
:
GetFlagEffect
(
cd
-
4000
)
>
0
or
not
mt
.
effect_operation_3L
then
return
end
local
ctlm
=
pctlm
or
cm
.
CheckKoishiCount
(
c
)
local
ctlm
=
pctlm
or
cm
.
CheckKoishiCount
(
c
)
local
efft
=
{
mt
.
effect_operation_3L
(
c
,
ctlm
)}
local
efft
=
{
mt
.
effect_operation_3L
(
c
,
ctlm
)}
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_ADD_TYPE
)
e2
:
SetValue
(
TYPE_EFFECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e2
,
true
)
table.insert
(
efft
,
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_REMOVE_TYPE
)
e3
:
SetValue
(
EFFECT_NORMAL
)
c
:
RegisterEffect
(
e3
,
true
)
table.insert
(
efft
,
e3
)
c
:
RegisterFlagEffect
(
cd
-
4000
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
cm
.
order_table_new
(
efft
),
cd
*
16
+
1
)
c
:
RegisterFlagEffect
(
cd
-
4000
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
cm
.
order_table_new
(
efft
),
cd
*
16
+
1
)
if
pres
then
if
pres
then
local
info_list
=
{
local
info_list
=
{
...
...
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