Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
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
MyCard
ygopro-scripts-888
Commits
81935990
Commit
81935990
authored
Nov 23, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Duel.GetReleaseGroup
parent
af293941
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
79 additions
and
79 deletions
+79
-79
c10000.lua
c10000.lua
+3
-3
c10000040.lua
c10000040.lua
+3
-3
c10113611.lua
c10113611.lua
+2
-2
c12338068.lua
c12338068.lua
+2
-2
c15758127.lua
c15758127.lua
+2
-2
c16306932.lua
c16306932.lua
+3
-3
c16719140.lua
c16719140.lua
+2
-2
c17132130.lua
c17132130.lua
+3
-3
c25833572.lua
c25833572.lua
+3
-3
c28651380.lua
c28651380.lua
+3
-3
c28711704.lua
c28711704.lua
+3
-3
c29432356.lua
c29432356.lua
+3
-3
c32750510.lua
c32750510.lua
+3
-3
c33022867.lua
c33022867.lua
+3
-3
c34079868.lua
c34079868.lua
+3
-3
c36982581.lua
c36982581.lua
+2
-2
c38369349.lua
c38369349.lua
+3
-3
c48948935.lua
c48948935.lua
+3
-3
c53183600.lua
c53183600.lua
+3
-3
c62098216.lua
c62098216.lua
+3
-3
c69120785.lua
c69120785.lua
+3
-3
c69890967.lua
c69890967.lua
+3
-3
c70335319.lua
c70335319.lua
+3
-3
c75347539.lua
c75347539.lua
+3
-3
c80776622.lua
c80776622.lua
+3
-3
c83965310.lua
c83965310.lua
+3
-3
c88619463.lua
c88619463.lua
+3
-3
c93717133.lua
c93717133.lua
+3
-3
No files found.
c10000.lua
View file @
81935990
...
...
@@ -31,11 +31,11 @@ end
function
c10000
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c10000
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c10000
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
c10000
.
fselect
,
1
,
rg
:
GetCount
(),
tp
)
end
function
c10000
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c10000
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c10000
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
c10000
.
fselect
,
true
,
1
,
rg
:
GetCount
(),
tp
)
if
sg
then
...
...
@@ -46,7 +46,7 @@ function c10000.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c10000
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
...
...
c10000040.lua
View file @
81935990
...
...
@@ -36,11 +36,11 @@ c10000040.spchecks=aux.CreateChecks(Card.IsOriginalCodeRule,{10000020,10000000,1
function
c10000040
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
g
:
CheckSubGroupEach
(
c10000040
.
spchecks
,
aux
.
mzctcheckrel
,
tp
)
end
function
c10000040
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
SelectSubGroupEach
(
tp
,
c10000040
.
spchecks
,
true
,
aux
.
mzctcheckrel
,
tp
)
if
sg
then
...
...
@@ -51,7 +51,7 @@ function c10000040.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c10000040
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c10000040
.
winop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c10113611.lua
View file @
81935990
...
...
@@ -73,14 +73,14 @@ function s.gcheck(g,tp,ec,sc)
end
function
s
.
sstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
true
):
Filter
(
s
.
mfilter
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_EFFECT
):
Filter
(
s
.
mfilter
,
c
)
if
chk
==
0
then
return
c
:
IsReleasableByEffect
()
and
c
:
GetLevel
()
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
g
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RELEASE
,
g
,
2
,
0
,
0
)
end
function
s
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
true
):
Filter
(
s
.
mfilter
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_EFFECT
):
Filter
(
s
.
mfilter
,
c
)
if
not
(
c
:
IsRelateToEffect
(
e
)
and
c
:
IsReleasableByEffect
())
or
#
g
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
g
):
GetFirst
()
...
...
c12338068.lua
View file @
81935990
...
...
@@ -26,12 +26,12 @@ function c12338068.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
0
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
(
g
:
GetCount
()
>
0
or
rg
:
GetCount
()
>
0
)
and
g
:
FilterCount
(
Card
.
IsReleasable
,
nil
)
==
g
:
GetCount
()
end
function
c12338068
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
local
atk
=
0
local
tc
=
g
:
GetFirst
()
while
tc
do
...
...
c15758127.lua
View file @
81935990
...
...
@@ -58,7 +58,7 @@ function c15758127.fselect(g,e,tp)
end
function
c15758127
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c15758127
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c15758127
.
rfilter
,
nil
,
tp
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_EFFECT
):
Filter
(
c15758127
.
rfilter
,
nil
,
tp
)
local
b2
=
g
:
CheckSubGroup
(
c15758127
.
fselect
,
2
,
2
,
e
,
tp
)
if
chk
==
0
then
return
b1
or
b2
end
local
s
=
0
...
...
@@ -89,7 +89,7 @@ function c15758127.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
if
e
:
GetLabel
()
==
1
then
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c15758127
.
rfilter
,
nil
,
tp
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_EFFECT
):
Filter
(
c15758127
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
rg
=
g
:
SelectSubGroup
(
tp
,
c15758127
.
fselect
,
false
,
2
,
2
,
e
,
tp
)
if
rg
and
rg
:
GetCount
()
==
2
then
...
...
c16306932.lua
View file @
81935990
...
...
@@ -97,11 +97,11 @@ end
function
c16306932
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
Card
.
IsRace
,
nil
,
RACE_DRAGON
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsRace
,
nil
,
RACE_DRAGON
)
return
g
:
CheckSubGroupEach
(
c16306932
.
spchecks
,
aux
.
mzctcheckrel
,
tp
)
end
function
c16306932
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
Card
.
IsRace
,
nil
,
RACE_DRAGON
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsRace
,
nil
,
RACE_DRAGON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
SelectSubGroupEach
(
tp
,
c16306932
.
spchecks
,
true
,
aux
.
mzctcheckrel
,
tp
)
if
sg
then
...
...
@@ -112,7 +112,7 @@ function c16306932.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c16306932
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c16306932
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c16719140.lua
View file @
81935990
...
...
@@ -51,7 +51,7 @@ function c16719140.relfilter(c)
end
function
c16719140
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
mg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c16719140
.
relfilter
,
c
)
local
mg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_EFFECT
):
Filter
(
c16719140
.
relfilter
,
c
)
if
chk
==
0
then
if
e
:
GetLabel
()
~=
100
then
return
false
end
e
:
SetLabel
(
0
)
...
...
@@ -69,7 +69,7 @@ function c16719140.spop1(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
c
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
local
mg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c16719140
.
relfilter
,
c
)
local
mg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_EFFECT
):
Filter
(
c16719140
.
relfilter
,
c
)
if
mg
:
GetCount
()
==
0
then
return
end
if
aux
.
NecroValleyFilter
()(
tc
)
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_DEFENSE
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
c17132130.lua
View file @
81935990
...
...
@@ -37,11 +37,11 @@ end
function
c17132130
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
rg
:
CheckSubGroup
(
c17132130
.
fselect
,
3
,
3
,
tp
)
end
function
c17132130
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
c17132130
.
fselect
,
true
,
3
,
3
,
tp
)
if
sg
then
...
...
@@ -52,7 +52,7 @@ function c17132130.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c17132130
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c17132130
.
lp
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c25833572.lua
View file @
81935990
...
...
@@ -16,11 +16,11 @@ c25833572.spchecks=aux.CreateChecks(Card.IsCode,{25955164,62340868,98434877})
function
c25833572
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
g
:
CheckSubGroupEach
(
c25833572
.
spchecks
,
aux
.
mzctcheckrel
,
tp
)
end
function
c25833572
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
SelectSubGroupEach
(
tp
,
c25833572
.
spchecks
,
true
,
aux
.
mzctcheckrel
,
tp
)
if
sg
then
...
...
@@ -31,6 +31,6 @@ function c25833572.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c25833572
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
c28651380.lua
View file @
81935990
...
...
@@ -48,11 +48,11 @@ end
function
c28651380
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
3
,
3
,
tp
)
end
function
c28651380
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
3
,
3
,
tp
)
if
sg
then
...
...
@@ -63,7 +63,7 @@ function c28651380.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c28651380
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c28651380
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c28711704.lua
View file @
81935990
...
...
@@ -43,11 +43,11 @@ end
function
c28711704
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
true
):
Filter
(
c28711704
.
rfilter
,
c
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_SPSUMMON
):
Filter
(
c28711704
.
rfilter
,
c
,
tp
)
return
rg
:
CheckSubGroup
(
c28711704
.
fselect
,
1
,
rg
:
GetCount
(),
tp
)
end
function
c28711704
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
true
):
Filter
(
c28711704
.
rfilter
,
c
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_SPSUMMON
):
Filter
(
c28711704
.
rfilter
,
c
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
c28711704
.
fselect
,
true
,
1
,
rg
:
GetCount
(),
tp
)
if
sg
then
...
...
@@ -58,7 +58,7 @@ function c28711704.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c28711704
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c28711704
.
cfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
15259703
)
...
...
c29432356.lua
View file @
81935990
...
...
@@ -76,14 +76,14 @@ function c29432356.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
0
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
(
g
:
GetCount
()
>
0
or
rg
:
GetCount
()
>
0
)
and
g
:
FilterCount
(
Card
.
IsReleasable
,
nil
)
==
g
:
GetCount
()
and
g
:
FilterCount
(
Card
.
IsSetCard
,
nil
,
0xc4
)
>=
3
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
c
)
>
0
end
function
c29432356
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c29432356
.
penop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c32750510.lua
View file @
81935990
...
...
@@ -38,11 +38,11 @@ end
function
c32750510
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c32750510
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c32750510
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
function
c32750510
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c32750510
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c32750510
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
)
if
sg
then
...
...
@@ -53,7 +53,7 @@ function c32750510.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c32750510
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c32750510
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c33022867.lua
View file @
81935990
...
...
@@ -31,11 +31,11 @@ end
function
c33022867
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheck
,
3
,
3
,
tp
)
end
function
c33022867
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheck
,
true
,
3
,
3
,
tp
)
if
sg
then
...
...
@@ -46,7 +46,7 @@ function c33022867.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c33022867
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
local
atk
=
0
local
tc
=
g
:
GetFirst
()
while
tc
do
...
...
c34079868.lua
View file @
81935990
...
...
@@ -48,11 +48,11 @@ end
function
c34079868
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
g
:
CheckSubGroup
(
c34079868
.
fselect
,
2
,
2
,
tp
)
end
function
c34079868
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
c34079868
.
fselect
,
true
,
2
,
2
,
tp
)
if
sg
then
...
...
@@ -63,7 +63,7 @@ function c34079868.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c34079868
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c34079868
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c36982581.lua
View file @
81935990
...
...
@@ -30,7 +30,7 @@ end
function
c36982581
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
mg1
=
Duel
.
GetRitualMaterial
(
tp
)
local
mg2
=
Duel
.
GetReleaseGroup
(
1
-
tp
):
Filter
(
c36982581
.
cfilter
,
nil
,
e
,
1
-
tp
)
local
mg2
=
Duel
.
GetReleaseGroup
(
1
-
tp
,
false
,
REASON_EFFECT
):
Filter
(
c36982581
.
cfilter
,
nil
,
e
,
1
-
tp
)
return
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
c36982581
.
rfilter1
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
or
(
mg2
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c36982581
.
rfilter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
))
...
...
@@ -41,7 +41,7 @@ function c36982581.activate(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
::
cancel
::
local
mg1
=
Duel
.
GetRitualMaterial
(
tp
)
local
mg2
=
Duel
.
GetReleaseGroup
(
1
-
tp
):
Filter
(
c36982581
.
cfilter
,
nil
,
e
,
1
-
tp
)
local
mg2
=
Duel
.
GetReleaseGroup
(
1
-
tp
,
false
,
REASON_EFFECT
):
Filter
(
c36982581
.
cfilter
,
nil
,
e
,
1
-
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
c36982581
.
rfilter1
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
local
g2
=
nil
local
g
=
g1
...
...
c38369349.lua
View file @
81935990
...
...
@@ -57,12 +57,12 @@ end
function
c38369349
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
Duel
.
IsExistingMatchingCard
(
c38369349
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
function
c38369349
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
)
if
sg
then
...
...
@@ -73,7 +73,7 @@ function c38369349.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c38369349
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c38369349
.
sfilter
(
c
)
...
...
c48948935.lua
View file @
81935990
...
...
@@ -29,11 +29,11 @@ end
function
c48948935
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
rg
:
CheckSubGroup
(
c48948935
.
fselect
,
2
,
2
,
tp
)
end
function
c48948935
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
c48948935
.
fselect
,
true
,
2
,
2
,
tp
)
if
sg
then
...
...
@@ -44,7 +44,7 @@ function c48948935.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c48948935
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c48948935
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c53183600.lua
View file @
81935990
...
...
@@ -57,12 +57,12 @@ end
function
c53183600
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
Duel
.
IsExistingMatchingCard
(
c53183600
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
function
c53183600
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
)
if
sg
then
...
...
@@ -73,7 +73,7 @@ function c53183600.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c53183600
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c53183600
.
sfilter
(
c
)
...
...
c62098216.lua
View file @
81935990
...
...
@@ -44,11 +44,11 @@ end
function
c62098216
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
Card
.
IsType
,
nil
,
TYPE_LINK
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsType
,
nil
,
TYPE_LINK
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
function
c62098216
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
Card
.
IsType
,
nil
,
TYPE_LINK
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsType
,
nil
,
TYPE_LINK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
)
if
sg
then
...
...
@@ -59,7 +59,7 @@ function c62098216.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c62098216
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c62098216
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c69120785.lua
View file @
81935990
...
...
@@ -41,14 +41,14 @@ end
function
s
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
Card
.
IsSetCard
,
nil
,
0x188
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsSetCard
,
nil
,
0x188
)
return
g
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
Card
.
IsSetCard
,
nil
,
0x188
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsSetCard
,
nil
,
0x188
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
false
,
2
,
2
,
tp
)
Duel
.
Release
(
sg
,
REASON_
COST
)
Duel
.
Release
(
sg
,
REASON_
SPSUMMON
)
end
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_VALUE_SELF
)
...
...
c69890967.lua
View file @
81935990
...
...
@@ -46,11 +46,11 @@ end
function
c69890967
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c69890967
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c69890967
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
3
,
3
,
tp
)
end
function
c69890967
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c69890967
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c69890967
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
3
,
3
,
tp
)
if
sg
then
...
...
@@ -61,7 +61,7 @@ function c69890967.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c69890967
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c69890967
.
tkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c70335319.lua
View file @
81935990
...
...
@@ -115,15 +115,15 @@ end
function
c70335319
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
g
:
GetCount
()
>=
2
and
g
:
FilterCount
(
Card
.
IsReleasable
,
nil
)
==
g
:
GetCount
()
and
g
:
IsExists
(
c70335319
.
hspfilter
,
1
,
nil
)
and
(
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
c
)
>
0
or
c
:
IsLocation
(
LOCATION_HAND
)
and
Duel
.
GetMZoneCount
(
tp
,
g
,
tp
)
>
0
)
end
function
c70335319
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c70335319
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c75347539.lua
View file @
81935990
...
...
@@ -30,11 +30,11 @@ end
function
c75347539
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
true
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_SPSUMMON
)
return
g
:
CheckSubGroupEach
(
c75347539
.
spchecks
,
c75347539
.
fselect
,
tp
)
end
function
c75347539
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
true
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
SelectSubGroupEach
(
tp
,
c75347539
.
spchecks
,
true
,
c75347539
.
fselect
,
tp
)
if
sg
then
...
...
@@ -45,7 +45,7 @@ function c75347539.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c75347539
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c75347539
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c80776622.lua
View file @
81935990
...
...
@@ -90,11 +90,11 @@ end
function
c80776622
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c80776622
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c80776622
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
function
c80776622
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c80776622
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c80776622
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
)
if
sg
then
...
...
@@ -105,7 +105,7 @@ function c80776622.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c80776622
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c80776622
.
pfilter
(
c
)
...
...
c83965310.lua
View file @
81935990
...
...
@@ -42,11 +42,11 @@ end
function
c83965310
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
3
,
3
,
tp
)
end
function
c83965310
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
3
,
3
,
tp
)
if
sg
then
...
...
@@ -57,7 +57,7 @@ function c83965310.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c83965310
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c83965310
.
cfilter
(
c
)
...
...
c88619463.lua
View file @
81935990
...
...
@@ -37,11 +37,11 @@ end
function
c88619463
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c88619463
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c88619463
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
function
c88619463
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c88619463
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c88619463
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
)
if
sg
then
...
...
@@ -52,7 +52,7 @@ function c88619463.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c88619463
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
end
function
c88619463
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c93717133.lua
View file @
81935990
...
...
@@ -30,11 +30,11 @@ end
function
c93717133
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c93717133
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c93717133
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
function
c93717133
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c93717133
.
rfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c93717133
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
)
if
sg
then
...
...
@@ -45,7 +45,7 @@ function c93717133.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
c93717133
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x4fc0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
93717133
,
1
))
end
...
...
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