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
e446781e
Commit
e446781e
authored
Feb 18, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cf2b8c63
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
38 additions
and
26 deletions
+38
-26
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/script/c106556909.lua
expansions/script/c106556909.lua
+1
-3
expansions/script/c22020960.lua
expansions/script/c22020960.lua
+4
-4
expansions/script/c28315944.lua
expansions/script/c28315944.lua
+1
-1
expansions/script/c28316347.lua
expansions/script/c28316347.lua
+1
-1
expansions/script/c3679215.lua
expansions/script/c3679215.lua
+18
-9
expansions/script/c53750014.lua
expansions/script/c53750014.lua
+3
-3
expansions/script/c65010517.lua
expansions/script/c65010517.lua
+6
-1
expansions/script/c7497718.lua
expansions/script/c7497718.lua
+2
-2
expansions/script/c7497723.lua
expansions/script/c7497723.lua
+1
-1
expansions/script/c7497728.lua
expansions/script/c7497728.lua
+1
-1
No files found.
expansions/no81.cdb
View file @
e446781e
No preview for this file type
expansions/script/c106556909.lua
View file @
e446781e
...
...
@@ -36,9 +36,7 @@ function s.cpcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
s
.
costfilter
(
c
)
if
not
(
s
.
listfilter
(
c
)
and
bit
.
band
(
c
:
GetType
(),
0x82
)
==
c
:
GetType
()
and
c
:
IsAbleToGraveAsCost
())
then
return
end
local
ae
=
c
:
CheckActivateEffect
(
true
,
true
,
false
)
return
ae
and
(
not
ae
:
IsHasCategory
(
CATEGORY_SPECIAL_SUMMON
)
or
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
2
))
if
not
(
s
.
listfilter
(
c
)
and
bit
.
band
(
c
:
GetType
(),
0x82
)
==
c
:
GetType
()
and
c
:
IsAbleToGraveAsCost
())
and
c
:
CheckActivateEffect
(
true
,
true
,
false
)
end
end
function
s
.
cpcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
costfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c22020960.lua
View file @
e446781e
...
...
@@ -11,7 +11,7 @@ function c22020960.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCode
(
EFFECT_SELF_DESTROY
)
e2
:
SetCondition
(
c22020960
.
des
con
)
e2
:
SetCondition
(
c22020960
.
sd
con
)
c
:
RegisterEffect
(
e2
)
--activate from hand
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -25,9 +25,9 @@ function c22020960.initial_effect(c)
e4
:
SetCode
(
EFFECT_TRAP_ACT_IN_HAND
)
c
:
RegisterEffect
(
e4
)
end
function
c22020960
.
filter
(
c
)
function
c22020960
.
sd
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xff1
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
end
function
c22020960
.
des
con
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c22020960
.
filter
,
0
,
LOCATION_MZONE
,
0
,
1
,
nil
)
function
c22020960
.
sd
con
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c22020960
.
sdfilter
,
e
:
GetHandlerPlayer
()
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
\ No newline at end of file
expansions/script/c28315944.lua
View file @
e446781e
...
...
@@ -26,7 +26,7 @@ function c28315944.sprcon(e,c)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetLP
(
tp
)
>
8000
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsFaceup
,
Card
.
IsAttribute
),
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
ATTRIBUTE_EARTH
))
end
function
c28315944
.
gsp
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c28315944
.
spr
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
if
c
:
IsLocation
(
LOCATION_HAND
)
then
return
end
local
lp
=
Duel
.
GetLP
(
tp
)
Duel
.
SetLP
(
tp
,
lp
-
2000
)
...
...
expansions/script/c28316347.lua
View file @
e446781e
...
...
@@ -26,7 +26,7 @@ function c28316347.sprcon(e,c)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetLP
(
tp
)
>
8000
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsFaceup
,
Card
.
IsAttribute
),
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
ATTRIBUTE_EARTH
))
end
function
c28316347
.
gsp
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c28316347
.
spr
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
if
c
:
IsLocation
(
LOCATION_HAND
)
then
return
end
local
lp
=
Duel
.
GetLP
(
tp
)
Duel
.
SetLP
(
tp
,
lp
-
2000
)
...
...
expansions/script/c3679215.lua
View file @
e446781e
...
...
@@ -78,18 +78,26 @@ function c3679215.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
c3679215
.
filter
,
0
,
0xff
,
0xff
,
nil
)
cregister
=
Card
.
RegisterEffect
esetrange
=
Effect
.
SetRange
table_effect
=
{}
table_range
=
{}
eclone
=
Effect
.
Clone
Naturia_table_effect
=
{}
Naturia_table_range
=
{}
Effect
.
SetRange
=
function
(
effect
,
range
)
table_range
[
effect
]
=
range
Naturia_
table_range
[
effect
]
=
range
return
esetrange
(
effect
,
range
)
end
end
c3679215
.
GetRange
=
function
(
effect
)
if
table_range
[
effect
]
then
return
table_range
[
effect
]
if
Naturia_
table_range
[
effect
]
then
return
Naturia_
table_range
[
effect
]
end
return
nil
end
Effect
.
Clone
=
function
(
effect
)
local
clone_effect
=
eclone
(
effect
)
if
c3679215
.
GetRange
(
effect
)
then
Naturia_table_range
[
clone_effect
]
=
c3679215
.
GetRange
(
effect
)
end
return
clone_effect
end
--for i,f in pairs(Effect) do Debug.Message(i) end
Card
.
RegisterEffect
=
function
(
card
,
effect
,
flag
)
if
effect
then
...
...
@@ -98,20 +106,21 @@ function c3679215.adjustop(e,tp,eg,ep,ev,re,r,rp)
eff
:
SetValue
(
3679215
)
esetrange
(
eff
,
LOCATION_HAND
+
LOCATION_MZONE
)
end
table.insert
(
table_effect
,
eff
)
table.insert
(
Naturia_
table_effect
,
eff
)
end
return
end
for
tc
in
aux
.
Next
(
g
)
do
table_effect
=
{}
Naturia_
table_effect
=
{}
tc
:
ReplaceEffect
(
3679215
,
0
)
Duel
.
CreateToken
(
0
,
tc
:
GetOriginalCode
())
for
key
,
eff
in
ipairs
(
table_effect
)
do
for
key
,
eff
in
ipairs
(
Naturia_
table_effect
)
do
cregister
(
tc
,
eff
)
end
end
Card
.
RegisterEffect
=
cregister
Effect
.
SetRange
=
esetrange
Effect
.
Clone
=
eclone
end
e
:
Reset
()
end
expansions/script/c53750014.lua
View file @
e446781e
...
...
@@ -137,9 +137,9 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
if
#
g
==
0
then
return
end
local
sg
=
Group
.
FromCards
()
if
e
:
GetLabel
()
==
4
then
sg
=
e
:
GetLabelObject
()
else
sg
=
e
:
GetLabelObject
():
GetLabelObject
()
end
if
c
:
GetFlagEffect
(
m
)
==
0
then
if
c
:
GetFlagEffect
(
m
+
99
)
==
0
then
sg
:
Clear
()
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
m
+
99
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
@@ -157,7 +157,7 @@ function cm.mtfilter(c,rc)
end
function
cm
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetOwner
()
if
c
:
GetFlagEffect
(
m
)
==
0
then
return
end
if
c
:
GetFlagEffect
(
m
+
99
)
==
0
then
return
end
local
g
=
e
:
GetLabelObject
():
GetLabelObject
():
Filter
(
cm
.
mtfilter
,
nil
,
c
)
if
#
g
>
0
then
Duel
.
Overlay
(
c
,
g
)
end
end
expansions/script/c65010517.lua
View file @
e446781e
...
...
@@ -71,6 +71,7 @@ function c65010517.op(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetTargetRange
(
0
,
1
)
e2
:
SetLabelObject
(
c
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetCondition
(
c65010517
.
costcon
)
e2
:
SetCost
(
c65010517
.
costchk
)
e2
:
SetOperation
(
c65010517
.
costop
)
Duel
.
RegisterEffect
(
e2
,
tp
)
...
...
@@ -83,11 +84,15 @@ function c65010517.op(e,tp,eg,ep,ev,re,r,rp)
e7
:
SetTargetRange
(
0
,
1
)
Duel
.
RegisterEffect
(
e7
,
tp
)
end
function
c65010517
.
costcon
(
e
)
local
tc
=
e
:
GetLabelObject
()
return
tc
:
GetFlagEffect
(
65010517
)
~=
0
and
tc
:
IsLocation
(
LOCATION_MZONE
)
end
function
c65010517
.
costchk
(
e
,
te_or_c
,
tp
)
local
tc
=
e
:
GetLabelObject
()
local
ct
=
Duel
.
GetFlagEffect
(
tp
,
65010517
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ct
*
4
)
return
g
:
FilterCount
(
Card
.
IsAbleToRemoveAsCost
,
nil
)
==
ct
*
4
and
tc
:
GetFlagEffect
(
65010517
)
~=
0
and
tc
:
IsLocation
(
LOCATION_MZONE
)
return
g
:
FilterCount
(
Card
.
IsAbleToRemoveAsCost
,
nil
)
==
ct
*
4
end
function
c65010517
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
65010517
)
...
...
expansions/script/c7497718.lua
View file @
e446781e
...
...
@@ -58,8 +58,8 @@ function s.actarget(e,te,tp)
end
function
s
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--
if
not
s
.
globle_check
then
s
.
globle_check
=
true
if
not
s
.
globle_
effect_
check
then
s
.
globle_
effect_
check
=
true
local
g
=
Duel
.
GetMatchingGroup
(
s
.
filter
,
0
,
0xff
,
0xff
,
nil
)
cregister
=
Card
.
RegisterEffect
esetrange
=
Effect
.
SetRange
...
...
expansions/script/c7497723.lua
View file @
e446781e
...
...
@@ -183,5 +183,5 @@ function s.thfilter1(c,att)
return
c
:
IsSetCard
(
0x400d
)
and
c
:
GetAttribute
()
==
att
and
c
:
IsAbleToHand
()
end
function
s
.
tgfilter
(
c
,
att
)
return
c
:
IsSetCard
(
0x113
)
and
c
:
GetAttribute
()
==
att
and
c
:
IsAbleToHand
()
return
c
:
GetAttribute
()
==
att
and
c
:
IsAbleToGrave
()
end
expansions/script/c7497728.lua
View file @
e446781e
...
...
@@ -173,7 +173,7 @@ end
function
s
.
setfilter
(
c
,
e
,
tp
,
ec
)
local
rc
=
c
:
GetReasonCard
()
local
re
=
c
:
GetReasonEffect
()
return
((
rc
and
rc
==
ec
)
or
(
re
and
re
:
GetHandler
()
==
ec
))
and
((
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
+
POS_FACEDOWN_DEFENSE
,
1
-
tp
))
or
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
(
c
:
IsType
(
TYPE_FIELD
)
or
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
)
>
0
)
return
((
rc
and
rc
==
ec
)
or
(
re
and
re
:
GetHandler
()
==
ec
))
and
((
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
+
POS_FACEDOWN_DEFENSE
,
tp
))
or
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
(
c
:
IsType
(
TYPE_FIELD
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
and
c
:
IsSSetable
(
true
)))
end
function
s
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
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