Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Ai
ygopro-222DIY-cards
Commits
b30119b9
Commit
b30119b9
authored
Apr 30, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
str
parent
9361f0ee
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
36 additions
and
34 deletions
+36
-34
expansions/script/c65020080.lua
expansions/script/c65020080.lua
+5
-5
expansions/script/c65020082.lua
expansions/script/c65020082.lua
+5
-5
expansions/script/c65020084.lua
expansions/script/c65020084.lua
+5
-5
expansions/script/c65020086.lua
expansions/script/c65020086.lua
+5
-5
expansions/script/c65020088.lua
expansions/script/c65020088.lua
+4
-4
expansions/script/c65020090.lua
expansions/script/c65020090.lua
+5
-5
expansions/script/c65020171.lua
expansions/script/c65020171.lua
+1
-1
expansions/script/c65020175.lua
expansions/script/c65020175.lua
+1
-1
expansions/script/c65050017.lua
expansions/script/c65050017.lua
+2
-0
expansions/script/c65050019.lua
expansions/script/c65050019.lua
+3
-3
No files found.
expansions/script/c65020080.lua
View file @
b30119b9
...
...
@@ -45,13 +45,13 @@ function c65020080.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c65020080
.
con0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020080
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
end
function
c65020080
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020095
)
>
0
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020095
)
end
function
c65020080
.
counterfilter
(
c
)
return
c
:
IsSetCard
(
0xada3
)
...
...
@@ -88,10 +88,10 @@ function c65020080.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65020080
.
con3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020092
)
>
0
and
not
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020080
.
con4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020092
)
>
0
and
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
end
function
c65020080
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
...
...
expansions/script/c65020082.lua
View file @
b30119b9
...
...
@@ -45,13 +45,13 @@ function c65020082.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c65020082
.
con0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020082
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
end
function
c65020082
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020095
)
>
0
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020095
)
end
function
c65020082
.
counterfilter
(
c
)
return
c
:
IsSetCard
(
0xada3
)
...
...
@@ -88,10 +88,10 @@ function c65020082.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65020082
.
con3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020092
)
>
0
and
not
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020082
.
con4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020092
)
>
0
and
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
end
function
c65020082
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
...
...
expansions/script/c65020084.lua
View file @
b30119b9
...
...
@@ -45,13 +45,13 @@ function c65020084.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c65020084
.
con0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020084
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
end
function
c65020084
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020095
)
>
0
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020095
)
end
function
c65020084
.
counterfilter
(
c
)
return
c
:
IsSetCard
(
0xada3
)
...
...
@@ -88,10 +88,10 @@ function c65020084.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65020084
.
con3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020092
)
>
0
and
not
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020084
.
con4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020092
)
>
0
and
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
end
function
c65020084
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
...
...
expansions/script/c65020086.lua
View file @
b30119b9
...
...
@@ -45,13 +45,13 @@ function c65020086.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c65020086
.
con0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020086
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
end
function
c65020086
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020095
)
>
0
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020095
)
end
function
c65020086
.
counterfilter
(
c
)
return
c
:
IsSetCard
(
0xada3
)
...
...
@@ -88,10 +88,10 @@ function c65020086.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65020086
.
con3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020092
)
>
0
and
not
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020086
.
con4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020092
)
>
0
and
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
end
function
c65020086
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
...
...
expansions/script/c65020088.lua
View file @
b30119b9
...
...
@@ -45,13 +45,13 @@ function c65020088.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c65020088
.
con0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020088
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
end
function
c65020088
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020095
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020095
)
end
function
c65020088
.
counterfilter
(
c
)
return
c
:
IsSetCard
(
0xada3
)
...
...
@@ -88,7 +88,7 @@ function c65020088.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65020088
.
con3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
not
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020088
.
con4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
...
...
expansions/script/c65020090.lua
View file @
b30119b9
...
...
@@ -44,13 +44,13 @@ function c65020090.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c65020090
.
con0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020090
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
end
function
c65020090
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020095
)
>
0
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020095
)
end
function
c65020090
.
counterfilter
(
c
)
return
c
:
IsSetCard
(
0xada3
)
...
...
@@ -87,10 +87,10 @@ function c65020090.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65020090
.
con3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020092
)
>
0
and
not
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
and
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
==
0
end
function
c65020090
.
con4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
65020092
)
>
0
and
(
Duel
.
GetFlagEffect
(
tp
,
65020093
)
>
0
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020092
)
and
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
65020093
)
or
e
:
GetHandler
():
GetFlagEffect
(
65001020
)
~=
0
)
end
function
c65020090
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
...
...
expansions/script/c65020171.lua
View file @
b30119b9
...
...
@@ -5,7 +5,7 @@ function c65020171.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCountLimit
(
1
,
65020171
)
e1
:
SetCondition
(
c65020171
.
accon
)
e1
:
SetTarget
(
c65020171
.
actg
)
...
...
expansions/script/c65020175.lua
View file @
b30119b9
...
...
@@ -56,7 +56,7 @@ function c65020175.op(e,tp,eg,ep,ev,re,r,rp)
end
function
c65020175
.
acfil
(
c
)
return
c
:
IsSetCard
(
0xcda8
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0xcda8
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsFaceup
()
and
c
:
GetOverlayCount
()
>
0
end
function
c65020175
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsChainNegatable
(
ev
)
then
return
false
end
...
...
expansions/script/c65050017.lua
View file @
b30119b9
...
...
@@ -90,8 +90,10 @@ function c65050017.adop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65050017
.
eop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetLabelObject
()
~=
nil
then
e
:
GetLabelObject
():
Reset
()
e
:
GetLabelObject
():
GetHandler
():
ResetFlagEffect
(
65050017
)
e
:
GetLabelObject
():
GetHandler
():
ResetFlagEffect
(
0
)
end
e
:
Reset
()
end
\ No newline at end of file
expansions/script/c65050019.lua
View file @
b30119b9
...
...
@@ -33,13 +33,13 @@ function c65050019.hspfilter(c,e,tp)
end
function
c65050019
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c65050019
.
hspfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
and
Duel
.
IsExistingMatchingCard
(
c65050019
.
hspfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
)
end
function
c65050019
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65050019
.
hspfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65050019
.
hspfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
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