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
b86f761f
Commit
b86f761f
authored
Jul 08, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6ee20af4
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
114 additions
and
6 deletions
+114
-6
expansions/script/c11525804.lua
expansions/script/c11525804.lua
+107
-0
expansions/script/c21100900.lua
expansions/script/c21100900.lua
+1
-1
expansions/script/c21100905.lua
expansions/script/c21100905.lua
+1
-1
expansions/script/c21100910.lua
expansions/script/c21100910.lua
+1
-1
expansions/script/c21100915.lua
expansions/script/c21100915.lua
+1
-1
expansions/script/c21100920.lua
expansions/script/c21100920.lua
+1
-1
expansions/script/c21100925.lua
expansions/script/c21100925.lua
+1
-1
expansions/script/c28346765.lua
expansions/script/c28346765.lua
+1
-0
No files found.
expansions/script/c11525804.lua
0 → 100644
View file @
b86f761f
--异响鸣的孤奏
function
c11525804
.
initial_effect
(
c
)
--act in hand
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetCode
(
EFFECT_TRAP_ACT_IN_HAND
)
e0
:
SetCondition
(
c11525804
.
handcon
)
c
:
RegisterEffect
(
e0
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_RECOVER
+
CATEGORY_REMOVE
+
CATEGORY_DAMAGE
+
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetCountLimit
(
1
,
11535804
)
e1
:
SetCondition
(
c11525804
.
condition
)
e1
:
SetOperation
(
c11525804
.
activate
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e2
:
SetCountLimit
(
1
,
11545804
)
e2
:
SetCost
(
c11525804
.
cpcost
)
e2
:
SetTarget
(
c11525804
.
cptg
)
e2
:
SetOperation
(
c11525804
.
cpop
)
c
:
RegisterEffect
(
e2
)
end
function
c11525804
.
hcfilter
(
c
)
return
c
:
IsSetCard
(
0x1a3
)
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsFaceup
()
end
function
c11525804
.
handcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c11525804
.
hcfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c11525804
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1a3
)
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
end
function
c11525804
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c11525804
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c11525804
.
rmfilter
(
c
)
return
c
:
IsAbleToRemove
()
and
c
:
IsSetCard
(
0x1a3
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c11525804
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
op
)
if
op
==
nil
and
not
c11525804
.
condition
(
e
,
tp
)
then
return
end
local
c
=
e
:
GetHandler
()
if
op
==
nil
then
op
=
aux
.
SelectFromOptions
(
tp
,
{
true
,
aux
.
Stringid
(
11525803
,
0
)},
{
true
,
aux
.
Stringid
(
11525803
,
1
)})
end
if
op
&
1
>
0
and
Duel
.
Recover
(
tp
,
500
,
REASON_EFFECT
)
>
0
then
if
Duel
.
IsExistingMatchingCard
(
c11525804
.
rmfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
11525804
,
2
)
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rc
=
Duel
.
SelectMatchingCard
(
tp
,
c11525804
.
rmfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
if
op
&
2
>
0
and
Duel
.
Damage
(
tp
,
500
,
REASON_EFFECT
)
>
0
then
if
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x6a
,
1
,
REASON_EFFECT
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
(),
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
then
local
ct
=
Duel
.
GetCounter
(
tp
,
LOCATION_ONFIELD
,
0
,
0x6a
)
local
gc
=
3
if
ct
>
0
and
ct
<
3
then
gc
=
ct
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
(),
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
gc
,
nil
)
local
tgc
=
tg
:
GetCount
()
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x6a
,
tgc
,
REASON_EFFECT
)
Duel
.
HintSelection
(
tg
)
Duel
.
SendtoGrave
(
tg
,
REASON_EFFECT
)
end
end
end
function
c11525804
.
cpcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
function
c11525804
.
cpfilter
(
c
)
return
c
:
IsSetCard
(
0x1a3
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
CheckActivateEffect
(
false
,
true
,
false
)
~=
nil
end
function
c11525804
.
cptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
e
:
GetLabel
()
==
0
then
return
false
end
e
:
SetLabel
(
0
)
return
Duel
.
IsExistingMatchingCard
(
c11525804
.
cpfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
e
:
GetHandler
())
end
e
:
SetLabel
(
0
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SELECT
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c11525804
.
cpfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
HintSelection
(
g
)
local
te
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
=
g
:
GetFirst
():
CheckActivateEffect
(
false
,
true
,
true
)
local
tg
=
te
:
GetTarget
()
if
tg
then
tg
(
e
,
tp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
,
1
)
end
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
Duel
.
ClearOperationInfo
(
0
)
end
function
c11525804
.
cpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
if
te
then
e
:
SetLabelObject
(
te
:
GetLabelObject
())
local
op
=
te
:
GetOperation
()
if
op
then
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
end
\ No newline at end of file
expansions/script/c21100900.lua
View file @
b86f761f
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
e5
:
SetOperation
(
cm
.
op5
)
e5
:
SetOperation
(
cm
.
op5
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
if
not
_globetrot_
then
if
not
_globetrot_
then
_globetrot
=
true
_globetrot
_
=
true
_globetrot_limit
=
{
1
,
1
}
_globetrot_limit
=
{
1
,
1
}
local
ce1
=
Effect
.
CreateEffect
(
c
)
local
ce1
=
Effect
.
CreateEffect
(
c
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c21100905.lua
View file @
b86f761f
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
e5
:
SetOperation
(
cm
.
op5
)
e5
:
SetOperation
(
cm
.
op5
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
if
not
_globetrot_
then
if
not
_globetrot_
then
_globetrot
=
true
_globetrot
_
=
true
_globetrot_limit
=
{
1
,
1
}
_globetrot_limit
=
{
1
,
1
}
local
ce1
=
Effect
.
CreateEffect
(
c
)
local
ce1
=
Effect
.
CreateEffect
(
c
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c21100910.lua
View file @
b86f761f
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
e5
:
SetOperation
(
cm
.
op5
)
e5
:
SetOperation
(
cm
.
op5
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
if
not
_globetrot_
then
if
not
_globetrot_
then
_globetrot
=
true
_globetrot
_
=
true
_globetrot_limit
=
{
1
,
1
}
_globetrot_limit
=
{
1
,
1
}
local
ce1
=
Effect
.
CreateEffect
(
c
)
local
ce1
=
Effect
.
CreateEffect
(
c
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c21100915.lua
View file @
b86f761f
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
e5
:
SetOperation
(
cm
.
op5
)
e5
:
SetOperation
(
cm
.
op5
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
if
not
_globetrot_
then
if
not
_globetrot_
then
_globetrot
=
true
_globetrot
_
=
true
_globetrot_limit
=
{
1
,
1
}
_globetrot_limit
=
{
1
,
1
}
local
ce1
=
Effect
.
CreateEffect
(
c
)
local
ce1
=
Effect
.
CreateEffect
(
c
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c21100920.lua
View file @
b86f761f
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
e5
:
SetOperation
(
cm
.
op5
)
e5
:
SetOperation
(
cm
.
op5
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
if
not
_globetrot_
then
if
not
_globetrot_
then
_globetrot
=
true
_globetrot
_
=
true
_globetrot_limit
=
{
1
,
1
}
_globetrot_limit
=
{
1
,
1
}
local
ce1
=
Effect
.
CreateEffect
(
c
)
local
ce1
=
Effect
.
CreateEffect
(
c
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c21100925.lua
View file @
b86f761f
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
e5
:
SetOperation
(
cm
.
op5
)
e5
:
SetOperation
(
cm
.
op5
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
if
not
_globetrot_
then
if
not
_globetrot_
then
_globetrot
=
true
_globetrot
_
=
true
_globetrot_limit
=
{
1
,
1
}
_globetrot_limit
=
{
1
,
1
}
local
ce1
=
Effect
.
CreateEffect
(
c
)
local
ce1
=
Effect
.
CreateEffect
(
c
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
ce1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c28346765.lua
View file @
b86f761f
...
@@ -40,6 +40,7 @@ function c28346765.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -40,6 +40,7 @@ function c28346765.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28346765
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28346765
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c28346765
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c28346765
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
)
end
end
function
c28346765
.
setfilter
(
c
)
function
c28346765
.
setfilter
(
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