Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
0
Merge Requests
0
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
Nemo Ma
no81cards
Commits
dde740bf
Commit
dde740bf
authored
Dec 26, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6c37805e
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
53 additions
and
53 deletions
+53
-53
expansions/script/c9910030.lua
expansions/script/c9910030.lua
+2
-2
expansions/script/c9910059.lua
expansions/script/c9910059.lua
+2
-2
expansions/script/c9910071.lua
expansions/script/c9910071.lua
+2
-2
expansions/script/c9910085.lua
expansions/script/c9910085.lua
+2
-2
expansions/script/c9910090.lua
expansions/script/c9910090.lua
+2
-2
expansions/script/c9910176.lua
expansions/script/c9910176.lua
+2
-2
expansions/script/c9910179.lua
expansions/script/c9910179.lua
+2
-2
expansions/script/c9910181.lua
expansions/script/c9910181.lua
+2
-2
expansions/script/c9910289.lua
expansions/script/c9910289.lua
+2
-2
expansions/script/c9910290.lua
expansions/script/c9910290.lua
+2
-2
expansions/script/c9910291.lua
expansions/script/c9910291.lua
+2
-2
expansions/script/c9910292.lua
expansions/script/c9910292.lua
+2
-2
expansions/script/c9910293.lua
expansions/script/c9910293.lua
+2
-2
expansions/script/c9910295.lua
expansions/script/c9910295.lua
+2
-2
expansions/script/c9910341.lua
expansions/script/c9910341.lua
+2
-2
expansions/script/c9910423.lua
expansions/script/c9910423.lua
+2
-2
expansions/script/c9910510.lua
expansions/script/c9910510.lua
+2
-2
expansions/script/c9910526.lua
expansions/script/c9910526.lua
+2
-2
expansions/script/c9910560.lua
expansions/script/c9910560.lua
+2
-2
expansions/script/c9910861.lua
expansions/script/c9910861.lua
+2
-2
expansions/script/c9910919.lua
expansions/script/c9910919.lua
+2
-2
expansions/script/c9911014.lua
expansions/script/c9911014.lua
+2
-2
expansions/script/c9911025.lua
expansions/script/c9911025.lua
+2
-2
expansions/script/c9911028.lua
expansions/script/c9911028.lua
+1
-1
expansions/script/c9911071.lua
expansions/script/c9911071.lua
+2
-2
expansions/script/c9911113.lua
expansions/script/c9911113.lua
+2
-2
expansions/script/c9911226.lua
expansions/script/c9911226.lua
+2
-2
No files found.
expansions/script/c9910030.lua
View file @
dde740bf
...
@@ -67,8 +67,8 @@ function c9910030.cfilter(c,g)
...
@@ -67,8 +67,8 @@ function c9910030.cfilter(c,g)
end
end
function
c9910030
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910030
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910030
.
cfilter
,
1
,
nil
,
lg
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910030
.
cfilter
,
1
,
nil
,
lg
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910030
.
cfilter
,
1
,
1
,
nil
,
lg
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910030
.
cfilter
,
1
,
1
,
nil
,
lg
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9910030
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910030
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c9910059.lua
View file @
dde740bf
...
@@ -38,9 +38,9 @@ function c9910059.spfilter(c,e,tp,mc)
...
@@ -38,9 +38,9 @@ function c9910059.spfilter(c,e,tp,mc)
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
)
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
)
end
end
function
c9910059
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910059
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c9910059
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
c9910059
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
c9910059
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
c9910059
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9910059
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910059
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c9910071.lua
View file @
dde740bf
...
@@ -42,9 +42,9 @@ function c9910071.attop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,9 +42,9 @@ function c9910071.attop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c9910071
.
reccost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910071
.
reccost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
Card
.
IsRace
,
2
,
nil
,
RACE_FAIRY
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
Card
.
IsRace
,
2
,
nil
,
RACE_FAIRY
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
Card
.
IsRace
,
2
,
2
,
nil
,
RACE_FAIRY
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
Card
.
IsRace
,
2
,
2
,
nil
,
RACE_FAIRY
)
local
label
=
0
local
label
=
0
if
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_LIGHT
)
then
label
=
label
+
1
end
if
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_LIGHT
)
then
label
=
label
+
1
end
if
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_DARK
)
then
label
=
label
+
2
end
if
g
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_DARK
)
then
label
=
label
+
2
end
...
...
expansions/script/c9910085.lua
View file @
dde740bf
...
@@ -18,8 +18,8 @@ function c9910085.cfilter(c)
...
@@ -18,8 +18,8 @@ function c9910085.cfilter(c)
return
c
:
IsSetCard
(
0x9951
)
and
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
return
c
:
IsSetCard
(
0x9951
)
and
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
end
end
function
c9910085
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910085
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910085
.
cfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910085
.
cfilter
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910085
.
cfilter
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910085
.
cfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
local
tc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
local
tc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
if
tc
:
IsType
(
TYPE_SYNCHRO
+
TYPE_XYZ
)
then
if
tc
:
IsType
(
TYPE_SYNCHRO
+
TYPE_XYZ
)
then
...
...
expansions/script/c9910090.lua
View file @
dde740bf
...
@@ -25,9 +25,9 @@ function c9910090.cfilter(c,tp)
...
@@ -25,9 +25,9 @@ function c9910090.cfilter(c,tp)
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsRace
(
RACE_FAIRY
)
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsRace
(
RACE_FAIRY
)
end
end
function
c9910090
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910090
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910090
.
cfilter
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910090
.
cfilter
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910090
.
cfilter
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910090
.
cfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9910090
.
tgfilter
(
c
)
function
c9910090
.
tgfilter
(
c
)
...
...
expansions/script/c9910176.lua
View file @
dde740bf
...
@@ -45,11 +45,11 @@ end
...
@@ -45,11 +45,11 @@ end
function
c9910176
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910176
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
CheckReleaseGroupEx
(
tp
,
c9910176
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
CheckReleaseGroupEx
(
REASON_EFFECT
,
tp
,
c9910176
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
9910178
,
0
,
0x4011
,
1000
,
1000
,
3
,
RACE_WARRIOR
,
ATTRIBUTE_WIND
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
9910178
,
0
,
0x4011
,
1000
,
1000
,
3
,
RACE_WARRIOR
,
ATTRIBUTE_WIND
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910176
,
0
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910176
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
c9910176
.
cfilter
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_EFFECT
,
tp
,
c9910176
.
cfilter
,
1
,
1
,
nil
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
Release
(
g
,
REASON_EFFECT
)
~=
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
Release
(
g
,
REASON_EFFECT
)
~=
0
then
token
=
Duel
.
CreateToken
(
tp
,
9910178
)
token
=
Duel
.
CreateToken
(
tp
,
9910178
)
if
token
then
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
if
token
then
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
expansions/script/c9910179.lua
View file @
dde740bf
...
@@ -44,11 +44,11 @@ end
...
@@ -44,11 +44,11 @@ end
function
c9910179
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910179
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
CheckReleaseGroupEx
(
tp
,
c9910179
.
cfilter
,
1
,
nil
)
and
Duel
.
CheckReleaseGroupEx
(
REASON_EFFECT
,
tp
,
c9910179
.
cfilter
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910179
,
0
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910179
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
c9910179
.
cfilter
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_EFFECT
,
tp
,
c9910179
.
cfilter
,
1
,
1
,
nil
)
if
#
g
>
0
and
Duel
.
Release
(
g
,
REASON_EFFECT
)
~=
0
then
if
#
g
>
0
and
Duel
.
Release
(
g
,
REASON_EFFECT
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
...
...
expansions/script/c9910181.lua
View file @
dde740bf
...
@@ -24,9 +24,9 @@ function c9910181.cfilter(c)
...
@@ -24,9 +24,9 @@ function c9910181.cfilter(c)
end
end
function
c9910181
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910181
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c9910181
.
cfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
c9910181
.
cfilter
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
c9910181
.
cfilter
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
c9910181
.
cfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9910181
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910181
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c9910289.lua
View file @
dde740bf
...
@@ -20,9 +20,9 @@ function c9910289.spfilter(c,e,tp,code)
...
@@ -20,9 +20,9 @@ function c9910289.spfilter(c,e,tp,code)
return
c
:
IsSetCard
(
0x957
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x957
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c9910289
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910289
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910289
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910289
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910289
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910289
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
...
...
expansions/script/c9910290.lua
View file @
dde740bf
...
@@ -27,9 +27,9 @@ function c9910290.filter2(c,e,tp,flag1,flag2)
...
@@ -27,9 +27,9 @@ function c9910290.filter2(c,e,tp,flag1,flag2)
return
b1
or
b2
return
b1
or
b2
end
end
function
c9910290
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910290
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910290
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910290
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910290
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910290
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
...
...
expansions/script/c9910291.lua
View file @
dde740bf
...
@@ -54,9 +54,9 @@ function c9910291.spfilter(c,e,tp,code)
...
@@ -54,9 +54,9 @@ function c9910291.spfilter(c,e,tp,code)
return
c
:
IsSetCard
(
0x957
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x957
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c9910291
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910291
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910291
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910291
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910291
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910291
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
...
...
expansions/script/c9910292.lua
View file @
dde740bf
...
@@ -45,9 +45,9 @@ function c9910292.spfilter(c,e,tp,code)
...
@@ -45,9 +45,9 @@ function c9910292.spfilter(c,e,tp,code)
return
c
:
IsSetCard
(
0x957
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x957
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c9910292
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910292
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910292
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910292
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910292
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910292
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
...
...
expansions/script/c9910293.lua
View file @
dde740bf
...
@@ -29,9 +29,9 @@ function c9910293.spfilter(c,e,tp,code)
...
@@ -29,9 +29,9 @@ function c9910293.spfilter(c,e,tp,code)
return
c
:
IsSetCard
(
0x957
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x957
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c9910293
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910293
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910293
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910293
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910293
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910293
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
...
...
expansions/script/c9910295.lua
View file @
dde740bf
...
@@ -39,9 +39,9 @@ function c9910295.thfilter(c,e,tp,code,mc)
...
@@ -39,9 +39,9 @@ function c9910295.thfilter(c,e,tp,code,mc)
return
c
:
IsAbleToHand
()
or
(
Duel
.
GetMZoneCount
(
tp
,
mc
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
return
c
:
IsAbleToHand
()
or
(
Duel
.
GetMZoneCount
(
tp
,
mc
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
end
end
function
c9910295
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910295
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910295
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910295
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910295
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910295
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
...
...
expansions/script/c9910341.lua
View file @
dde740bf
...
@@ -52,8 +52,8 @@ function c9910341.costfilter(c,tp)
...
@@ -52,8 +52,8 @@ function c9910341.costfilter(c,tp)
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
end
function
c9910341
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910341
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910341
.
costfilter
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910341
.
costfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910341
.
costfilter
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910341
.
costfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9910341
.
spfilter
(
c
,
e
,
tp
)
function
c9910341
.
spfilter
(
c
,
e
,
tp
)
...
...
expansions/script/c9910423.lua
View file @
dde740bf
...
@@ -41,9 +41,9 @@ function c9910423.spfilter2(c,lv,e,tp)
...
@@ -41,9 +41,9 @@ function c9910423.spfilter2(c,lv,e,tp)
return
c
:
IsLevelBelow
(
lv
)
and
c
:
IsSetCard
(
0x6950
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
lv
)
and
c
:
IsSetCard
(
0x6950
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c9910423
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910423
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910423
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910423
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910423
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910423
.
rfilter
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetLevel
()
+
3
)
e
:
SetLabel
(
g
:
GetFirst
():
GetLevel
()
+
3
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
...
...
expansions/script/c9910510.lua
View file @
dde740bf
...
@@ -78,9 +78,9 @@ function c9910510.costfilter(c)
...
@@ -78,9 +78,9 @@ function c9910510.costfilter(c)
return
c
:
IsSetCard
(
0xa950
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
()
return
c
:
IsSetCard
(
0xa950
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
()
end
end
function
c9910510
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910510
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c9910510
.
costfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
c9910510
.
costfilter
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
c9910510
.
costfilter
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
c9910510
.
costfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9910510
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910510
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c9910526.lua
View file @
dde740bf
...
@@ -50,9 +50,9 @@ function c9910526.costfilter(c)
...
@@ -50,9 +50,9 @@ function c9910526.costfilter(c)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
()
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
()
end
end
function
c9910526
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910526
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c9910526
.
costfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
c9910526
.
costfilter
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
c9910526
.
costfilter
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
c9910526
.
costfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9910526
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910526
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c9910560.lua
View file @
dde740bf
...
@@ -31,9 +31,9 @@ function c9910560.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,9 +31,9 @@ function c9910560.condition(e,tp,eg,ep,ev,re,r,rp)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
end
end
function
c9910560
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910560
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
Card
.
IsRace
,
1
,
nil
,
RACE_CYBERSE
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
Card
.
IsRace
,
1
,
nil
,
RACE_CYBERSE
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
Card
.
IsRace
,
1
,
1
,
nil
,
RACE_CYBERSE
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
Card
.
IsRace
,
1
,
1
,
nil
,
RACE_CYBERSE
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9910560
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910560
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c9910861.lua
View file @
dde740bf
...
@@ -30,9 +30,9 @@ function c9910861.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,9 +30,9 @@ function c9910861.condition(e,tp,eg,ep,ev,re,r,rp)
return
ep
==
1
-
tp
and
Duel
.
GetCurrentChain
()
==
0
return
ep
==
1
-
tp
and
Duel
.
GetCurrentChain
()
==
0
end
end
function
c9910861
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910861
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0xa951
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0xa951
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0xa951
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0xa951
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9910861
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910861
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c9910919.lua
View file @
dde740bf
...
@@ -20,8 +20,8 @@ function c9910919.cfilter(c,tp)
...
@@ -20,8 +20,8 @@ function c9910919.cfilter(c,tp)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
end
function
c9910919
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910919
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9910919
.
cfilter
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9910919
.
cfilter
,
1
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c9910919
.
cfilter
,
1
,
1
,
nil
,
tp
)
local
sg
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9910919
.
cfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
sg
,
REASON_COST
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
end
function
c9910919
.
setfilter
(
c
,
tp
,
code
)
function
c9910919
.
setfilter
(
c
,
tp
,
code
)
...
...
expansions/script/c9911014.lua
View file @
dde740bf
...
@@ -18,7 +18,7 @@ function c9911014.rlfilter(c,tp)
...
@@ -18,7 +18,7 @@ function c9911014.rlfilter(c,tp)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasableByEffect
()
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
loc
)
>
0
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasableByEffect
()
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
loc
)
>
0
end
end
function
c9911014
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911014
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c9911014
.
rlfilter
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
c9911014
.
rlfilter
,
1
,
nil
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
)
end
end
function
c9911014
.
fselect
(
g
)
function
c9911014
.
fselect
(
g
)
...
@@ -37,7 +37,7 @@ function c9911014.disfilter(c)
...
@@ -37,7 +37,7 @@ function c9911014.disfilter(c)
end
end
function
c9911014
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9911014
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
true
):
Filter
(
c9911014
.
rlfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_EFFECT
):
Filter
(
c9911014
.
rlfilter
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
rg
:
SelectSubGroup
(
tp
,
c9911014
.
fselect
,
false
,
1
,
2
)
local
g
=
rg
:
SelectSubGroup
(
tp
,
c9911014
.
fselect
,
false
,
1
,
2
)
if
#
g
==
0
then
return
end
if
#
g
==
0
then
return
end
...
...
expansions/script/c9911025.lua
View file @
dde740bf
...
@@ -50,8 +50,8 @@ function c9911025.rfilter(c,tp)
...
@@ -50,8 +50,8 @@ function c9911025.rfilter(c,tp)
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
end
function
c9911025
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911025
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9911025
.
rfilter
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9911025
.
rfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9911025
.
rfilter
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9911025
.
rfilter
,
1
,
1
,
nil
,
tp
)
local
label
=
0
local
label
=
0
if
g
:
IsExists
(
Card
.
IsRace
,
1
,
nil
,
RACE_AQUA
)
then
label
=
1
end
if
g
:
IsExists
(
Card
.
IsRace
,
1
,
nil
,
RACE_AQUA
)
then
label
=
1
end
e
:
SetLabel
(
label
)
e
:
SetLabel
(
label
)
...
...
expansions/script/c9911028.lua
View file @
dde740bf
...
@@ -41,7 +41,7 @@ function c9911028.initial_effect(c)
...
@@ -41,7 +41,7 @@ function c9911028.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c9911028
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911028
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_COST
)
if
chk
==
0
then
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
if
chk
==
0
then
return
rg
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
false
,
2
,
2
,
tp
)
local
g
=
rg
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
false
,
2
,
2
,
tp
)
...
...
expansions/script/c9911071.lua
View file @
dde740bf
...
@@ -28,8 +28,8 @@ function c9911071.rfilter(c,tp)
...
@@ -28,8 +28,8 @@ function c9911071.rfilter(c,tp)
return
c
:
IsType
(
TYPE_TOKEN
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
c
:
IsType
(
TYPE_TOKEN
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
end
function
c9911071
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911071
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9911071
.
rfilter
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9911071
.
rfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9911071
.
rfilter
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9911071
.
rfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9911071
.
spfilter
(
c
,
e
,
tp
)
function
c9911071
.
spfilter
(
c
,
e
,
tp
)
...
...
expansions/script/c9911113.lua
View file @
dde740bf
...
@@ -34,8 +34,8 @@ function c9911113.cfilter(c)
...
@@ -34,8 +34,8 @@ function c9911113.cfilter(c)
return
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
return
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
c9911113
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911113
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9911113
.
cfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9911113
.
cfilter
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9911113
.
cfilter
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9911113
.
cfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9911113
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911113
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c9911226.lua
View file @
dde740bf
...
@@ -25,9 +25,9 @@ function c9911226.rfilter(c,tp)
...
@@ -25,9 +25,9 @@ function c9911226.rfilter(c,tp)
return
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
end
function
c9911226
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911226
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c9911226
.
rfilter
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c9911226
.
rfilter
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c9911226
.
rfilter
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c9911226
.
rfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c9911226
.
tgfilter
(
c
)
function
c9911226
.
tgfilter
(
c
)
...
...
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