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
aa99b049
Commit
aa99b049
authored
Jul 04, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
75bc0b57
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
34 additions
and
90 deletions
+34
-90
expansions/script/c9910002.lua
expansions/script/c9910002.lua
+0
-4
expansions/script/c9910149.lua
expansions/script/c9910149.lua
+1
-5
expansions/script/c9910182.lua
expansions/script/c9910182.lua
+0
-4
expansions/script/c9910184.lua
expansions/script/c9910184.lua
+0
-4
expansions/script/c9910204.lua
expansions/script/c9910204.lua
+0
-4
expansions/script/c9910470.lua
expansions/script/c9910470.lua
+2
-0
expansions/script/c9910515.lua
expansions/script/c9910515.lua
+3
-4
expansions/script/c9910540.lua
expansions/script/c9910540.lua
+1
-1
expansions/script/c9910561.lua
expansions/script/c9910561.lua
+0
-4
expansions/script/c9910717.lua
expansions/script/c9910717.lua
+9
-9
expansions/script/c9910862.lua
expansions/script/c9910862.lua
+0
-4
expansions/script/c9910923.lua
expansions/script/c9910923.lua
+0
-4
expansions/script/c9910926.lua
expansions/script/c9910926.lua
+0
-4
expansions/script/c9910929.lua
expansions/script/c9910929.lua
+0
-4
expansions/script/c9910931.lua
expansions/script/c9910931.lua
+0
-4
expansions/script/c9911003.lua
expansions/script/c9911003.lua
+0
-4
expansions/script/c9911005.lua
expansions/script/c9911005.lua
+0
-4
expansions/script/c9911204.lua
expansions/script/c9911204.lua
+0
-4
expansions/script/c9911208.lua
expansions/script/c9911208.lua
+0
-4
expansions/script/c9911367.lua
expansions/script/c9911367.lua
+8
-5
expansions/script/c9911383.lua
expansions/script/c9911383.lua
+6
-3
expansions/script/c9911555.lua
expansions/script/c9911555.lua
+4
-7
No files found.
expansions/script/c9910002.lua
View file @
aa99b049
...
...
@@ -81,7 +81,6 @@ function c9910002.thop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910002
.
thcon2
)
e1
:
SetOperation
(
c9910002
.
thop2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -90,9 +89,6 @@ end
function
c9910002
.
thfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
end
function
c9910002
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9910002
.
thfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
function
c9910002
.
thop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910002
,
4
))
then
Duel
.
Hint
(
HINT_CARD
,
0
,
9910002
)
...
...
expansions/script/c9910149.lua
View file @
aa99b049
...
...
@@ -35,15 +35,10 @@ function c9910149.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910149
.
thcon
)
e1
:
SetOperation
(
c9910149
.
thop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c9910149
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
ct
end
function
c9910149
.
tofifilter
(
c
)
return
c
:
IsSetCard
(
0x9958
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
...
...
@@ -64,6 +59,7 @@ end
function
c9910149
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910149
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
ct
then
return
end
Duel
.
ConfirmDecktop
(
tp
,
ct
)
local
dg
=
Duel
.
GetDecktopGroup
(
tp
,
ct
)
local
g
=
dg
:
Filter
(
c9910149
.
tofifilter
,
nil
)
...
...
expansions/script/c9910182.lua
View file @
aa99b049
...
...
@@ -87,7 +87,6 @@ function c9910182.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910182
.
spcon
)
e1
:
SetOperation
(
c9910182
.
spop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -97,9 +96,6 @@ function c9910182.spfilter(c,e,tp)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
end
function
c9910182
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9910182
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
function
c9910182
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910182
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
...
...
expansions/script/c9910184.lua
View file @
aa99b049
...
...
@@ -80,7 +80,6 @@ function c9910184.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910184
.
spcon
)
e1
:
SetOperation
(
c9910184
.
spop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -90,9 +89,6 @@ function c9910184.spfilter(c,e,tp)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
end
function
c9910184
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9910184
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
function
c9910184
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910184
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
...
...
expansions/script/c9910204.lua
View file @
aa99b049
...
...
@@ -43,7 +43,6 @@ function c9910204.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910204
.
thcon
)
e1
:
SetOperation
(
c9910204
.
thop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -51,9 +50,6 @@ end
function
c9910204
.
thfilter
(
c
)
return
c
:
IsRace
(
RACE_PSYCHO
)
and
c
:
IsAbleToHand
()
end
function
c9910204
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9910204
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
c9910204
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910204
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
expansions/script/c9910470.lua
View file @
aa99b049
...
...
@@ -146,8 +146,10 @@ function c9910470.retop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
IsExists
(
Card
.
IsAbleToHand
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910470
,
1
))
then
Duel
.
Hint
(
HINT_CARD
,
0
,
9910470
)
Duel
.
PayLPCost
(
tp
,
math.floor
(
Duel
.
GetLP
(
tp
)
/
2
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
FilterSelect
(
tp
,
Card
.
IsAbleToHand
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
g
:
DeleteGroup
()
e
:
Reset
()
...
...
expansions/script/c9910515.lua
View file @
aa99b049
...
...
@@ -65,6 +65,9 @@ function c9910515.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c9910515
.
setop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c9910515
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
end
function
c9910515
.
setfilter
(
c
,
e
,
tp
)
if
not
c
:
IsSetCard
(
0xa950
)
or
not
c
:
IsFaceupEx
()
then
return
false
end
if
c
:
IsType
(
TYPE_MONSTER
)
then
...
...
@@ -72,10 +75,6 @@ function c9910515.setfilter(c,e,tp)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
else
return
c
:
IsSSetable
()
end
end
function
c9910515
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
c9910515
.
setfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
function
c9910515
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910515
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
...
...
expansions/script/c9910540.lua
View file @
aa99b049
...
...
@@ -156,7 +156,7 @@ function c9910540.rlop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c9910540
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
c9910540
[
tp
]
>
0
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
return
c9910540
[
tp
]
>
0
end
function
c9910540
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910540
)
...
...
expansions/script/c9910561.lua
View file @
aa99b049
...
...
@@ -68,15 +68,11 @@ function c9910561.xmop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910561
.
thcon
)
e1
:
SetOperation
(
c9910561
.
thop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c9910561
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetOverlayCount
(
tp
,
1
,
0
)
>
0
end
function
c9910561
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910561
)
local
g
=
Duel
.
GetOverlayGroup
(
tp
,
1
,
0
)
...
...
expansions/script/c9910717.lua
View file @
aa99b049
...
...
@@ -119,20 +119,20 @@ function c9910717.activate2(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetCondition
(
c9910717
.
setcon
)
e1
:
SetOperation
(
c9910717
.
setop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c9910717
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
QutryYgzw
.
SetFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
)
end
function
c9910717
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910717
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
QutryYgzw
.
SetFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
e
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
if
ft
==
0
then
return
end
if
ft
>
3
then
ft
=
3
end
ct
=
math.min
(
ct
,
ft
,
3
)
if
ct
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
QutryYgzw
.
SetFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
ft
,
ft
,
nil
,
e
,
tp
)
if
sg
:
GetCount
()
>
0
then
QutryYgzw
.
Set2
(
sg
,
e
,
tp
)
end
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
QutryYgzw
.
SetFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
ct
,
ct
,
nil
,
e
,
tp
)
if
sg
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
sg
)
QutryYgzw
.
Set2
(
sg
,
e
,
tp
)
end
end
expansions/script/c9910862.lua
View file @
aa99b049
...
...
@@ -111,7 +111,6 @@ function c9910862.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910862
.
descon
)
e1
:
SetOperation
(
c9910862
.
desop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -141,9 +140,6 @@ function c9910862.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c9910862
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
function
c9910862
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910862
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
expansions/script/c9910923.lua
View file @
aa99b049
...
...
@@ -66,7 +66,6 @@ function c9910923.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910923
.
spcon
)
e1
:
SetOperation
(
c9910923
.
spop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -76,9 +75,6 @@ function c9910923.spfilter(c,e,tp)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
end
function
c9910923
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9910923
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
function
c9910923
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910923
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
...
...
expansions/script/c9910926.lua
View file @
aa99b049
...
...
@@ -79,7 +79,6 @@ function c9910926.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910926
.
spcon
)
e1
:
SetOperation
(
c9910926
.
spop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -89,9 +88,6 @@ function c9910926.spfilter(c,e,tp)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
end
function
c9910926
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9910926
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
function
c9910926
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910926
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
...
...
expansions/script/c9910929.lua
View file @
aa99b049
...
...
@@ -98,7 +98,6 @@ function c9910929.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910929
.
spcon
)
e1
:
SetOperation
(
c9910929
.
spop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -108,9 +107,6 @@ function c9910929.spfilter(c,e,tp)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
end
function
c9910929
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9910929
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
function
c9910929
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910929
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
...
...
expansions/script/c9910931.lua
View file @
aa99b049
...
...
@@ -75,7 +75,6 @@ function c9910931.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9910931
.
spcon
)
e1
:
SetOperation
(
c9910931
.
spop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -85,9 +84,6 @@ function c9910931.spfilter(c,e,tp)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
end
function
c9910931
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9910931
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
function
c9910931
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910931
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
...
...
expansions/script/c9911003.lua
View file @
aa99b049
...
...
@@ -103,7 +103,6 @@ function c9911003.attop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c9911003
.
thcon
)
e2
:
SetOperation
(
c9911003
.
thop
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
...
...
@@ -111,9 +110,6 @@ end
function
c9911003
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x6954
)
and
c
:
IsAbleToHand
()
end
function
c9911003
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
c9911003
.
thfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c9911003
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9911003
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
expansions/script/c9911005.lua
View file @
aa99b049
...
...
@@ -106,14 +106,10 @@ function c9911005.attop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c9911005
.
regcon
)
e2
:
SetOperation
(
c9911005
.
regop
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
c9911005
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
function
c9911005
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9911005
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
...
...
expansions/script/c9911204.lua
View file @
aa99b049
...
...
@@ -94,14 +94,10 @@ function c9911204.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9911204
.
descon
)
e1
:
SetOperation
(
c9911204
.
desop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c9911204
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c9911204
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9911204
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
expansions/script/c9911208.lua
View file @
aa99b049
...
...
@@ -91,14 +91,10 @@ function c9911208.setop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c9911208
.
descon
)
e1
:
SetOperation
(
c9911208
.
desop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c9911208
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c9911208
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9911208
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
expansions/script/c9911367.lua
View file @
aa99b049
...
...
@@ -159,23 +159,26 @@ function c9911367.seop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c9911367
.
thfilter
(
c
,
fid
)
return
c
:
GetFlagEffectLabel
(
9911369
)
==
fid
and
c
:
IsAbleToHand
()
function
c9911367
.
thfilter
1
(
c
,
fid
)
return
c
:
GetFlagEffectLabel
(
9911369
)
==
fid
end
function
c9911367
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
e
:
GetLabelObject
()
if
not
g
:
IsExists
(
aux
.
NecroValleyFilter
(
c9911367
.
thfilter
)
,
1
,
nil
,
e
:
GetLabel
())
then
if
not
g
:
IsExists
(
c9911367
.
thfilter1
,
1
,
nil
,
e
:
GetLabel
())
then
g
:
DeleteGroup
()
e
:
Reset
()
return
false
else
return
true
end
end
function
c9911367
.
thfilter2
(
c
,
fid
)
return
c
:
GetFlagEffectLabel
(
9911369
)
==
fid
and
c
:
IsAbleToHand
()
end
function
c9911367
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9911367
)
local
g
=
e
:
GetLabelObject
()
local
sg
=
g
:
Filter
(
aux
.
NecroValleyFilter
(
c9911367
.
thfilter
),
nil
,
e
:
GetLabel
())
local
sg
=
g
:
Filter
(
aux
.
NecroValleyFilter
(
c9911367
.
thfilter
2
),
nil
,
e
:
GetLabel
())
g
:
DeleteGroup
()
if
#
sg
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
9911367
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
end
end
expansions/script/c9911383.lua
View file @
aa99b049
...
...
@@ -114,7 +114,7 @@ function c9911383.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterFlagEffect
(
tp
,
9911384
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c9911383
.
tdfilter2
(
c
,
fid
)
return
c
:
GetFlagEffectLabel
(
9911383
)
==
fid
and
c
:
IsAbleToDeck
()
return
c
:
GetFlagEffectLabel
(
9911383
)
==
fid
end
function
c9911383
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
e
:
GetLabelObject
()
...
...
@@ -124,12 +124,15 @@ function c9911383.tdcon(e,tp,eg,ep,ev,re,r,rp)
return
false
else
return
true
end
end
function
c9911383
.
tdfilter3
(
c
,
fid
)
return
c
:
GetFlagEffectLabel
(
9911383
)
==
fid
and
c
:
IsAbleToDeck
()
end
function
c9911383
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9911383
)
local
g
=
e
:
GetLabelObject
()
local
sg
=
g
:
Filter
(
c9911383
.
tdfilter
2
,
nil
,
e
:
GetLabel
())
local
sg
=
g
:
Filter
(
c9911383
.
tdfilter
3
,
nil
,
e
:
GetLabel
())
g
:
DeleteGroup
()
if
#
sg
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
9911383
)
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c9911555.lua
View file @
aa99b049
...
...
@@ -83,16 +83,13 @@ end
function
c9911555
.
thfilter
(
c
)
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x6952
)
and
c
:
IsAbleToHand
()
end
function
c9911555
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c9911555
.
thfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
function
c9911555
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9911555
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c9911555
.
thfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
#
g
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c9911555
.
costfilter
(
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