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
3
Merge Requests
3
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
7161d1c6
Commit
7161d1c6
authored
Jan 08, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' from upstream
parents
1d28f355
98714204
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
43 additions
and
37 deletions
+43
-37
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
c2645637.lua
c2645637.lua
+1
-1
c28651380.lua
c28651380.lua
+2
-2
c32750510.lua
c32750510.lua
+2
-2
c34079868.lua
c34079868.lua
+1
-1
c38369349.lua
c38369349.lua
+2
-2
c39354437.lua
c39354437.lua
+1
-1
c48948935.lua
c48948935.lua
+1
-1
c53183600.lua
c53183600.lua
+2
-2
c55591586.lua
c55591586.lua
+1
-1
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
+8
-2
No files found.
c10000.lua
View file @
7161d1c6
...
@@ -26,7 +26,7 @@ function c10000.sumfilter(c)
...
@@ -26,7 +26,7 @@ function c10000.sumfilter(c)
end
end
function
c10000
.
fselect
(
g
,
tp
)
function
c10000
.
fselect
(
g
,
tp
)
Duel
.
SetSelectedCard
(
g
)
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
end
function
c10000
.
spcon
(
e
,
c
)
function
c10000
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
c10000040.lua
View file @
7161d1c6
...
@@ -37,12 +37,12 @@ function c10000040.spcon(e,c)
...
@@ -37,12 +37,12 @@ function c10000040.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
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
end
function
c10000040
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
function
c10000040
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c16306932.lua
View file @
7161d1c6
...
@@ -98,12 +98,12 @@ function c16306932.hspcon(e,c)
...
@@ -98,12 +98,12 @@ function c16306932.hspcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
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
)
return
g
:
CheckSubGroupEach
(
c16306932
.
spchecks
,
aux
.
mzctcheckrel
,
tp
,
REASON_SPSUMMON
)
end
end
function
c16306932
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsRace
,
nil
,
RACE_DRAGON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c17132130.lua
View file @
7161d1c6
...
@@ -32,7 +32,7 @@ function c17132130.rfilter(c,tp)
...
@@ -32,7 +32,7 @@ function c17132130.rfilter(c,tp)
return
c
:
IsSetCard
(
0xc008
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
return
c
:
IsSetCard
(
0xc008
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
end
function
c17132130
.
fselect
(
g
,
tp
)
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
end
function
c17132130
.
spcon
(
e
,
c
)
function
c17132130
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
c25833572.lua
View file @
7161d1c6
...
@@ -18,12 +18,12 @@ function c25833572.spcon(e,c)
...
@@ -18,12 +18,12 @@ function c25833572.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
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
end
function
c25833572
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
function
c25833572
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c2645637.lua
View file @
7161d1c6
...
@@ -43,7 +43,7 @@ function c2645637.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function c2645637.disop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c2645637
.
atkcon3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c2645637
.
atkcon3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
==
LOCATION_GRAVE
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
==
LOCATION_GRAVE
end
end
function
c2645637
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c2645637
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
return
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
...
...
c28651380.lua
View file @
7161d1c6
...
@@ -49,12 +49,12 @@ function c28651380.sprcon(e,c)
...
@@ -49,12 +49,12 @@ function c28651380.sprcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
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
end
function
c28651380
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
function
c28651380
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c32750510.lua
View file @
7161d1c6
...
@@ -39,12 +39,12 @@ function c32750510.spcon(e,c)
...
@@ -39,12 +39,12 @@ function c32750510.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
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
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
end
function
c32750510
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c32750510
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c34079868.lua
View file @
7161d1c6
...
@@ -43,7 +43,7 @@ function c34079868.initial_effect(c)
...
@@ -43,7 +43,7 @@ function c34079868.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c34079868
.
fselect
(
g
,
tp
)
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
end
function
c34079868
.
spcon
(
e
,
c
)
function
c34079868
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
c38369349.lua
View file @
7161d1c6
...
@@ -59,12 +59,12 @@ function c38369349.spcon(e,c)
...
@@ -59,12 +59,12 @@ function c38369349.spcon(e,c)
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
Duel
.
IsExistingMatchingCard
(
c38369349
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
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
end
function
c38369349
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
function
c38369349
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c39354437.lua
View file @
7161d1c6
...
@@ -45,7 +45,7 @@ function c39354437.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c39354437.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c39354437
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c39354437
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
return
eg
:
IsContains
(
e
:
GetHandler
())
and
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
end
end
function
c39354437
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c39354437
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsContains
(
e
:
GetHandler
())
and
rp
==
1
-
tp
return
eg
:
IsContains
(
e
:
GetHandler
())
and
rp
==
1
-
tp
...
...
c48948935.lua
View file @
7161d1c6
...
@@ -24,7 +24,7 @@ function c48948935.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c48948935.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c48948935
.
fselect
(
g
,
tp
)
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
end
function
c48948935
.
spcon
(
e
,
c
)
function
c48948935
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
c53183600.lua
View file @
7161d1c6
...
@@ -59,12 +59,12 @@ function c53183600.spcon(e,c)
...
@@ -59,12 +59,12 @@ function c53183600.spcon(e,c)
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
return
Duel
.
IsExistingMatchingCard
(
c53183600
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
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
end
function
c53183600
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
function
c53183600
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c55591586.lua
View file @
7161d1c6
...
@@ -73,7 +73,7 @@ function c55591586.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -73,7 +73,7 @@ function c55591586.spop(e,tp,eg,ep,ev,re,r,rp,c)
end
end
function
c55591586
.
atkcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c55591586
.
atkcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
==
LOCATION_HAND
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
==
LOCATION_HAND
end
end
function
c55591586
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c55591586
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
return
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
...
...
c62098216.lua
View file @
7161d1c6
...
@@ -45,12 +45,12 @@ function c62098216.sprcon(e,c)
...
@@ -45,12 +45,12 @@ function c62098216.sprcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
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
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
end
function
c62098216
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsType
,
nil
,
TYPE_LINK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c69120785.lua
View file @
7161d1c6
...
@@ -42,12 +42,12 @@ function s.spcon(e,c)
...
@@ -42,12 +42,12 @@ function s.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
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
)
return
g
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
Card
.
IsSetCard
,
nil
,
0x188
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
)
Duel
.
Release
(
sg
,
REASON_SPSUMMON
)
end
end
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c69890967.lua
View file @
7161d1c6
...
@@ -47,12 +47,12 @@ function c69890967.spcon(e,c)
...
@@ -47,12 +47,12 @@ function c69890967.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
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
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
3
,
3
,
tp
,
REASON_SPSUMMON
)
end
end
function
c69890967
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c69890967
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c80776622.lua
View file @
7161d1c6
...
@@ -91,12 +91,12 @@ function c80776622.spcon(e,c)
...
@@ -91,12 +91,12 @@ function c80776622.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
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
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
end
function
c80776622
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c80776622
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c83965310.lua
View file @
7161d1c6
...
@@ -43,12 +43,12 @@ function c83965310.spcon(e,c)
...
@@ -43,12 +43,12 @@ function c83965310.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
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
end
function
c83965310
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
function
c83965310
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c88619463.lua
View file @
7161d1c6
...
@@ -38,12 +38,12 @@ function c88619463.spcon(e,c)
...
@@ -38,12 +38,12 @@ function c88619463.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
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
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
end
function
c88619463
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c88619463
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
c93717133.lua
View file @
7161d1c6
...
@@ -31,12 +31,12 @@ function c93717133.spcon(e,c)
...
@@ -31,12 +31,12 @@ function c93717133.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
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
)
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
,
REASON_SPSUMMON
)
end
end
function
c93717133
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
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
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c93717133
.
rfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
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
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
...
...
utility.lua
View file @
7161d1c6
...
@@ -1012,8 +1012,14 @@ end
...
@@ -1012,8 +1012,14 @@ end
function
Auxiliary
.
mzctcheck
(
g
,
tp
)
function
Auxiliary
.
mzctcheck
(
g
,
tp
)
return
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
return
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
end
end
function
Auxiliary
.
mzctcheckrel
(
g
,
tp
)
---Check if there is space in mzone after tp releases g by reason
return
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
and
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
Auxiliary
.
IsInGroup
,
#
g
,
nil
,
g
)
---@param g Group
---@param tp integer
---@param reason? integer
---@return boolean
function
Auxiliary
.
mzctcheckrel
(
g
,
tp
,
reason
)
reason
=
reason
or
REASON_COST
return
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
and
Duel
.
CheckReleaseGroup
(
reason
,
tp
,
Auxiliary
.
IsInGroup
,
#
g
,
nil
,
g
)
end
end
--used for "except this card"
--used for "except this card"
function
Auxiliary
.
ExceptThisCard
(
e
)
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