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
8ee02b20
Commit
8ee02b20
authored
Jan 11, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2be1e9df
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
16 deletions
+21
-16
expansions/script/c10105660.lua
expansions/script/c10105660.lua
+4
-3
expansions/script/c11451803.lua
expansions/script/c11451803.lua
+8
-4
expansions/script/c12866725.lua
expansions/script/c12866725.lua
+2
-2
expansions/script/c15000258.lua
expansions/script/c15000258.lua
+0
-1
expansions/script/c22348442.lua
expansions/script/c22348442.lua
+2
-1
expansions/script/c93050105.lua
expansions/script/c93050105.lua
+5
-5
No files found.
expansions/script/c10105660.lua
View file @
8ee02b20
...
@@ -61,7 +61,8 @@ function c10105660.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +61,8 @@ function c10105660.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
+
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetLabelObject
(
c
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c10105660
.
eqlimit
)
e1
:
SetValue
(
c10105660
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
expansions/script/c11451803.lua
View file @
8ee02b20
...
@@ -133,8 +133,10 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -133,8 +133,10 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
return
_GetActiveType
(
se
)
return
_GetActiveType
(
se
)
end
end
function
Effect
.
IsActiveType
(
se
,
typ
)
function
Effect
.
IsActiveType
(
se
,
typ
)
local
typ2
=
se
:
GetActiveType
()
if
se
==
te
then
return
typ
&
typ2
~=
0
return
TYPE_MONSTER
&
typ
>
0
end
return
_IsActiveType
(
se
,
typ
)
end
end
function
Card
.
GetType
(
sc
)
function
Card
.
GetType
(
sc
)
if
sc
==
e
:
GetHandler
()
then
if
sc
==
e
:
GetHandler
()
then
...
@@ -143,8 +145,10 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -143,8 +145,10 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
return
_GetType
(
sc
)
return
_GetType
(
sc
)
end
end
function
Card
.
IsType
(
sc
,
typ
)
function
Card
.
IsType
(
sc
,
typ
)
local
typ2
=
sc
:
GetType
()
if
sc
==
e
:
GetHandler
()
then
return
typ
&
typ2
~=
0
return
typ
&
(
TYPE_MONSTER
+
TYPE_EFFECT
)
>
0
end
return
_IsType
(
sc
,
typ
)
end
end
function
Card
.
GetOriginalType
(
sc
)
function
Card
.
GetOriginalType
(
sc
)
if
sc
==
e
:
GetHandler
()
then
if
sc
==
e
:
GetHandler
()
then
...
...
expansions/script/c12866725.lua
View file @
8ee02b20
...
@@ -83,9 +83,9 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -83,9 +83,9 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
<=
0
then
return
end
if
g
:
GetCount
()
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_DESTROY
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
#
g
,
nil
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
#
g
,
nil
)
local
lp
=
Duel
.
GetLP
(
tp
)
local
lp
=
Duel
.
GetLP
(
e
:
GetHandlerPlayer
()
)
local
ct
=
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
local
ct
=
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
if
ct
>
0
then
if
ct
>
0
then
Duel
.
SetLP
(
tp
,
lp
-
ct
*
500
)
Duel
.
SetLP
(
e
:
GetHandlerPlayer
()
,
lp
-
ct
*
500
)
end
end
end
end
\ No newline at end of file
expansions/script/c15000258.lua
View file @
8ee02b20
...
@@ -11,7 +11,6 @@ function cm.initial_effect(c)
...
@@ -11,7 +11,6 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCost
(
cm
.
thcost
)
e1
:
SetCost
(
cm
.
thcost
)
e1
:
SetCondition
(
cm
.
thcon
)
e1
:
SetCondition
(
cm
.
thcon
)
e1
:
SetTarget
(
cm
.
thtg
)
e1
:
SetTarget
(
cm
.
thtg
)
...
...
expansions/script/c22348442.lua
View file @
8ee02b20
...
@@ -70,8 +70,9 @@ function c22348442.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,8 +70,9 @@ function c22348442.eqop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterFlagEffect
(
22348442
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
tc
:
RegisterFlagEffect
(
22348442
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_C
OPY_INHERIT
+
EFFECT_FLAG_OWNER_RELAT
E
)
e1
:
SetProperty
(
EFFECT_FLAG_C
ANNOT_DISABL
E
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetLabelObject
(
c
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c22348442
.
eqlimit
)
e1
:
SetValue
(
c22348442
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
expansions/script/c93050105.lua
View file @
8ee02b20
...
@@ -44,7 +44,7 @@ function s.initial_effect(c)
...
@@ -44,7 +44,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
a
f1
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
c
f1
)
and
c
:
IsAbleToHand
()
and
c
:
IsAbleToHand
()
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -57,14 +57,14 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,14 +57,14 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
atfilter
(
c
)
function
s
.
atfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsSetCard
(
0x
a
f1
)
return
c
:
IsFaceup
()
and
not
c
:
IsSetCard
(
0x
c
f1
)
end
end
function
s
.
atcon
(
e
)
function
s
.
atcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
IsExistingMatchingCard
(
s
.
atfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
atfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
s
.
atlimit
(
e
,
c
)
function
s
.
atlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x
a
f1
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x
c
f1
)
and
c
:
IsFaceup
()
end
end
function
s
.
xyzconfilter
(
c
,
tp
)
function
s
.
xyzconfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
return
c
:
IsFaceup
()
...
@@ -80,7 +80,7 @@ function s.fselect(sg,tp)
...
@@ -80,7 +80,7 @@ function s.fselect(sg,tp)
return
mg
:
CheckSubGroup
(
s
.
matfilter
,
1
,
#
mg
,
tp
,
sg
)
return
mg
:
CheckSubGroup
(
s
.
matfilter
,
1
,
#
mg
,
tp
,
sg
)
end
end
function
s
.
matfilter
(
sg
,
tp
,
g
)
function
s
.
matfilter
(
sg
,
tp
,
g
)
if
sg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x
a
f1
):
GetCount
()
==
0
then
return
false
end
if
sg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x
c
f1
):
GetCount
()
==
0
then
return
false
end
return
Duel
.
IsExistingMatchingCard
(
s
.
xyzfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
sg
)
return
Duel
.
IsExistingMatchingCard
(
s
.
xyzfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
sg
)
end
end
function
s
.
xyzfilter1
(
c
,
mg
)
function
s
.
xyzfilter1
(
c
,
mg
)
...
@@ -95,7 +95,7 @@ function s.xyzfilter2(c,mg)
...
@@ -95,7 +95,7 @@ function s.xyzfilter2(c,mg)
return
mg
:
CheckSubGroup
(
s
.
gselect
,
1
,
#
mg
,
c
)
return
mg
:
CheckSubGroup
(
s
.
gselect
,
1
,
#
mg
,
c
)
end
end
function
s
.
gselect
(
sg
,
c
)
function
s
.
gselect
(
sg
,
c
)
if
sg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x
a
f1
):
GetCount
()
==
0
then
return
false
end
if
sg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x
c
f1
):
GetCount
()
==
0
then
return
false
end
return
c
:
IsXyzSummonable
(
sg
,
#
sg
,
#
sg
)
return
c
:
IsXyzSummonable
(
sg
,
#
sg
,
#
sg
)
end
end
function
s
.
xyzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
xyzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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