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
adad0c56
Commit
adad0c56
authored
Jul 03, 2023
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix nil
parent
130b7af8
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
11 deletions
+12
-11
c1759808.lua
c1759808.lua
+1
-1
c27623932.lua
c27623932.lua
+1
-1
c34365442.lua
c34365442.lua
+1
-1
c36982581.lua
c36982581.lua
+1
-1
c41443249.lua
c41443249.lua
+1
-1
c55049722.lua
c55049722.lua
+1
-1
c62219643.lua
c62219643.lua
+1
-1
c63509474.lua
c63509474.lua
+1
-1
c65046521.lua
c65046521.lua
+1
-1
c7602800.lua
c7602800.lua
+1
-1
c82886276.lua
c82886276.lua
+1
-1
c97112505.lua
c97112505.lua
+1
-0
No files found.
c1759808.lua
View file @
adad0c56
...
@@ -21,7 +21,7 @@ function c1759808.spfilter(c,e,tp,code)
...
@@ -21,7 +21,7 @@ function c1759808.spfilter(c,e,tp,code)
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
)
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
)
end
end
function
c1759808
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1759808
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
1
-
tp
)
and
c1759808
.
cfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
hkc
:
IsControler
(
1
-
tp
)
and
c1759808
.
cfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c1759808
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c1759808
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c1759808
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c1759808
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
e
,
tp
)
...
...
c27623932.lua
View file @
adad0c56
...
@@ -32,7 +32,7 @@ function c27623932.desfilter(c,atk)
...
@@ -32,7 +32,7 @@ function c27623932.desfilter(c,atk)
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
atk
)
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
atk
)
end
end
function
c27623932
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c27623932
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c27623932
.
tgfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
hkc
:
IsControler
(
tp
)
and
c27623932
.
tgfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c27623932
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c27623932
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c27623932
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c27623932
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
...
...
c34365442.lua
View file @
adad0c56
...
@@ -49,7 +49,7 @@ function c34365442.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -49,7 +49,7 @@ function c34365442.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
sg
,
REASON_COST
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
end
function
c34365442
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c34365442
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c34365442
.
tgfilter1
(
c
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c34365442
.
tgfilter1
(
c
hkc
)
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c34365442
.
tgfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c34365442
.
tgfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
...
...
c36982581.lua
View file @
adad0c56
...
@@ -86,7 +86,7 @@ function c36982581.tdfilter(c)
...
@@ -86,7 +86,7 @@ function c36982581.tdfilter(c)
end
end
function
c36982581
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c36982581
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
and
c36982581
.
tdfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c
hkc
:
IsControler
(
tp
)
and
c36982581
.
tdfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c36982581
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
c
:
IsAbleToDeck
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c36982581
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
c
:
IsAbleToDeck
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c36982581
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c36982581
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
...
...
c41443249.lua
View file @
adad0c56
...
@@ -84,7 +84,7 @@ function s.spfilter(c,e,tp)
...
@@ -84,7 +84,7 @@ function s.spfilter(c,e,tp)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
c
:
IsControler
(
tp
)
and
s
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
c
hkc
:
IsControler
(
tp
)
and
s
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c55049722.lua
View file @
adad0c56
...
@@ -26,7 +26,7 @@ function c55049722.thfilter(c)
...
@@ -26,7 +26,7 @@ function c55049722.thfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsAbleToHand
()
end
end
function
c55049722
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c55049722
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c
:
IsControler
(
1
-
tp
)
and
c55049722
.
thfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
c
hkc
:
IsControler
(
1
-
tp
)
and
c55049722
.
thfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c55049722
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c55049722
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
c55049722
.
thfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
and
Duel
.
IsExistingTarget
(
c55049722
.
thfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c55049722
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c55049722
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
...
c62219643.lua
View file @
adad0c56
...
@@ -57,7 +57,7 @@ function c62219643.tgfilter(c)
...
@@ -57,7 +57,7 @@ function c62219643.tgfilter(c)
return
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToGrave
()
return
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToGrave
()
end
end
function
c62219643
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c62219643
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c62219643
.
tgfilter
(
c
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c62219643
.
tgfilter
(
c
hkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c62219643
.
tgfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c62219643
.
tgfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c62219643
.
tgfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c62219643
.
tgfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
...
...
c63509474.lua
View file @
adad0c56
...
@@ -31,7 +31,7 @@ function c63509474.thfilter(c)
...
@@ -31,7 +31,7 @@ function c63509474.thfilter(c)
return
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsAbleToHand
()
end
end
function
c63509474
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c63509474
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c63509474
.
thfilter
(
c
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c63509474
.
thfilter
(
c
hkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c63509474
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c63509474
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c63509474
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c63509474
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
...
...
c65046521.lua
View file @
adad0c56
...
@@ -56,7 +56,7 @@ function c65046521.tffilter(c)
...
@@ -56,7 +56,7 @@ function c65046521.tffilter(c)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsSetCard
(
0xc0
)
and
not
c
:
IsForbidden
()
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsSetCard
(
0xc0
)
and
not
c
:
IsForbidden
()
end
end
function
c65046521
.
tftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c65046521
.
tftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c65046521
.
tffilter
(
chkc
)
and
c
:
IsControler
(
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c65046521
.
tffilter
(
chkc
)
and
c
hkc
:
IsControler
(
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c65046521
.
tffilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
())
end
and
Duel
.
IsExistingTarget
(
c65046521
.
tffilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
...
...
c7602800.lua
View file @
adad0c56
...
@@ -45,7 +45,7 @@ end
...
@@ -45,7 +45,7 @@ end
function
c7602800
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c7602800
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
_
,
atk
=
eg
:
Filter
(
c7602800
.
cfilter
,
nil
,
tp
):
GetMaxGroup
(
Card
.
GetAttack
)
local
_
,
atk
=
eg
:
Filter
(
c7602800
.
cfilter
,
nil
,
tp
):
GetMaxGroup
(
Card
.
GetAttack
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
c7602800
.
spfilter
(
c
,
e
,
tp
,
atk
)
end
and
c7602800
.
spfilter
(
c
hkc
,
e
,
tp
,
atk
)
end
if
chk
==
0
then
return
atk
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
atk
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c7602800
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
,
atk
)
end
and
Duel
.
IsExistingTarget
(
c7602800
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
,
atk
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c82886276.lua
View file @
adad0c56
...
@@ -60,7 +60,7 @@ function s.spfilter(c,e,tp,tc)
...
@@ -60,7 +60,7 @@ function s.spfilter(c,e,tp,tc)
end
end
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
s
.
cfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
hkc
:
IsControler
(
tp
)
and
s
.
cfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
...
c97112505.lua
View file @
adad0c56
...
@@ -48,6 +48,7 @@ function c97112505.thcfilter(c)
...
@@ -48,6 +48,7 @@ function c97112505.thcfilter(c)
return
c
:
IsSetCard
(
0x70
)
and
c
:
IsAbleToRemoveAsCost
()
and
not
c
:
IsCode
(
97112505
)
return
c
:
IsSetCard
(
0x70
)
and
c
:
IsAbleToRemoveAsCost
()
and
not
c
:
IsCode
(
97112505
)
end
end
function
c97112505
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c97112505
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c97112505
.
thcfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c97112505
.
thcfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c97112505
.
thcfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c97112505
.
thcfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
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