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
43a27fbd
Commit
43a27fbd
authored
Apr 26, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bdc945e7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
34 deletions
+49
-34
expansions/script/c11636024.lua
expansions/script/c11636024.lua
+33
-19
expansions/script/c53703015.lua
expansions/script/c53703015.lua
+3
-3
expansions/script/c53796005.lua
expansions/script/c53796005.lua
+2
-1
expansions/script/c67200420.lua
expansions/script/c67200420.lua
+11
-11
No files found.
expansions/script/c11636024.lua
View file @
43a27fbd
...
@@ -25,25 +25,38 @@ end
...
@@ -25,25 +25,38 @@ end
function
s
.
filter
(
c
,
e
,
tp
)
function
s
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x6223
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x6223
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
ct
=
e
:
GetLabel
()
local
tc
=
Duel
.
GetFirstTarget
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
s
.
ovfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
tc
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
,
e
:
GetHandler
())
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
if
#
g
>
0
then
and
g
:
GetCount
()
>
0
and
Duel
.
CheckLPCost
(
tp
,
2000
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
local
tc
=
g
:
GetFirst
()
local
mg
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
s
.
ovfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
tc
,
e
)
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
#
mg
>
0
and
Duel
.
CheckLPCost
(
tp
,
2000
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
PayLPCost
(
tp
,
2000
)
Duel
.
PayLPCost
(
tp
,
2000
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
sg
=
g
:
Select
(
tp
,
2
,
2
,
nil
)
local
xg
=
mg
:
Select
(
tp
,
2
,
2
,
nil
)
Duel
.
Overlay
(
tc
,
sg
)
local
tc1
=
xg
:
GetFirst
()
while
tc1
do
tc1
:
CancelToGrave
()
local
og
=
tc1
:
GetOverlayGroup
()
if
#
og
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
end
tc1
=
xg
:
GetNext
()
end
Duel
.
Overlay
(
tc
,
xg
)
end
end
end
end
end
function
s
.
ovfilter
(
c
)
function
s
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanOverlay
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x3223
)
return
c
:
IsFaceup
()
and
c
:
IsCanOverlay
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x3223
)
end
end
...
@@ -53,14 +66,15 @@ end
...
@@ -53,14 +66,15 @@ end
function
s
.
posfilter2
(
c
)
function
s
.
posfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x223
)
and
c
:
IsCanChangePosition
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x223
)
and
c
:
IsCanChangePosition
()
end
end
function
s
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
posfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
s
.
posfilter
(
chkc
)
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
posfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
posfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_POSCHANGE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
posfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
1
,
0
,
0
)
end
end
function
s
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_POSCHANGE
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
posfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
~=
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
~=
0
then
local
tg
=
Duel
.
GetMatchingGroup
(
s
.
posfilter2
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
s
.
posfilter2
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
Duel
.
CheckLPCost
(
tp
,
1000
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
if
Duel
.
CheckLPCost
(
tp
,
1000
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
...
...
expansions/script/c53703015.lua
View file @
43a27fbd
...
@@ -66,13 +66,13 @@ function cm.aclimit(e,re,tp)
...
@@ -66,13 +66,13 @@ function cm.aclimit(e,re,tp)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
rc
:
IsLocation
(
LOCATION_GRAVE
)
and
rc
:
GetFlagEffect
(
m
)
>
0
return
rc
:
IsLocation
(
LOCATION_GRAVE
)
and
rc
:
GetFlagEffect
(
m
)
>
0
end
end
function
cm
.
cfilter
(
c
)
function
cm
.
c
ost
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
m
-
2
)
and
c
:
IsAbleToHandAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
m
-
2
)
and
c
:
IsAbleToHandAsCost
()
end
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
c
ost
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
c
ost
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_COST
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_COST
)
end
end
function
cm
.
actarget
(
e
,
te
,
tp
)
function
cm
.
actarget
(
e
,
te
,
tp
)
...
...
expansions/script/c53796005.lua
View file @
43a27fbd
...
@@ -41,7 +41,8 @@ function cm.aclimit(e,re,tp)
...
@@ -41,7 +41,8 @@ function cm.aclimit(e,re,tp)
return
re
:
GetCode
()
==
1100
or
re
:
GetCode
()
==
1101
or
re
:
GetCode
()
==
1102
return
re
:
GetCode
()
==
1100
or
re
:
GetCode
()
==
1101
or
re
:
GetCode
()
==
1102
end
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
function
(
c
)
return
c
:
GetFlagEffect
(
m
)
==
0
end
,
0
,
0xff
,
0xff
,
nil
)
local
sg
=
Group
.
__add
(
Duel
.
GetMatchingGroup
(
nil
,
0
,
0xff
,
0xff
,
nil
),
Duel
.
GetOverlayGroup
(
tp
,
1
,
1
))
local
g
=
sg
:
Filter
(
function
(
c
)
return
c
:
GetFlagEffect
(
m
)
==
0
end
,
nil
)
if
#
g
==
0
then
return
end
if
#
g
==
0
then
return
end
local
cp
=
{}
local
cp
=
{}
local
f
=
Card
.
RegisterEffect
local
f
=
Card
.
RegisterEffect
...
...
expansions/script/c67200420.lua
View file @
43a27fbd
...
@@ -21,9 +21,9 @@ function c67200420.initial_effect(c)
...
@@ -21,9 +21,9 @@ function c67200420.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EVENT_TO_HAND
)
e2
:
SetCode
(
EVENT_TO_HAND
)
e2
:
SetCondition
(
c672004
0
0
.
ctcon
)
e2
:
SetCondition
(
c672004
2
0
.
ctcon
)
--e2:SetTarget(c672004
0
0.cttg)
--e2:SetTarget(c672004
2
0.cttg)
e2
:
SetOperation
(
c672004
0
0
.
ctop
)
e2
:
SetOperation
(
c672004
2
0
.
ctop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--pendulum scale up
--pendulum scale up
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -31,7 +31,7 @@ function c67200420.initial_effect(c)
...
@@ -31,7 +31,7 @@ function c67200420.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetCode
(
EFFECT_UPDATE_LSCALE
)
e3
:
SetCode
(
EFFECT_UPDATE_LSCALE
)
e3
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetValue
(
c672004
0
0
.
scaledown
)
e3
:
SetValue
(
c672004
2
0
.
scaledown
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_UPDATE_RSCALE
)
e4
:
SetCode
(
EFFECT_UPDATE_RSCALE
)
...
@@ -62,21 +62,21 @@ function c67200420.pcop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,21 +62,21 @@ function c67200420.pcop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
--
--
function
c672004
0
0
.
ctfilter
(
c
,
tp
)
function
c672004
2
0
.
ctfilter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousControler
(
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsPreviousSetCard
(
0x5671
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsPreviousSetCard
(
0x5671
)
end
end
function
c672004
0
0
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c672004
2
0
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c672004
0
0
.
ctfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c672004
2
0
.
ctfilter
,
1
,
nil
,
tp
)
end
end
function
c672004
0
0
.
actfilter
(
c
)
function
c672004
2
0
.
actfilter
(
c
)
return
c
:
IsSetCard
(
0x3671
)
and
not
c
:
IsForbidden
()
return
c
:
IsSetCard
(
0x3671
)
and
not
c
:
IsForbidden
()
end
end
function
c672004
0
0
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c672004
2
0
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
e
:
GetHandler
():
AddCounter
(
0x671
,
2
)
e
:
GetHandler
():
AddCounter
(
0x671
,
2
)
if
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
c
:
GetCounter
(
0x671
)
>
5
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
))
and
c
:
IsAbleToHand
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
672004
0
0
,
2
))
then
if
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
c
:
GetCounter
(
0x671
)
>
5
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
))
and
c
:
IsAbleToHand
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
672004
2
0
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
if
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
~=
0
then
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
...
@@ -84,7 +84,7 @@ function c67200400.ctop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,7 +84,7 @@ function c67200400.ctop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
--
--
function
c672004
0
0
.
scaledown
(
e
,
c
)
function
c672004
2
0
.
scaledown
(
e
,
c
)
local
count
=
c
:
GetCounter
(
0x671
)
local
count
=
c
:
GetCounter
(
0x671
)
local
a
=
0
local
a
=
0
if
count
>
6
then
if
count
>
6
then
...
...
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