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
49108081
Commit
49108081
authored
Jan 08, 2024
by
Uytrewq
Committed by
GitHub
Jan 08, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#2331)
parent
fe1ad23f
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
35 additions
and
34 deletions
+35
-34
c10000.lua
c10000.lua
+1
-1
c10000040.lua
c10000040.lua
+2
-2
c16306932.lua
c16306932.lua
+2
-2
c17132130.lua
c17132130.lua
+1
-1
c25833572.lua
c25833572.lua
+2
-2
c28651380.lua
c28651380.lua
+2
-2
c32750510.lua
c32750510.lua
+2
-2
c34079868.lua
c34079868.lua
+1
-1
c38369349.lua
c38369349.lua
+2
-2
c48948935.lua
c48948935.lua
+1
-1
c53183600.lua
c53183600.lua
+2
-2
c62098216.lua
c62098216.lua
+2
-2
c69120785.lua
c69120785.lua
+2
-2
c69890967.lua
c69890967.lua
+2
-2
c80776622.lua
c80776622.lua
+2
-2
c83965310.lua
c83965310.lua
+2
-2
c88619463.lua
c88619463.lua
+2
-2
c93717133.lua
c93717133.lua
+2
-2
utility.lua
utility.lua
+3
-2
No files found.
c10000.lua
View file @
49108081
...
...
@@ -26,7 +26,7 @@ function c10000.sumfilter(c)
end
function
c10000
.
fselect
(
g
,
tp
)
Duel
.
SetSelectedCard
(
g
)
return
g
:
CheckWithSumGreater
(
c10000
.
sumfilter
,
10000
)
and
aux
.
mzctcheckrel
(
g
,
tp
)
return
g
:
CheckWithSumGreater
(
c10000
.
sumfilter
,
10000
)
and
aux
.
mzctcheckrel
(
g
,
tp
,
REASON_SPSUMMON
)
end
function
c10000
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
c10000040.lua
View file @
49108081
...
...
@@ -37,12 +37,12 @@ function c10000040.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
g
:
CheckSubGroupEach
(
c10000040
.
spchecks
,
aux
.
mzctcheckrel
,
tp
)
return
g
:
CheckSubGroupEach
(
c10000040
.
spchecks
,
aux
.
mzctcheckrel
,
tp
,
REASON_SPSUMMON
)
end
function
c10000040
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
g
:
SelectSubGroupEach
(
tp
,
c10000040
.
spchecks
,
true
,
aux
.
mzctcheckrel
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c16306932.lua
View file @
49108081
...
...
@@ -98,12 +98,12 @@ function c16306932.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsRace
,
nil
,
RACE_DRAGON
)
return
g
:
CheckSubGroupEach
(
c16306932
.
spchecks
,
aux
.
mzctcheckrel
,
tp
)
return
g
:
CheckSubGroupEach
(
c16306932
.
spchecks
,
aux
.
mzctcheckrel
,
tp
,
REASON_SPSUMMON
)
end
function
c16306932
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
g
:
SelectSubGroupEach
(
tp
,
c16306932
.
spchecks
,
true
,
aux
.
mzctcheckrel
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c17132130.lua
View file @
49108081
...
...
@@ -32,7 +32,7 @@ function c17132130.rfilter(c,tp)
return
c
:
IsSetCard
(
0xc008
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c17132130
.
fselect
(
g
,
tp
)
return
g
:
IsExists
(
c17132130
.
rfilter
,
1
,
nil
,
tp
)
and
aux
.
mzctcheckrel
(
g
,
tp
)
return
g
:
IsExists
(
c17132130
.
rfilter
,
1
,
nil
,
tp
)
and
aux
.
mzctcheckrel
(
g
,
tp
,
REASON_SPSUMMON
)
end
function
c17132130
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
c25833572.lua
View file @
49108081
...
...
@@ -18,12 +18,12 @@ function c25833572.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
g
:
CheckSubGroupEach
(
c25833572
.
spchecks
,
aux
.
mzctcheckrel
,
tp
)
return
g
:
CheckSubGroupEach
(
c25833572
.
spchecks
,
aux
.
mzctcheckrel
,
tp
,
REASON_SPSUMMON
)
end
function
c25833572
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
g
:
SelectSubGroupEach
(
tp
,
c25833572
.
spchecks
,
true
,
aux
.
mzctcheckrel
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c28651380.lua
View file @
49108081
...
...
@@ -49,12 +49,12 @@ function c28651380.sprcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
3
,
3
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
3
,
3
,
tp
,
REASON_SPSUMMON
)
end
function
c28651380
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
3
,
3
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c32750510.lua
View file @
49108081
...
...
@@ -39,12 +39,12 @@ function c32750510.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c32750510
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
function
c32750510
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c34079868.lua
View file @
49108081
...
...
@@ -43,7 +43,7 @@ function c34079868.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c34079868
.
fselect
(
g
,
tp
)
return
aux
.
mzctcheckrel
(
g
,
tp
)
and
aux
.
gfcheck
(
g
,
Card
.
IsSetCard
,
0xc7
,
0xda
)
return
aux
.
mzctcheckrel
(
g
,
tp
,
REASON_SPSUMMON
)
and
aux
.
gfcheck
(
g
,
Card
.
IsSetCard
,
0xc7
,
0xda
)
end
function
c34079868
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
c38369349.lua
View file @
49108081
...
...
@@ -59,12 +59,12 @@ function c38369349.spcon(e,c)
local
tp
=
c
:
GetControler
()
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
)
and
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
function
c38369349
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c48948935.lua
View file @
49108081
...
...
@@ -24,7 +24,7 @@ function c48948935.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c48948935
.
fselect
(
g
,
tp
)
return
g
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
13676474
,
86569121
)
and
aux
.
mzctcheckrel
(
g
,
tp
)
return
g
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
13676474
,
86569121
)
and
aux
.
mzctcheckrel
(
g
,
tp
,
REASON_SPSUMMON
)
end
function
c48948935
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
c53183600.lua
View file @
49108081
...
...
@@ -59,12 +59,12 @@ function c53183600.spcon(e,c)
local
tp
=
c
:
GetControler
()
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
)
and
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
function
c53183600
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c62098216.lua
View file @
49108081
...
...
@@ -45,12 +45,12 @@ function c62098216.sprcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsType
,
nil
,
TYPE_LINK
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
function
c62098216
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c69120785.lua
View file @
49108081
...
...
@@ -42,12 +42,12 @@ function s.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsSetCard
,
nil
,
0x188
)
return
g
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
return
g
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
false
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
Duel
.
Release
(
sg
,
REASON_SPSUMMON
)
end
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c69890967.lua
View file @
49108081
...
...
@@ -47,12 +47,12 @@ function c69890967.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c69890967
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
3
,
3
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
3
,
3
,
tp
,
REASON_SPSUMMON
)
end
function
c69890967
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
3
,
3
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c80776622.lua
View file @
49108081
...
...
@@ -91,12 +91,12 @@ function c80776622.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c80776622
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
function
c80776622
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c83965310.lua
View file @
49108081
...
...
@@ -43,12 +43,12 @@ function c83965310.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
3
,
3
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
3
,
3
,
tp
,
REASON_SPSUMMON
)
end
function
c83965310
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
3
,
3
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c88619463.lua
View file @
49108081
...
...
@@ -38,12 +38,12 @@ function c88619463.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c88619463
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
function
c88619463
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
c93717133.lua
View file @
49108081
...
...
@@ -31,12 +31,12 @@ function c93717133.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c93717133
.
rfilter
,
nil
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
function
c93717133
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
true
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
utility.lua
View file @
49108081
...
...
@@ -1012,8 +1012,9 @@ end
function
Auxiliary
.
mzctcheck
(
g
,
tp
)
return
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
end
function
Auxiliary
.
mzctcheckrel
(
g
,
tp
)
return
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
and
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
Auxiliary
.
IsInGroup
,
#
g
,
nil
,
g
)
function
Auxiliary
.
mzctcheckrel
(
g
,
tp
,
reason
)
local
res
=
reason
or
REASON_COST
return
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
and
Duel
.
CheckReleaseGroup
(
res
,
tp
,
Auxiliary
.
IsInGroup
,
#
g
,
nil
,
g
)
end
--used for "except this card"
function
Auxiliary
.
ExceptThisCard
(
e
)
...
...
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