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
eb646372
Commit
eb646372
authored
Feb 07, 2026
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8f0c1e77
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
18 deletions
+23
-18
expansions/script/c12847026.lua
expansions/script/c12847026.lua
+10
-8
expansions/script/c12847200.lua
expansions/script/c12847200.lua
+13
-10
No files found.
expansions/script/c12847026.lua
View file @
eb646372
...
...
@@ -33,21 +33,23 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e4
,
tp
)
end
function
s
.
costtg
(
e
,
te
,
tp
)
e
:
SetLabelObject
(
te
:
GetHandler
())
e
:
SetLabelObject
(
te
)
local
tc
=
te
:
GetHandler
()
local
typ
=
tc
:
GetType
()
&
0x7
e
:
SetLabel
(
typ
)
return
true
end
function
s
.
costchk
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
t
c
=
e
:
GetLabelObject
()
local
typ
=
tc
:
GetType
()
&
0x7
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
t
p
,
LOCATION_HAND
,
0
,
1
,
tc
,
typ
)
local
t
e
=
e
:
GetLabelObject
()
local
typ
=
e
:
GetLabel
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
t
e
:
GetHandlerPlayer
(),
LOCATION_HAND
,
0
,
1
,
te
:
GetHandler
()
,
typ
)
end
function
s
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ctype
=
0
local
tc
=
e
:
GetLabelObject
()
local
typ
=
tc
:
GetType
()
&
0x7
local
te
=
e
:
GetLabelObject
()
local
typ
=
e
:
GetLabel
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
t
p
,
LOCATION_HAND
,
0
,
1
,
1
,
tc
,
typ
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
t
e
:
GetHandlerPlayer
(),
LOCATION_HAND
,
0
,
1
,
1
,
te
:
GetHandler
()
,
typ
)
if
#
g
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
...
...
expansions/script/c12847200.lua
View file @
eb646372
...
...
@@ -149,7 +149,12 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
local
op
=
aux
.
SelectFromOptions
(
tp
,{
true
,
aux
.
Stringid
(
id
,
7
)},{
res
,
aux
.
Stringid
(
id
,
8
)})
if
op
==
1
then
Duel
.
Draw
(
tp
,
1
,
REASON_RULE
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
local
ec
=
g
:
GetFirst
()
local
code
=
ec
:
GetOriginalCode
()
Duel
.
Exile
(
ec
,
REASON_RULE
)
local
token
=
Duel
.
CreateToken
(
tp
,
code
)
Duel
.
SendtoHand
(
token
,
nil
,
REASON_RULE
)
elseif
op
==
2
then
local
sg2
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
#
sg2
>
0
then
...
...
@@ -245,22 +250,20 @@ function s.adop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_OPSELECTED
,
0
,
aux
.
Stringid
(
id
,
11
))
local
check
=
false
local
res
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
>
0
if
res
and
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
13
))
then
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_RULE
,
nil
)
>
0
then
check
=
true
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
if
res
and
not
(
Duel
.
IsExistingMatchingCard
(
s
.
cfilter4
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
13
)))
then
check
=
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
if
not
check
then
local
cg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter4
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
#
cg
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
ShuffleHand
(
tp
)
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_RULE
,
nil
)
>
0
then
check
=
true
end
check
=
true
end
end
if
check
then
Duel
.
DiscardHand
(
tp
,
nil
,
1
,
1
,
REASON_RULE
,
nil
)
local
token1
=
Duel
.
CreateToken
(
tp
,
1784686
)
Duel
.
SendtoHand
(
token1
,
nil
,
REASON_RULE
)
Duel
.
ConfirmCards
(
1
-
tp
,
token1
)
...
...
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