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
87327553
Commit
87327553
authored
Dec 02, 2023
by
chronogenexx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix opponent release
parent
d1061d35
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
35 additions
and
35 deletions
+35
-35
c102380.lua
c102380.lua
+3
-3
c16886617.lua
c16886617.lua
+2
-2
c22138839.lua
c22138839.lua
+2
-2
c25920413.lua
c25920413.lua
+2
-2
c28674152.lua
c28674152.lua
+2
-2
c29726552.lua
c29726552.lua
+2
-2
c33331231.lua
c33331231.lua
+3
-3
c35405755.lua
c35405755.lua
+2
-2
c36956512.lua
c36956512.lua
+2
-2
c46565218.lua
c46565218.lua
+2
-2
c48770333.lua
c48770333.lua
+2
-2
c55063751.lua
c55063751.lua
+2
-2
c63014935.lua
c63014935.lua
+1
-1
c63941210.lua
c63941210.lua
+2
-2
c77832858.lua
c77832858.lua
+2
-2
c93332803.lua
c93332803.lua
+2
-2
c99913726.lua
c99913726.lua
+2
-2
No files found.
c102380.lua
View file @
87327553
...
@@ -40,11 +40,11 @@ end
...
@@ -40,11 +40,11 @@ end
function
c102380
.
spcon
(
e
,
c
)
function
c102380
.
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
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
REASON_SPSUMMON
)
return
rg
:
CheckSubGroup
(
c102380
.
fselect
,
2
,
2
,
tp
)
return
rg
:
CheckSubGroup
(
c102380
.
fselect
,
2
,
2
,
tp
)
end
end
function
c102380
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
function
c102380
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
REASON_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
c102380
.
fselect
,
true
,
2
,
2
,
tp
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
c102380
.
fselect
,
true
,
2
,
2
,
tp
)
if
sg
then
if
sg
then
...
@@ -55,7 +55,7 @@ function c102380.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
...
@@ -55,7 +55,7 @@ function c102380.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
end
function
c102380
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c102380
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
g
:
DeleteGroup
()
end
end
function
c102380
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c102380
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c16886617.lua
View file @
87327553
...
@@ -32,7 +32,7 @@ function c16886617.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c16886617.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c16886617
.
rfilter
(
c
)
function
c16886617
.
rfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttack
(
0
)
and
c
:
IsReleasable
()
return
c
:
IsFaceup
()
and
c
:
IsAttack
(
0
)
and
c
:
IsReleasable
(
REASON_SPSUMMON
)
end
end
function
c16886617
.
spcon
(
e
,
c
)
function
c16886617
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -52,7 +52,7 @@ function c16886617.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
...
@@ -52,7 +52,7 @@ function c16886617.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
end
function
c16886617
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c16886617
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
g
:
DeleteGroup
()
end
end
function
c16886617
.
desfilter
(
c
)
function
c16886617
.
desfilter
(
c
)
...
...
c22138839.lua
View file @
87327553
...
@@ -19,7 +19,7 @@ function c22138839.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c22138839.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c22138839
.
rfilter
(
c
)
function
c22138839
.
rfilter
(
c
)
return
c
:
GetCounter
(
0x1041
)
>
0
and
c
:
IsReleasable
()
return
c
:
GetCounter
(
0x1041
)
>
0
and
c
:
IsReleasable
(
REASON_SPSUMMON
)
end
end
function
c22138839
.
hspcon
(
e
,
c
)
function
c22138839
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -30,7 +30,7 @@ end
...
@@ -30,7 +30,7 @@ end
function
c22138839
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c22138839
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c22138839
.
rfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c22138839
.
rfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c22138839
.
ccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22138839
.
ccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
c25920413.lua
View file @
87327553
...
@@ -36,7 +36,7 @@ function c25920413.initial_effect(c)
...
@@ -36,7 +36,7 @@ function c25920413.initial_effect(c)
end
end
c25920413
.
counter_add_list
=
{
0x100e
}
c25920413
.
counter_add_list
=
{
0x100e
}
function
c25920413
.
spfilter
(
c
)
function
c25920413
.
spfilter
(
c
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsFaceup
()
and
c
:
IsReleasable
()
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsFaceup
()
and
c
:
IsReleasable
(
REASON_SPSUMMON
)
end
end
function
c25920413
.
spcon
(
e
,
c
)
function
c25920413
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -47,7 +47,7 @@ end
...
@@ -47,7 +47,7 @@ end
function
c25920413
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c25920413
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
c
:
GetControler
(),
c25920413
.
spfilter
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
c
:
GetControler
(),
c25920413
.
spfilter
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
...
...
c28674152.lua
View file @
87327553
...
@@ -32,7 +32,7 @@ function c28674152.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c28674152.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c28674152
.
spfilter
(
c
,
tp
)
function
c28674152
.
spfilter
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
end
end
function
c28674152
.
spcon
(
e
,
c
)
function
c28674152
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -42,7 +42,7 @@ end
...
@@ -42,7 +42,7 @@ end
function
c28674152
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c28674152
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c28674152
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c28674152
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c28674152
.
cfilter
(
c
)
function
c28674152
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
...
...
c29726552.lua
View file @
87327553
...
@@ -34,7 +34,7 @@ function c29726552.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c29726552.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c29726552
.
spfilter
(
c
,
tp
)
function
c29726552
.
spfilter
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
end
end
function
c29726552
.
spcon
(
e
,
c
)
function
c29726552
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -44,7 +44,7 @@ end
...
@@ -44,7 +44,7 @@ end
function
c29726552
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c29726552
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c29726552
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c29726552
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c29726552
.
cfilter
(
c
)
function
c29726552
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
...
...
c33331231.lua
View file @
87327553
...
@@ -38,7 +38,7 @@ function c33331231.checkfilter(c)
...
@@ -38,7 +38,7 @@ function c33331231.checkfilter(c)
return
c
:
IsSetCard
(
0x1115
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x1115
)
and
c
:
IsFaceup
()
end
end
function
c33331231
.
sprfilter
(
c
,
tp
,
sp
)
function
c33331231
.
sprfilter
(
c
,
tp
,
sp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
tp
,
c
,
sp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
tp
,
c
,
sp
)
>
0
end
end
function
c33331231
.
spcon
(
e
,
c
)
function
c33331231
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -49,7 +49,7 @@ end
...
@@ -49,7 +49,7 @@ end
function
c33331231
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c33331231
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33331231
.
sprfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33331231
.
sprfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c33331231
.
spcon2
(
e
,
c
)
function
c33331231
.
spcon2
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -60,7 +60,7 @@ end
...
@@ -60,7 +60,7 @@ end
function
c33331231
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c33331231
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33331231
.
sprfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
1
-
tp
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33331231
.
sprfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
1
-
tp
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c33331231
.
dstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c33331231
.
dstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsOnField
()
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsOnField
()
end
...
...
c35405755.lua
View file @
87327553
...
@@ -61,11 +61,11 @@ function s.sprcon(e,c)
...
@@ -61,11 +61,11 @@ function s.sprcon(e,c)
local
r2
=
Duel
.
GetMatchingGroupCount
(
s
.
rfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
1
-
tp
)
local
r2
=
Duel
.
GetMatchingGroupCount
(
s
.
rfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
1
-
tp
)
if
t1
-
r1
+
1
>
t2
-
r2
then
return
false
end
if
t1
-
r1
+
1
>
t2
-
r2
then
return
false
end
end
end
return
rg
:
GetCount
()
>
0
and
rg
:
FilterCount
(
Card
.
IsReleasable
,
nil
)
==
rg
:
GetCount
()
and
aux
.
mzctcheck
(
rg
,
tp
)
return
rg
:
GetCount
()
>
0
and
rg
:
FilterCount
(
Card
.
IsReleasable
,
nil
,
REASON_SPSUMMON
)
==
rg
:
GetCount
()
and
aux
.
mzctcheck
(
rg
,
tp
)
end
end
function
s
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
s
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
rg
=
Duel
.
GetMatchingGroup
(
s
.
rfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
1
-
tp
)
local
rg
=
Duel
.
GetMatchingGroup
(
s
.
rfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
1
-
tp
)
Duel
.
Release
(
rg
,
REASON_
COST
)
Duel
.
Release
(
rg
,
REASON_
SPSUMMON
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
c36956512.lua
View file @
87327553
...
@@ -36,7 +36,7 @@ function c36956512.initial_effect(c)
...
@@ -36,7 +36,7 @@ function c36956512.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c36956512
.
spfilter
(
c
,
tp
)
function
c36956512
.
spfilter
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
end
end
function
c36956512
.
spcon
(
e
,
c
)
function
c36956512
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -46,7 +46,7 @@ end
...
@@ -46,7 +46,7 @@ end
function
c36956512
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c36956512
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c36956512
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c36956512
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c36956512
.
cfilter
(
c
)
function
c36956512
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
...
...
c46565218.lua
View file @
87327553
...
@@ -12,7 +12,7 @@ function c46565218.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c46565218.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c46565218
.
spfilter
(
c
,
tp
)
function
c46565218
.
spfilter
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
end
end
function
c46565218
.
spcon
(
e
,
c
)
function
c46565218
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -22,7 +22,7 @@ end
...
@@ -22,7 +22,7 @@ end
function
c46565218
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c46565218
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c46565218
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c46565218
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
46565218
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
46565218
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
...
...
c48770333.lua
View file @
87327553
...
@@ -31,7 +31,7 @@ function c48770333.initial_effect(c)
...
@@ -31,7 +31,7 @@ function c48770333.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c48770333
.
spfilter
(
c
,
tp
)
function
c48770333
.
spfilter
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
end
end
function
c48770333
.
spcon
(
e
,
c
)
function
c48770333
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -41,7 +41,7 @@ end
...
@@ -41,7 +41,7 @@ end
function
c48770333
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c48770333
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c48770333
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c48770333
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c48770333
.
cfilter
(
c
)
function
c48770333
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
...
...
c55063751.lua
View file @
87327553
...
@@ -34,7 +34,7 @@ function c55063751.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c55063751.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c55063751
.
spfilter
(
c
,
tp
)
function
c55063751
.
spfilter
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
end
end
function
c55063751
.
spcon
(
e
,
c
)
function
c55063751
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -44,7 +44,7 @@ end
...
@@ -44,7 +44,7 @@ end
function
c55063751
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c55063751
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c55063751
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c55063751
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c55063751
.
cfilter
(
c
)
function
c55063751
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
...
...
c63014935.lua
View file @
87327553
...
@@ -44,7 +44,7 @@ function c63014935.initial_effect(c)
...
@@ -44,7 +44,7 @@ function c63014935.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c63014935
.
spfilter
(
c
,
tp
)
function
c63014935
.
spfilter
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
end
end
function
c63014935
.
spcon
(
e
,
c
)
function
c63014935
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
c63941210.lua
View file @
87327553
...
@@ -33,7 +33,7 @@ function c63941210.initial_effect(c)
...
@@ -33,7 +33,7 @@ function c63941210.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c63941210
.
spfilter
(
c
,
tp
)
function
c63941210
.
spfilter
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
end
end
function
c63941210
.
spcon
(
e
,
c
)
function
c63941210
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -43,7 +43,7 @@ end
...
@@ -43,7 +43,7 @@ end
function
c63941210
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c63941210
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c63941210
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c63941210
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c63941210
.
cfilter
(
c
)
function
c63941210
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
...
...
c77832858.lua
View file @
87327553
...
@@ -43,11 +43,11 @@ end
...
@@ -43,11 +43,11 @@ end
function
s
.
otcon
(
e
,
c
,
minc
)
function
s
.
otcon
(
e
,
c
,
minc
)
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
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
REASON_SUMMON
)
return
c
:
IsLevelAbove
(
7
)
and
minc
<=
2
and
g
:
CheckSubGroup
(
s
.
tcheck
,
2
,
2
,
tp
)
return
c
:
IsLevelAbove
(
7
)
and
minc
<=
2
and
g
:
CheckSubGroup
(
s
.
tcheck
,
2
,
2
,
tp
)
end
end
function
s
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
s
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
REASON_SUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
tcheck
,
false
,
2
,
2
,
tp
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
tcheck
,
false
,
2
,
2
,
tp
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
...
...
c93332803.lua
View file @
87327553
...
@@ -31,7 +31,7 @@ function c93332803.initial_effect(c)
...
@@ -31,7 +31,7 @@ function c93332803.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c93332803
.
spfilter
(
c
,
tp
)
function
c93332803
.
spfilter
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
end
end
function
c93332803
.
spcon
(
e
,
c
)
function
c93332803
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -41,7 +41,7 @@ end
...
@@ -41,7 +41,7 @@ end
function
c93332803
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c93332803
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c93332803
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c93332803
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c93332803
.
cfilter
(
c
)
function
c93332803
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
...
...
c99913726.lua
View file @
87327553
...
@@ -27,7 +27,7 @@ function c99913726.initial_effect(c)
...
@@ -27,7 +27,7 @@ function c99913726.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c99913726
.
rfilter
(
c
)
function
c99913726
.
rfilter
(
c
)
return
c
:
GetCounter
(
0x1041
)
>
0
and
c
:
IsReleasable
()
return
c
:
GetCounter
(
0x1041
)
>
0
and
c
:
IsReleasable
(
REASON_SPSUMMON
)
end
end
function
c99913726
.
hspcon
(
e
,
c
)
function
c99913726
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -44,7 +44,7 @@ function c99913726.hspop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -44,7 +44,7 @@ function c99913726.hspop(e,tp,eg,ep,ev,re,r,rp,c)
if
ft
>
0
then
m
=
LOCATION_MZONE
end
if
ft
>
0
then
m
=
LOCATION_MZONE
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c99913726
.
rfilter
,
tp
,
LOCATION_MZONE
,
m
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c99913726
.
rfilter
,
tp
,
LOCATION_MZONE
,
m
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
end
function
c99913726
.
cfilter
(
c
)
function
c99913726
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x10f3
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x10f3
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
...
...
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