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
b55a8dc5
Commit
b55a8dc5
authored
Nov 28, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update sp summon proc with Duel.CheckReleaseGroup
parent
7caf49a7
Changes
57
Show whitespace changes
Inline
Side-by-side
Showing
57 changed files
with
171 additions
and
171 deletions
+171
-171
c10485110.lua
c10485110.lua
+3
-3
c11443677.lua
c11443677.lua
+3
-3
c12510878.lua
c12510878.lua
+3
-3
c13224603.lua
c13224603.lua
+3
-3
c14141448.lua
c14141448.lua
+3
-3
c15180041.lua
c15180041.lua
+3
-3
c15291624.lua
c15291624.lua
+3
-3
c16024176.lua
c16024176.lua
+3
-3
c16802689.lua
c16802689.lua
+3
-3
c17286057.lua
c17286057.lua
+3
-3
c18378582.lua
c18378582.lua
+3
-3
c18828179.lua
c18828179.lua
+3
-3
c20403123.lua
c20403123.lua
+3
-3
c21686473.lua
c21686473.lua
+3
-3
c21772453.lua
c21772453.lua
+3
-3
c25449584.lua
c25449584.lua
+3
-3
c29436665.lua
c29436665.lua
+3
-3
c2948263.lua
c2948263.lua
+3
-3
c29719112.lua
c29719112.lua
+3
-3
c31516413.lua
c31516413.lua
+3
-3
c32731036.lua
c32731036.lua
+3
-3
c3300267.lua
c3300267.lua
+3
-3
c37440988.lua
c37440988.lua
+3
-3
c37542782.lua
c37542782.lua
+3
-3
c41175645.lua
c41175645.lua
+3
-3
c42166000.lua
c42166000.lua
+3
-3
c42600274.lua
c42600274.lua
+3
-3
c43413875.lua
c43413875.lua
+3
-3
c44968687.lua
c44968687.lua
+3
-3
c48579379.lua
c48579379.lua
+3
-3
c49814180.lua
c49814180.lua
+3
-3
c50705071.lua
c50705071.lua
+3
-3
c53347303.lua
c53347303.lua
+3
-3
c55204071.lua
c55204071.lua
+3
-3
c55737443.lua
c55737443.lua
+3
-3
c57261568.lua
c57261568.lua
+3
-3
c58604027.lua
c58604027.lua
+3
-3
c59464593.lua
c59464593.lua
+3
-3
c6133894.lua
c6133894.lua
+3
-3
c6218704.lua
c6218704.lua
+3
-3
c63014935.lua
c63014935.lua
+3
-3
c64335804.lua
c64335804.lua
+3
-3
c64382839.lua
c64382839.lua
+3
-3
c67547370.lua
c67547370.lua
+3
-3
c70456282.lua
c70456282.lua
+3
-3
c71923655.lua
c71923655.lua
+3
-3
c76075139.lua
c76075139.lua
+3
-3
c80887952.lua
c80887952.lua
+3
-3
c81434470.lua
c81434470.lua
+3
-3
c87756343.lua
c87756343.lua
+3
-3
c87804747.lua
c87804747.lua
+3
-3
c88559132.lua
c88559132.lua
+3
-3
c89818984.lua
c89818984.lua
+3
-3
c90960358.lua
c90960358.lua
+3
-3
c91842653.lua
c91842653.lua
+3
-3
c94388754.lua
c94388754.lua
+3
-3
c96561011.lua
c96561011.lua
+3
-3
No files found.
c10485110.lua
View file @
b55a8dc5
...
...
@@ -31,11 +31,11 @@ function c10485110.initial_effect(c)
end
function
c10485110
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
nil
,
37721209
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
nil
,
37721209
)
end
function
c10485110
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
Card
.
IsCode
,
1
,
1
,
nil
,
37721209
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
Card
.
IsCode
,
1
,
1
,
nil
,
37721209
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c10485110
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
and
c
:
IsAbleToGraveAsCost
()
...
...
c11443677.lua
View file @
b55a8dc5
...
...
@@ -59,13 +59,13 @@ end
function
c11443677
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c11443677
.
sprfilter
,
1
,
nil
,
tp
,
c
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c11443677
.
sprfilter
,
1
,
nil
,
tp
,
c
)
end
function
c11443677
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c11443677
.
sprfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c11443677
.
sprfilter
,
1
,
1
,
nil
,
tp
,
c
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c11443677
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_TRAP
)
...
...
c12510878.lua
View file @
b55a8dc5
...
...
@@ -40,11 +40,11 @@ function c12510878.initial_effect(c)
end
function
c12510878
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
nil
,
18036057
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
nil
,
18036057
)
end
function
c12510878
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
1
,
nil
,
18036057
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
1
,
nil
,
18036057
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c12510878
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
...
...
c13224603.lua
View file @
b55a8dc5
...
...
@@ -54,11 +54,11 @@ end
function
c13224603
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c13224603
.
hspfilter
,
1
,
nil
,
tp
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c13224603
.
hspfilter
,
1
,
nil
,
tp
)
end
function
c13224603
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c13224603
.
hspfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c13224603
.
hspfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c13224603
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
13224603
)
>
0
...
...
c14141448.lua
View file @
b55a8dc5
...
...
@@ -20,9 +20,9 @@ end
function
c14141448
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
c14141448
.
rfilter
,
1
,
nil
)
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
c14141448
.
rfilter
,
1
,
nil
)
end
function
c14141448
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
c14141448
.
rfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
c14141448
.
rfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
c15180041.lua
View file @
b55a8dc5
...
...
@@ -58,12 +58,12 @@ function c15180041.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c15180041
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c15180041
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c15180041
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c15180041
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c15180041
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c15180041
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c15291624.lua
View file @
b55a8dc5
...
...
@@ -50,12 +50,12 @@ function c15291624.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
(
Duel
.
GetCustomActivityCount
(
15291624
,
tp
,
ACTIVITY_CHAIN
)
~=
0
or
Duel
.
GetCustomActivityCount
(
15291624
,
1
-
tp
,
ACTIVITY_CHAIN
)
~=
0
)
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c15291624
.
spfilter
,
1
,
nil
,
c
,
tp
)
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c15291624
.
spfilter
,
1
,
nil
,
c
,
tp
)
end
function
c15291624
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c15291624
.
spfilter
,
1
,
1
,
nil
,
c
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c15291624
.
spfilter
,
1
,
1
,
nil
,
c
,
tp
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c15291624
.
repfilter
(
c
)
return
c
:
IsRace
(
RACE_THUNDER
)
and
c
:
IsAbleToRemove
()
...
...
c16024176.lua
View file @
b55a8dc5
...
...
@@ -39,12 +39,12 @@ function c16024176.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c16024176
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c16024176
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c16024176
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c16024176
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c16024176
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c16024176
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c16802689.lua
View file @
b55a8dc5
...
...
@@ -38,12 +38,12 @@ function c16802689.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c16802689
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c16802689
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c16802689
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c16802689
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c16802689
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c16802689
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c17286057.lua
View file @
b55a8dc5
...
...
@@ -48,12 +48,12 @@ function c17286057.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c17286057
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c17286057
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c17286057
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c17286057
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c17286057
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c17286057
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
c18378582.lua
View file @
b55a8dc5
...
...
@@ -33,11 +33,11 @@ function c18378582.rfilter(c,code)
end
function
c18378582
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
Duel
.
IsEnvironment
(
56433456
)
end
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
c18378582
.
rfilter
,
1
,
nil
,
66073051
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
c18378582
.
rfilter
,
1
,
nil
,
66073051
)
end
function
c18378582
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c18378582
.
rfilter
,
1
,
1
,
nil
,
66073051
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c18378582
.
rfilter
,
1
,
1
,
nil
,
66073051
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c18378582
.
cfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsDiscardable
()
and
c
:
IsAbleToGraveAsCost
()
...
...
c18828179.lua
View file @
b55a8dc5
...
...
@@ -29,12 +29,12 @@ function c18828179.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c18828179
.
rfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c18828179
.
rfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c18828179
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c18828179
.
rfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c18828179
.
rfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c18828179
.
cfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsDiscardable
()
and
c
:
IsAbleToGraveAsCost
()
...
...
c20403123.lua
View file @
b55a8dc5
...
...
@@ -30,12 +30,12 @@ function c20403123.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c20403123
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c20403123
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c20403123
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c20403123
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c20403123
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c20403123
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
c21686473.lua
View file @
b55a8dc5
...
...
@@ -74,12 +74,12 @@ function c21686473.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c21686473
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c21686473
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c21686473
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c21686473
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c21686473
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c21686473
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c21772453.lua
View file @
b55a8dc5
...
...
@@ -28,12 +28,12 @@ function c21772453.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c21772453
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c21772453
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c21772453
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c21772453
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c21772453
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c21772453
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c25449584.lua
View file @
b55a8dc5
...
...
@@ -28,11 +28,11 @@ end
function
c25449584
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c25449584
.
spfilter
,
1
,
nil
,
tp
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c25449584
.
spfilter
,
1
,
nil
,
tp
)
end
function
c25449584
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c25449584
.
spfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c25449584
.
spfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x4fc0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
25449584
,
1
))
local
atk
=
g
:
GetFirst
():
GetBaseAttack
()
if
atk
<
0
then
return
end
...
...
c29436665.lua
View file @
b55a8dc5
...
...
@@ -43,12 +43,12 @@ function c29436665.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c29436665
.
rfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c29436665
.
rfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c29436665
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c29436665
.
rfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c29436665
.
rfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c29436665
.
dmgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetActiveType
()
==
TYPE_SPELL
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
e
:
GetHandler
():
GetFlagEffect
(
FLAG_ID_CHAINING
)
>
0
...
...
c2948263.lua
View file @
b55a8dc5
...
...
@@ -44,12 +44,12 @@ function c2948263.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c2948263
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c2948263
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c2948263
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c2948263
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c2948263
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
local
atk
=
g
:
GetFirst
():
GetBaseAttack
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c29719112.lua
View file @
b55a8dc5
...
...
@@ -40,11 +40,11 @@ end
function
c29719112
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c29719112
.
spfilter
,
1
,
nil
,
tp
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c29719112
.
spfilter
,
1
,
nil
,
tp
)
end
function
c29719112
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c29719112
.
spfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c29719112
.
spfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c29719112
.
spfilter1
(
c
,
e
)
return
not
c
:
IsImmuneToEffect
(
e
)
...
...
c31516413.lua
View file @
b55a8dc5
...
...
@@ -39,12 +39,12 @@ function c31516413.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c31516413
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c31516413
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c31516413
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c31516413
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c31516413
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x4fc0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
31516413
,
2
))
end
function
c31516413
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c32731036.lua
View file @
b55a8dc5
...
...
@@ -44,12 +44,12 @@ end
function
s
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
s
.
cfilter
,
1
,
nil
,
tp
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
s
.
cfilter
,
1
,
nil
,
tp
)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
s
.
cfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
s
.
cfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
s
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
c3300267.lua
View file @
b55a8dc5
...
...
@@ -39,12 +39,12 @@ function c3300267.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c3300267
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c3300267
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c3300267
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c3300267
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c3300267
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x4fc0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
3300267
,
2
))
end
function
c3300267
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c37440988.lua
View file @
b55a8dc5
...
...
@@ -47,12 +47,12 @@ function c37440988.hspfilter(c,tp,sc)
end
function
c37440988
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
c37440988
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
c37440988
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
function
c37440988
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c37440988
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c37440988
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c37440988
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x1034
)
and
c
:
GetAttack
()
>
0
and
c
:
IsAbleToRemoveAsCost
()
...
...
c37542782.lua
View file @
b55a8dc5
...
...
@@ -53,12 +53,12 @@ function c37542782.hspfilter(c,tp,sc)
end
function
c37542782
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
c37542782
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
c37542782
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
function
c37542782
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c37542782
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c37542782
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c37542782
.
efilter
(
e
,
re
)
return
e
:
GetHandlerPlayer
()
~=
re
:
GetOwnerPlayer
()
and
re
:
IsActivated
()
...
...
c41175645.lua
View file @
b55a8dc5
...
...
@@ -57,12 +57,12 @@ function c41175645.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c41175645
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c41175645
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c41175645
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c41175645
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c41175645
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c41175645
.
value
(
e
,
c
)
return
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
LOCATION_HAND
,
0
)
*
500
...
...
c42166000.lua
View file @
b55a8dc5
...
...
@@ -94,12 +94,12 @@ function c42166000.hspfilter(c,tp,sc)
end
function
c42166000
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
c42166000
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
c42166000
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
function
c42166000
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c42166000
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c42166000
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c42166000
.
ttfilter
(
c
,
tp
)
return
c
:
IsHasEffect
(
42166000
)
and
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
...
...
c42600274.lua
View file @
b55a8dc5
...
...
@@ -27,7 +27,7 @@ function c42600274.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ct
=
0
if
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c42600274
.
hspfilter
,
1
,
nil
,
tp
)
then
ct
=
ct
-
1
end
if
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c42600274
.
hspfilter
,
1
,
nil
,
tp
)
then
ct
=
ct
-
1
end
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
ct
and
Duel
.
CheckReleaseGroupEx
(
tp
,
Card
.
IsRace
,
1
,
e
:
GetHandler
(),
RACE_WARRIOR
+
RACE_FAIRY
)
end
...
...
@@ -37,9 +37,9 @@ function c42600274.hspop(e,tp,eg,ep,ev,re,r,rp,c)
if
ft
>
0
then
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
Card
.
IsRace
,
1
,
1
,
e
:
GetHandler
(),
RACE_WARRIOR
+
RACE_FAIRY
)
else
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c42600274
.
hspfilter
,
1
,
1
,
nil
,
tp
)
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c42600274
.
hspfilter
,
1
,
1
,
nil
,
tp
)
end
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x4fc0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
42600274
,
0
))
end
function
c42600274
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c43413875.lua
View file @
b55a8dc5
...
...
@@ -38,12 +38,12 @@ function c43413875.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c43413875
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c43413875
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c43413875
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c43413875
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c43413875
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c43413875
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c44968687.lua
View file @
b55a8dc5
...
...
@@ -54,11 +54,11 @@ function c44968687.initial_effect(c)
end
function
c44968687
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
nil
,
3643300
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
nil
,
3643300
)
end
function
c44968687
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
Card
.
IsCode
,
1
,
1
,
nil
,
3643300
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
Card
.
IsCode
,
1
,
1
,
nil
,
3643300
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c44968687
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
c48579379.lua
View file @
b55a8dc5
...
...
@@ -22,10 +22,10 @@ function c48579379.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c48579379
.
rfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c48579379
.
rfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c48579379
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c48579379
.
rfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c48579379
.
rfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
c49814180.lua
View file @
b55a8dc5
...
...
@@ -31,10 +31,10 @@ function c49814180.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c49814180
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c49814180
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c49814180
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c49814180
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c49814180
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
c50705071.lua
View file @
b55a8dc5
...
...
@@ -18,10 +18,10 @@ function c50705071.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c50705071
.
spfilter
,
1
,
nil
)
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c50705071
.
spfilter
,
1
,
nil
)
end
function
c50705071
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c50705071
.
spfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c50705071
.
spfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
Duel
.
ShuffleDeck
(
tp
)
end
c53347303.lua
View file @
b55a8dc5
...
...
@@ -40,11 +40,11 @@ function c53347303.initial_effect(c)
end
function
c53347303
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
nil
,
23995346
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
nil
,
23995346
)
end
function
c53347303
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
1
,
nil
,
23995346
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
1
,
nil
,
23995346
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c53347303
.
val
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsRace
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
RACE_DRAGON
)
*
300
...
...
c55204071.lua
View file @
b55a8dc5
...
...
@@ -37,12 +37,12 @@ function c55204071.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c55204071
.
cfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c55204071
.
cfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c55204071
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c55204071
.
cfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c55204071
.
cfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c55204071
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
...
...
c55737443.lua
View file @
b55a8dc5
...
...
@@ -37,12 +37,12 @@ function c55737443.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c55737443
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c55737443
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c55737443
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c55737443
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c55737443
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c55737443
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
...
...
c57261568.lua
View file @
b55a8dc5
...
...
@@ -42,12 +42,12 @@ function c57261568.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c57261568
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c57261568
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c57261568
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c57261568
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c57261568
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c57261568
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c58604027.lua
View file @
b55a8dc5
...
...
@@ -69,12 +69,12 @@ function c58604027.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c58604027
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c58604027
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c58604027
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c58604027
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c58604027
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c58604027
.
efilter
(
e
,
te
)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
...
...
c59464593.lua
View file @
b55a8dc5
...
...
@@ -38,12 +38,12 @@ function c59464593.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c59464593
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c59464593
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c59464593
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c59464593
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c59464593
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c59464593
.
dfilter
(
c
)
return
c
:
IsFaceup
()
...
...
c6133894.lua
View file @
b55a8dc5
...
...
@@ -31,11 +31,11 @@ function c6133894.rfilter(c,code)
end
function
c6133894
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
Duel
.
IsEnvironment
(
94585852
)
end
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
c6133894
.
rfilter
,
1
,
nil
,
66073051
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
c6133894
.
rfilter
,
1
,
nil
,
66073051
)
end
function
c6133894
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c6133894
.
rfilter
,
1
,
1
,
nil
,
66073051
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c6133894
.
rfilter
,
1
,
1
,
nil
,
66073051
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c6133894
.
hdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c6218704.lua
View file @
b55a8dc5
...
...
@@ -78,12 +78,12 @@ function c6218704.hspfilter(c,tp,sc)
end
function
c6218704
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
c
:
IsFacedown
()
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
c6218704
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
c
:
IsFacedown
()
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
c6218704
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
function
c6218704
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c6218704
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c6218704
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c6218704
.
pcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_PZONE
,
0
)
>=
2
...
...
c63014935.lua
View file @
b55a8dc5
...
...
@@ -54,7 +54,7 @@ end
function
c63014935
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c63014935
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c63014935
.
damcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
end
...
...
@@ -76,8 +76,8 @@ function c63014935.phcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c63014935
.
phop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckReleaseGroup
(
REASON_
COS
T
,
tp
,
aux
.
TRUE
,
1
,
e
:
GetHandler
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
63014935
,
2
))
then
Duel
.
Release
(
Duel
.
SelectReleaseGroup
(
REASON_
COS
T
,
tp
,
aux
.
TRUE
,
1
,
1
,
e
:
GetHandler
()),
REASON_EFFECT
)
if
Duel
.
CheckReleaseGroup
(
REASON_
EFFEC
T
,
tp
,
aux
.
TRUE
,
1
,
e
:
GetHandler
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
63014935
,
2
))
then
Duel
.
Release
(
Duel
.
SelectReleaseGroup
(
REASON_
EFFEC
T
,
tp
,
aux
.
TRUE
,
1
,
1
,
e
:
GetHandler
()),
REASON_EFFECT
)
else
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
end
end
function
c63014935
.
spcost
(
e
,
c
,
tp
)
...
...
c64335804.lua
View file @
b55a8dc5
...
...
@@ -18,10 +18,10 @@ function c64335804.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c64335804
.
spfilter
,
1
,
nil
)
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c64335804
.
spfilter
,
1
,
nil
)
end
function
c64335804
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c64335804
.
spfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c64335804
.
spfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
Duel
.
ShuffleDeck
(
tp
)
end
c64382839.lua
View file @
b55a8dc5
...
...
@@ -47,10 +47,10 @@ function c64382839.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c64382839
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c64382839
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c64382839
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c64382839
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c64382839
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
c67547370.lua
View file @
b55a8dc5
...
...
@@ -54,12 +54,12 @@ function c67547370.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c67547370
.
cfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c67547370
.
cfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c67547370
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c67547370
.
cfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c67547370
.
cfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c67547370
.
countcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsPublic
()
end
...
...
c70456282.lua
View file @
b55a8dc5
...
...
@@ -27,12 +27,12 @@ function c70456282.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c70456282
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c70456282
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c70456282
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c70456282
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c70456282
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_ADD_TYPE
)
...
...
c71923655.lua
View file @
b55a8dc5
...
...
@@ -18,10 +18,10 @@ function c71923655.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c71923655
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c71923655
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c71923655
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c71923655
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c71923655
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
c76075139.lua
View file @
b55a8dc5
...
...
@@ -54,12 +54,12 @@ function c76075139.hspfilter(c,tp,sc)
end
function
c76075139
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
c
:
IsFacedown
()
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
c
:
GetControler
(),
c76075139
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
c
:
IsFacedown
()
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
c
:
GetControler
(),
c76075139
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
function
c76075139
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c76075139
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c76075139
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c76075139
.
pfilter
(
c
)
local
seq
=
c
:
GetSequence
()
...
...
c80887952.lua
View file @
b55a8dc5
...
...
@@ -41,12 +41,12 @@ function c80887952.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c80887952
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c80887952
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c80887952
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c80887952
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c80887952
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c80887952
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
c81434470.lua
View file @
b55a8dc5
...
...
@@ -32,10 +32,10 @@ function c81434470.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c81434470
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c81434470
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c81434470
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c81434470
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c81434470
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
c87756343.lua
View file @
b55a8dc5
...
...
@@ -22,10 +22,10 @@ function c87756343.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c87756343
.
rfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c87756343
.
rfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c87756343
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c87756343
.
rfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c87756343
.
rfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
c87804747.lua
View file @
b55a8dc5
...
...
@@ -56,12 +56,12 @@ end
function
s
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
s
.
hspfilter
,
1
,
nil
,
tp
,
c
)
return
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
s
.
hspfilter
,
1
,
nil
,
tp
,
c
)
end
function
s
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
s
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
s
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
...
...
c88559132.lua
View file @
b55a8dc5
...
...
@@ -18,12 +18,12 @@ function c88559132.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c88559132
.
spfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c88559132
.
spfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c88559132
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c88559132
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c88559132
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
local
atk
=
g
:
GetFirst
():
GetBaseAttack
()
if
atk
<
0
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c89818984.lua
View file @
b55a8dc5
...
...
@@ -42,12 +42,12 @@ function c89818984.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c89818984
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c89818984
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c89818984
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c89818984
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c89818984
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c89818984
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c90960358.lua
View file @
b55a8dc5
...
...
@@ -62,12 +62,12 @@ function c90960358.spcon(e,c)
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
Duel
.
IsExistingMatchingCard
(
c90960358
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c90960358
.
spcfilter
,
1
,
nil
,
ft
,
tp
)
and
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c90960358
.
spcfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c90960358
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c90960358
.
spcfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c90960358
.
spcfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c90960358
.
sfilter
(
c
)
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousCodeOnField
()
==
15259703
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
c91842653.lua
View file @
b55a8dc5
...
...
@@ -61,12 +61,12 @@ function c91842653.spcon(e,c)
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
Duel
.
IsExistingMatchingCard
(
c91842653
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c91842653
.
spcfilter
,
1
,
nil
,
ft
,
tp
)
and
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c91842653
.
spcfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c91842653
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c91842653
.
spcfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c91842653
.
spcfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c91842653
.
sfilter
(
c
)
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousCodeOnField
()
==
15259703
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
c94388754.lua
View file @
b55a8dc5
...
...
@@ -28,12 +28,12 @@ function c94388754.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c94388754
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c94388754
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c94388754
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c94388754
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c94388754
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
end
function
c94388754
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c96561011.lua
View file @
b55a8dc5
...
...
@@ -36,10 +36,10 @@ function c96561011.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
tp
,
c96561011
.
rfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c96561011
.
rfilter
,
1
,
nil
,
ft
,
tp
)
end
function
c96561011
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
COST
,
tp
,
c96561011
.
rfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
COST
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_
SPSUMMON
,
tp
,
c96561011
.
rfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
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