Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
5ebdb00b
Commit
5ebdb00b
authored
Feb 25, 2026
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
55536756
Changes
37
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
61 additions
and
41 deletions
+61
-41
expansions/script/c11451711.lua
expansions/script/c11451711.lua
+1
-1
expansions/script/c11451712.lua
expansions/script/c11451712.lua
+1
-1
expansions/script/c11451713.lua
expansions/script/c11451713.lua
+1
-1
expansions/script/c11451714.lua
expansions/script/c11451714.lua
+1
-1
expansions/script/c11451715.lua
expansions/script/c11451715.lua
+1
-1
expansions/script/c11451935.lua
expansions/script/c11451935.lua
+10
-7
expansions/script/c17337404.lua
expansions/script/c17337404.lua
+11
-1
expansions/script/c9911201.lua
expansions/script/c9911201.lua
+1
-1
expansions/script/c9911202.lua
expansions/script/c9911202.lua
+1
-1
expansions/script/c9911206.lua
expansions/script/c9911206.lua
+1
-1
expansions/script/c9911208.lua
expansions/script/c9911208.lua
+1
-1
expansions/script/c9911212.lua
expansions/script/c9911212.lua
+1
-1
expansions/script/c9911218.lua
expansions/script/c9911218.lua
+1
-1
expansions/script/c9911223.lua
expansions/script/c9911223.lua
+1
-1
expansions/script/c9911224.lua
expansions/script/c9911224.lua
+2
-1
expansions/script/c9911231.lua
expansions/script/c9911231.lua
+1
-1
expansions/script/c9911232.lua
expansions/script/c9911232.lua
+1
-1
expansions/script/c9911309.lua
expansions/script/c9911309.lua
+1
-1
expansions/script/c9911317.lua
expansions/script/c9911317.lua
+1
-1
expansions/script/c9911351.lua
expansions/script/c9911351.lua
+1
-1
expansions/script/c9911386.lua
expansions/script/c9911386.lua
+1
-1
expansions/script/c9911433.lua
expansions/script/c9911433.lua
+1
-1
expansions/script/c9911452.lua
expansions/script/c9911452.lua
+1
-1
expansions/script/c9911454.lua
expansions/script/c9911454.lua
+1
-1
expansions/script/c9911456.lua
expansions/script/c9911456.lua
+1
-1
expansions/script/c9911457.lua
expansions/script/c9911457.lua
+1
-1
expansions/script/c9911464.lua
expansions/script/c9911464.lua
+1
-0
expansions/script/c9911560.lua
expansions/script/c9911560.lua
+1
-0
expansions/script/c9911565.lua
expansions/script/c9911565.lua
+2
-2
expansions/script/c9911567.lua
expansions/script/c9911567.lua
+1
-1
expansions/script/c9911603.lua
expansions/script/c9911603.lua
+1
-0
expansions/script/c9911624.lua
expansions/script/c9911624.lua
+1
-1
expansions/script/c9911627.lua
expansions/script/c9911627.lua
+1
-1
expansions/script/c9911671.lua
expansions/script/c9911671.lua
+2
-2
expansions/script/c9911706.lua
expansions/script/c9911706.lua
+1
-1
expansions/script/c9911715.lua
expansions/script/c9911715.lua
+1
-1
expansions/script/c9911751.lua
expansions/script/c9911751.lua
+3
-0
No files found.
expansions/script/c11451711.lua
View file @
5ebdb00b
...
@@ -57,7 +57,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
e
:
UseCountLimit
(
tp
,
1
)
e
:
UseCountLimit
(
tp
,
1
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
if
not
rep
then
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
end
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c11451712.lua
View file @
5ebdb00b
...
@@ -58,7 +58,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,7 +58,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
e
:
UseCountLimit
(
tp
,
1
)
e
:
UseCountLimit
(
tp
,
1
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
if
not
rep
then
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
end
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c11451713.lua
View file @
5ebdb00b
...
@@ -56,7 +56,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,7 +56,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
e
:
UseCountLimit
(
tp
,
1
)
e
:
UseCountLimit
(
tp
,
1
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
if
not
rep
then
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
end
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c11451714.lua
View file @
5ebdb00b
...
@@ -58,7 +58,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,7 +58,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
e
:
UseCountLimit
(
tp
,
1
)
e
:
UseCountLimit
(
tp
,
1
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
if
not
rep
then
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
end
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c11451715.lua
View file @
5ebdb00b
...
@@ -58,7 +58,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,7 +58,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
e
:
UseCountLimit
(
tp
,
1
)
e
:
UseCountLimit
(
tp
,
1
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
if
not
rep
then
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
end
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c11451935.lua
View file @
5ebdb00b
...
@@ -45,8 +45,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -45,8 +45,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
rc
=
te
:
GetHandler
()
local
rc
=
te
:
GetHandler
()
local
sg
=
Group
.
FromCards
(
c
,
rc
)
local
sg
=
Group
.
FromCards
(
c
,
rc
)
sg
:
KeepAlive
()
sg
:
KeepAlive
()
c
:
RegisterFlagEffect
(
m
+
3
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
,
0
,
1
)
local
fid
=
c
:
GetFieldID
()
rc
:
RegisterFlagEffect
(
m
+
3
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
c
:
RegisterFlagEffect
(
m
+
3
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
,
0
,
1
,
fid
)
rc
:
RegisterFlagEffect
(
m
+
3
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
--destroy
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
...
@@ -58,24 +59,26 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -58,24 +59,26 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD_P
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD_P
)
e4
:
SetLabel
(
fid
)
e4
:
SetLabelObject
(
sg
)
e4
:
SetLabelObject
(
sg
)
e4
:
SetOperation
(
cm
.
chkop
)
e4
:
SetOperation
(
cm
.
chkop
)
Duel
.
RegisterEffect
(
e4
,
tp
)
Duel
.
RegisterEffect
(
e4
,
tp
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetLabel
(
fid
)
e3
:
SetOperation
(
cm
.
desop2
)
e3
:
SetOperation
(
cm
.
desop2
)
e3
:
SetLabelObject
(
e4
)
e3
:
SetLabelObject
(
e4
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
end
end
function
cm
.
chkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
chkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
e
:
GetLabelObject
():
Filter
(
function
(
c
)
return
c
:
GetFlagEffect
(
m
+
3
)
>
0
end
,
nil
)
local
sg
=
e
:
GetLabelObject
():
Filter
(
function
(
c
)
return
c
:
GetFlagEffect
Label
(
m
+
3
)
and
c
:
GetFlagEffectLabel
(
m
+
3
)
==
e
:
GetLabel
()
end
,
nil
)
if
#
Group
.
__band
(
sg
,
eg
)
>
0
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
if
#
Group
.
__band
(
sg
,
eg
)
>
0
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
end
end
function
cm
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetLabelObject
():
GetLabel
()
~=
1
then
return
end
if
e
:
GetLabelObject
():
GetLabel
()
~=
1
then
return
end
local
sg
=
e
:
GetLabelObject
():
GetLabelObject
():
Filter
(
function
(
c
)
return
c
:
GetFlagEffect
(
m
+
3
)
>
0
end
,
nil
)
local
sg
=
e
:
GetLabelObject
():
GetLabelObject
():
Filter
(
function
(
c
)
return
c
:
GetFlagEffect
Label
(
m
+
3
)
and
c
:
GetFlagEffectLabel
(
m
+
3
)
==
e
:
GetLabel
()
end
,
nil
)
e
:
GetLabelObject
():
GetLabelObject
():
DeleteGroup
()
e
:
GetLabelObject
():
GetLabelObject
():
DeleteGroup
()
e
:
GetLabelObject
():
Reset
()
e
:
GetLabelObject
():
Reset
()
e
:
Reset
()
e
:
Reset
()
...
@@ -86,7 +89,7 @@ function cm.con(e,tp,eg,ep,ev,re,r,rp)
...
@@ -86,7 +89,7 @@ function cm.con(e,tp,eg,ep,ev,re,r,rp)
return
rc
:
IsSetCard
(
0x3977
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
rc
:
IsSetCard
(
0x3977
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
end
function
cm
.
nfilter
(
c
)
function
cm
.
nfilter
(
c
)
return
cm
.
special_summon
[
c
]
and
c
:
Is
SpecialSummonable
(
0
)
--c:Is
CanBeSpecialSummoned(cm.special_summon[c],0,c:GetControler(),true,true)
return
cm
.
special_summon
[
c
]
and
c
:
IsCanBeSpecialSummoned
(
cm
.
special_summon
[
c
],
0
,
c
:
GetControler
(),
true
,
true
)
end
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -100,7 +103,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -100,7 +103,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
g
:
AddCard
(
c
)
g
:
AddCard
(
c
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
#
g
>
0
then
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
end
if
#
g
>
1
then
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
end
if
tc
~=
c
then
if
tc
~=
c
then
g
:
RemoveCard
(
c
)
g
:
RemoveCard
(
c
)
for
rc
in
aux
.
Next
(
g
)
do
cm
[
rc
]
=
2
end
for
rc
in
aux
.
Next
(
g
)
do
cm
[
rc
]
=
2
end
...
@@ -168,7 +171,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -168,7 +171,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
e
:
UseCountLimit
(
tp
,
1
)
e
:
UseCountLimit
(
tp
,
1
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
if
not
rep
then
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
11451011
,
2
))
end
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451717
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
ct
,
aux
.
Stringid
(
11451717
,
ct
-
3
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
c
:
RegisterFlagEffect
(
11451718
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
9
-
ct
,
aux
.
Stringid
(
11451718
,
9
-
ct
))
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c17337404.lua
View file @
5ebdb00b
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
local
s
,
id
=
GetID
()
local
s
,
id
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
17337402
)
aux
.
AddCodeList
(
c
,
17337402
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_DESTROY
+
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_DESTROY
+
CATEGORY_REMOVE
)
...
@@ -14,6 +15,7 @@ function s.initial_effect(c)
...
@@ -14,6 +15,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
atktg
)
e1
:
SetTarget
(
s
.
atktg
)
e1
:
SetOperation
(
s
.
atkop
)
e1
:
SetOperation
(
s
.
atkop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
+
CATEGORY_REMOVE
+
CATEGORY_TOKEN
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
+
CATEGORY_REMOVE
+
CATEGORY_TOKEN
)
...
@@ -27,20 +29,24 @@ function s.initial_effect(c)
...
@@ -27,20 +29,24 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
spop
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
not
c
:
IsPublic
()
end
if
chk
==
0
then
return
not
c
:
IsPublic
()
end
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
end
end
function
s
.
atkfilter
(
c
)
function
s
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
17337402
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
17337402
)
end
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
atkfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
atkfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
end
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
@@ -54,6 +60,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,6 +60,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
local
g1
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
17337435
)
local
g1
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
17337435
)
local
g2
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
if
#
g1
>
0
and
#
g2
>
1
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
if
#
g1
>
0
and
#
g2
>
1
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
...
@@ -72,13 +79,15 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,13 +79,15 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
function
(
c
)
return
eg
:
IsExists
(
function
(
c
)
return
c
:
IsCode
(
17337402
)
and
c
:
IsPreviousControler
(
tp
)
return
c
:
IsCode
(
17337402
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
(
c
:
IsReason
(
REASON_BATTLE
)
or
(
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)))
and
c
:
GetReasonPlayer
()
==
1
-
tp
end
,
1
,
nil
)
end
,
1
,
nil
)
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
@@ -88,6 +97,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -88,6 +97,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
#
g
,
0
,
0
)
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
...
...
expansions/script/c9911201.lua
View file @
5ebdb00b
...
@@ -18,7 +18,7 @@ function c9911201.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c9911201.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--set
--set
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_S
SET
+
CATEGORY_S
PECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c9911202.lua
View file @
5ebdb00b
...
@@ -19,7 +19,7 @@ function c9911202.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c9911202.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--set
--set
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_S
SET
+
CATEGORY_S
PECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c9911206.lua
View file @
5ebdb00b
...
@@ -15,7 +15,7 @@ function c9911206.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c9911206.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--position
--position
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_POSITION
)
e2
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_MSET
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
expansions/script/c9911208.lua
View file @
5ebdb00b
...
@@ -11,7 +11,7 @@ function c9911208.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c9911208.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--sset
--sset
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_
SSET
+
CATEGORY_
DECKDES
+
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
9911208
)
e2
:
SetCountLimit
(
1
,
9911208
)
...
...
expansions/script/c9911212.lua
View file @
5ebdb00b
...
@@ -19,7 +19,7 @@ function c9911212.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c9911212.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--set
--set
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_S
SET
+
CATEGORY_S
PECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c9911218.lua
View file @
5ebdb00b
...
@@ -17,7 +17,7 @@ function c9911218.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c9911218.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--set
--set
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_S
SET
+
CATEGORY_S
PECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c9911223.lua
View file @
5ebdb00b
...
@@ -23,7 +23,7 @@ function c9911223.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c9911223.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--set
--set
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_S
SET
+
CATEGORY_S
PECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c9911224.lua
View file @
5ebdb00b
...
@@ -7,6 +7,7 @@ function c9911224.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c9911224.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--chain set
--chain set
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SSET
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
...
@@ -18,7 +19,7 @@ function c9911224.initial_effect(c)
...
@@ -18,7 +19,7 @@ function c9911224.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--set
--set
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_S
SET
+
CATEGORY_S
PECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c9911231.lua
View file @
5ebdb00b
...
@@ -15,7 +15,7 @@ function c9911231.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c9911231.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--set
--set
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_S
SET
+
CATEGORY_S
PECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c9911232.lua
View file @
5ebdb00b
...
@@ -20,7 +20,7 @@ function c9911232.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c9911232.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--set
--set
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_S
SET
+
CATEGORY_S
PECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c9911309.lua
View file @
5ebdb00b
...
@@ -15,7 +15,7 @@ function c9911309.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c9911309.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--position
--position
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_POSITION
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_MSET
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
...
...
expansions/script/c9911317.lua
View file @
5ebdb00b
...
@@ -14,7 +14,7 @@ function c9911317.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c9911317.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--set
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_RELEASE
+
CATEGORY_EQUIP
)
e2
:
SetCategory
(
CATEGORY_
SSET
+
CATEGORY_
RELEASE
+
CATEGORY_EQUIP
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
expansions/script/c9911351.lua
View file @
5ebdb00b
...
@@ -15,7 +15,7 @@ function c9911351.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c9911351.initial_effect(c)
--set
--set
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
9911351
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
9911351
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_
SSET
+
CATEGORY_
DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
expansions/script/c9911386.lua
View file @
5ebdb00b
...
@@ -13,7 +13,7 @@ function c9911386.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c9911386.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--to hand or set
--to hand or set
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_LEAVE_GRAVE
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_LEAVE_GRAVE
+
CATEGORY_SSET
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
9911387
)
e2
:
SetCountLimit
(
1
,
9911387
)
...
...
expansions/script/c9911433.lua
View file @
5ebdb00b
...
@@ -5,7 +5,7 @@ function c9911433.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c9911433.initial_effect(c)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--activate limit
--activate limit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_
SSET
+
CATEGORY_
DRAW
+
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
...
...
expansions/script/c9911452.lua
View file @
5ebdb00b
...
@@ -3,7 +3,7 @@ function c9911452.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c9911452.initial_effect(c)
--spsummon
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
9911452
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
9911452
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_MSET
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
...
...
expansions/script/c9911454.lua
View file @
5ebdb00b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c9911454
.
initial_effect
(
c
)
function
c9911454
.
initial_effect
(
c
)
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_TOGRAVE
+
CATEGORY_SSET
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
expansions/script/c9911456.lua
View file @
5ebdb00b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c9911456
.
initial_effect
(
c
)
function
c9911456
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_POSITION
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_MSET
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
c9911456
.
target
)
e1
:
SetTarget
(
c9911456
.
target
)
...
...
expansions/script/c9911457.lua
View file @
5ebdb00b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c9911457
.
initial_effect
(
c
)
function
c9911457
.
initial_effect
(
c
)
--set
--set
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_
POSITION
)
e1
:
SetCategory
(
CATEGORY_
SSET
+
CATEGORY_POSITION
+
CATEGORY_MSET
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
expansions/script/c9911464.lua
View file @
5ebdb00b
...
@@ -13,6 +13,7 @@ function c9911464.initial_effect(c)
...
@@ -13,6 +13,7 @@ function c9911464.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--set
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SSET
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetCost
(
aux
.
bfgcost
)
...
...
expansions/script/c9911560.lua
View file @
5ebdb00b
...
@@ -12,6 +12,7 @@ function c9911560.initial_effect(c)
...
@@ -12,6 +12,7 @@ function c9911560.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--set
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SSET
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
expansions/script/c9911565.lua
View file @
5ebdb00b
...
@@ -100,7 +100,7 @@ function c9911565.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -100,7 +100,7 @@ function c9911565.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g1
=
g
:
SelectSubGroup
(
tp
,
aux
.
dlvcheck
,
false
,
2
,
2
)
local
g1
=
g
:
SelectSubGroup
(
tp
,
aux
.
dlvcheck
,
false
,
2
,
2
)
Duel
.
SetTargetCard
(
g1
)
Duel
.
SetTargetCard
(
g1
)
Duel
.
HintSelection
(
g1
)
Duel
.
HintSelection
(
g1
)
e
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_SSET
)
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
else
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
@@ -111,7 +111,7 @@ function c9911565.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -111,7 +111,7 @@ function c9911565.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g2
=
g
:
SelectSubGroup
(
tp
,
aux
.
dlvcheck
,
false
,
2
,
2
)
local
g2
=
g
:
SelectSubGroup
(
tp
,
aux
.
dlvcheck
,
false
,
2
,
2
)
Duel
.
SetTargetCard
(
g2
)
Duel
.
SetTargetCard
(
g2
)
Duel
.
HintSelection
(
g2
)
Duel
.
HintSelection
(
g2
)
e
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_SSET
)
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
...
...
expansions/script/c9911567.lua
View file @
5ebdb00b
...
@@ -5,7 +5,7 @@ function c9911567.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c9911567.initial_effect(c)
--spsummon
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
9911567
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
9911567
,
1
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
+
CATEGORY_POSITION
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
+
CATEGORY_POSITION
+
CATEGORY_MSET
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
expansions/script/c9911603.lua
View file @
5ebdb00b
...
@@ -3,6 +3,7 @@ function c9911603.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c9911603.initial_effect(c)
aux
.
AddCodeList
(
c
,
9911601
)
aux
.
AddCodeList
(
c
,
9911601
)
--set
--set
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SSET
+
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
+
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_MZONE
+
LOCATION_HAND
)
...
...
expansions/script/c9911624.lua
View file @
5ebdb00b
...
@@ -5,7 +5,7 @@ function c9911624.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c9911624.initial_effect(c)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--confirm
--confirm
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_DECKDES
)
e4
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_SSET
+
CATEGORY_REMOVE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
expansions/script/c9911627.lua
View file @
5ebdb00b
...
@@ -3,7 +3,7 @@ function c9911627.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c9911627.initial_effect(c)
aux
.
AddCodeList
(
c
,
9911601
,
9911614
)
aux
.
AddCodeList
(
c
,
9911601
,
9911614
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_POSITION
+
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_POSITION
+
CATEGORY_
MSET
+
CATEGORY_
DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
expansions/script/c9911671.lua
View file @
5ebdb00b
...
@@ -100,9 +100,9 @@ function c9911671.target2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -100,9 +100,9 @@ function c9911671.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
e
:
SetLabel
(
op
)
e
:
SetLabel
(
op
)
if
op
==
0
then
if
op
==
0
then
e
:
SetCategory
(
CATEGORY_LEAVE_GRAVE
)
e
:
SetCategory
(
CATEGORY_LEAVE_GRAVE
+
CATEGORY_SSET
)
else
else
e
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_TOGRAVE
+
CATEGORY_LEAVE_GRAVE
)
e
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_TOGRAVE
+
CATEGORY_LEAVE_GRAVE
+
CATEGORY_SSET
)
end
end
end
end
function
c9911671
.
gselect
(
g
,
ft
)
function
c9911671
.
gselect
(
g
,
ft
)
...
...
expansions/script/c9911706.lua
View file @
5ebdb00b
...
@@ -14,7 +14,7 @@ function c9911706.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c9911706.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--to hand or set
--to hand or set
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_GRAVE_ACTION
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_GRAVE_ACTION
+
CATEGORY_SSET
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
expansions/script/c9911715.lua
View file @
5ebdb00b
...
@@ -12,7 +12,7 @@ function c9911715.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c9911715.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--set
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_RELEASE
)
e2
:
SetCategory
(
CATEGORY_
SSET
+
CATEGORY_
RELEASE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_BECOME_TARGET
)
e2
:
SetCode
(
EVENT_BECOME_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
...
...
expansions/script/c9911751.lua
View file @
5ebdb00b
...
@@ -42,6 +42,9 @@ function c9911751.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -42,6 +42,9 @@ function c9911751.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c9911751
.
tdfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c9911751
.
tdfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c9911751
.
tdfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c9911751
.
tdfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
local
cate
=
CATEGORY_TODECK
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
e
:
GetLabel
()
~=
0
then
cate
=
cate
+
CATEGORY_SSET
end
e
:
SetCategory
(
cate
)
end
end
function
c9911751
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9911751
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c9911751
.
tdfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c9911751
.
tdfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
...
...
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