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
e3421242
Commit
e3421242
authored
Jan 05, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3ca9035a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
24 deletions
+42
-24
expansions/script/c11451868.lua
expansions/script/c11451868.lua
+1
-1
expansions/script/c11451906.lua
expansions/script/c11451906.lua
+3
-2
expansions/script/c11451909.lua
expansions/script/c11451909.lua
+3
-3
expansions/script/c33400107.lua
expansions/script/c33400107.lua
+8
-8
expansions/script/c65810095.lua
expansions/script/c65810095.lua
+1
-0
expansions/script/c98941050.lua
expansions/script/c98941050.lua
+26
-10
No files found.
expansions/script/c11451868.lua
View file @
e3421242
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetCode
(
EFFECT_TRAP_ACT_IN_HAND
)
e0
:
SetCode
(
EFFECT_TRAP_ACT_IN_HAND
)
e0
:
SetCondition
(
cm
.
hand
)
e0
:
SetCondition
(
cm
.
hand
)
e
3
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e
0
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
--activate
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c11451906.lua
View file @
e3421242
...
@@ -242,6 +242,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -242,6 +242,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
aux
.
ExceptThisCard
(
e
))
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
aux
.
ExceptThisCard
(
e
))
if
#
g
>
0
then
if
#
g
>
0
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
sg
=
g
:
Clone
()
for
tc
in
aux
.
Next
(
g
)
do
for
tc
in
aux
.
Next
(
g
)
do
if
tc
:
IsCanBeDisabledByEffect
(
e
)
then
if
tc
:
IsCanBeDisabledByEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
@@ -252,10 +253,10 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -252,10 +253,10 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
AdjustInstantly
()
Duel
.
AdjustInstantly
()
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
else
else
g
:
RemoveCard
(
tc
)
s
g
:
RemoveCard
(
tc
)
end
end
end
end
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
s
g
,
REASON_EFFECT
)
end
end
end
end
function
cm
.
spcfilter
(
c
,
e
,
tp
)
function
cm
.
spcfilter
(
c
,
e
,
tp
)
...
...
expansions/script/c11451909.lua
View file @
e3421242
...
@@ -116,14 +116,14 @@ function cm.spfilter(c,e,tp)
...
@@ -116,14 +116,14 @@ function cm.spfilter(c,e,tp)
end
end
function
cm
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
eg
:
IsExists
(
cm
.
repfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
not
pnfl_desreplace
and
eg
:
IsExists
(
cm
.
repfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
return
true
return
true
end
end
function
cm
.
repval
(
e
,
c
)
function
cm
.
repval
(
e
,
c
)
return
cm
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
return
cm
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
end
end
function
cm
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
pnfl_
adjusting
=
true
pnfl_
desreplace
=
true
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
@@ -136,7 +136,7 @@ function cm.repop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -136,7 +136,7 @@ function cm.repop(e,tp,eg,ep,ev,re,r,rp)
local
op
=
turne
:
GetOperation
()
local
op
=
turne
:
GetOperation
()
op
(
turne
,
turne
:
GetOwnerPlayer
(),
nil
,
0
,
0
,
0
,
0
,
0
)
op
(
turne
,
turne
:
GetOwnerPlayer
(),
nil
,
0
,
0
,
0
,
0
,
0
)
end
end
pnfl_
adjusting
=
false
pnfl_
desreplace
=
false
end
end
function
cm
.
confilter
(
c
)
function
cm
.
confilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xc976
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xc976
)
...
...
expansions/script/c33400107.lua
View file @
e3421242
...
@@ -3,8 +3,8 @@ function c33400107.initial_effect(c)
...
@@ -3,8 +3,8 @@ function c33400107.initial_effect(c)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
--e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1
:
SetCountLimit
(
1
,
33400107
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
33400107
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetLabel
(
2
)
e1
:
SetLabel
(
2
)
e1
:
SetCost
(
c33400107
.
cost
)
e1
:
SetCost
(
c33400107
.
cost
)
...
@@ -19,18 +19,18 @@ function c33400107.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -19,18 +19,18 @@ function c33400107.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
end
function
c33400107
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c33400107
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExisting
Target
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExisting
MatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
c
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
end
end
function
c33400107
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33400107
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ac
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
aux
.
ExceptThisCard
(
e
)):
GetFirst
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
if
Duel
.
IsExistingMatchingCard
(
c33400107
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
3
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33400107
,
0
))
then
if
Duel
.
IsExistingMatchingCard
(
c33400107
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
3
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33400107
,
0
))
then
Duel
.
BreakEffect
()
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c65810095.lua
View file @
e3421242
...
@@ -40,6 +40,7 @@ function c65810095.spcon(e,c)
...
@@ -40,6 +40,7 @@ function c65810095.spcon(e,c)
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
end
function
c65810095
.
spop
(
e
,
c
)
function
c65810095
.
spop
(
e
,
c
)
local
tp
=
e
:
GetHandlerPlayer
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
expansions/script/c98941050.lua
View file @
e3421242
...
@@ -191,6 +191,10 @@ function c98941050.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -191,6 +191,10 @@ function c98941050.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rg
=
Duel
.
SelectMatchingCard
(
tp
,
c98941050
.
fcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
ct
,
nil
)
local
rg
=
Duel
.
SelectMatchingCard
(
tp
,
c98941050
.
fcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
ct
,
nil
)
if
Duel
.
Remove
(
rg
,
0
,
REASON_COST
+
REASON_TEMPORARY
)
~=
0
then
if
Duel
.
Remove
(
rg
,
0
,
REASON_COST
+
REASON_TEMPORARY
)
~=
0
then
rg
:
KeepAlive
()
for
tc
in
aux
.
Next
(
rg
)
do
tc
:
RegisterFlagEffect
(
98941050
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
@@ -204,17 +208,29 @@ function c98941050.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -204,17 +208,29 @@ function c98941050.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
rc
)
e
:
SetLabel
(
rc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
rc
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
rc
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
)
end
end
function
c98941050
.
retfilter
(
c
,
tp
)
return
c
:
GetFlagEffect
(
98941050
)
~=
0
and
(
not
tp
or
c
:
IsControler
(
tp
))
end
function
c98941050
.
returngroup
(
g
,
tp
)
if
#
g
==
0
then
return
end
local
c
while
#
g
>
1
and
Duel
.
GetMZoneCount
(
tp
)
>
0
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
c
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
ReturnToField
(
c
)
g
=
g
-
c
end
for
oc
in
aux
.
Next
(
g
)
do
Duel
.
ReturnToField
(
oc
)
end
end
function
c98941050
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98941050
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
turnp
=
Duel
.
GetTurnPlayer
()
local
fid
=
e
:
GetLabel
()
local
g1
=
e
:
GetLabelObject
():
Filter
(
c98941050
.
retfilter
,
nil
,
turnp
)
local
g
=
e
:
GetLabelObject
()
local
g2
=
e
:
GetLabelObject
():
Filter
(
c98941050
.
retfilter
,
nil
,
1
-
turnp
)
if
g
then
if
#
g1
+#
g2
==
0
then
return
end
local
tc
=
g
:
GetFirst
()
c98941050
.
returngroup
(
g1
,
turnp
)
while
tc
do
c98941050
.
returngroup
(
g2
,
1
-
turnp
)
Duel
.
ReturnToField
(
tc
)
tc
=
g
:
GetNext
()
end
end
end
end
function
c98941050
.
gcheck
(
g
)
function
c98941050
.
gcheck
(
g
)
return
g
:
FilterCount
(
Card
.
IsSetCard
,
nil
,
0x2b
)
<
2
and
g
:
FilterCount
(
Card
.
IsSetCard
,
nil
,
0x61
)
<
2
return
g
:
FilterCount
(
Card
.
IsSetCard
,
nil
,
0x2b
)
<
2
and
g
:
FilterCount
(
Card
.
IsSetCard
,
nil
,
0x61
)
<
2
...
...
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