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
666f52e9
Commit
666f52e9
authored
Apr 21, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3d3b3fbb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
33 deletions
+50
-33
expansions/script/c67201258.lua
expansions/script/c67201258.lua
+32
-8
expansions/script/c75011010.lua
expansions/script/c75011010.lua
+3
-6
expansions/script/c9911301.lua
expansions/script/c9911301.lua
+15
-19
No files found.
expansions/script/c67201258.lua
View file @
666f52e9
...
...
@@ -19,15 +19,44 @@ function c67201258.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
67201258
,
1
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_C
HAINING
)
e3
:
SetCode
(
EVENT_C
USTOM
+
67201258
)
e3
:
SetRange
(
LOCATION_HAND
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
67201258
)
e3
:
SetCondition
(
c67201258
.
spcon
)
e3
:
SetTarget
(
c67201258
.
sptg
)
e3
:
SetOperation
(
c67201258
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
if
not
c67201258
.
global_check
then
c67201258
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAINING
)
ge1
:
SetCondition
(
c67201258
.
regcon
)
ge1
:
SetOperation
(
c67201258
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c67201258
.
disfilter
(
c
,
tp
)
local
b1
=
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
()
local
b2
=
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0xa67b
)
and
(
b1
or
b2
)
and
c
:
IsControler
(
tp
)
end
function
c67201258
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
if
not
g
or
#
g
==
0
then
return
false
end
local
v
=
0
if
g
:
IsExists
(
c67201258
.
disfilter
,
1
,
nil
,
0
)
then
v
=
v
+
1
end
if
g
:
IsExists
(
c67201258
.
disfilter
,
1
,
nil
,
1
)
then
v
=
v
+
2
end
if
v
==
0
then
return
false
end
e
:
SetLabel
(({
0
,
1
,
PLAYER_ALL
})[
v
])
return
true
end
function
c67201258
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
RaiseEvent
(
eg
,
EVENT_CUSTOM
+
67201258
,
re
,
r
,
rp
,
ep
,
e
:
GetLabel
())
end
--
function
c67201258
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xa67b
)
and
not
c
:
IsCode
(
67201258
)
and
c
:
IsAbleToHand
()
end
...
...
@@ -44,13 +73,8 @@ function c67201258.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
--
function
c67201258
.
disfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0xa67b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsFaceupEx
()
end
function
c67201258
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
return
g
and
g
:
IsExists
(
c67201258
.
disfilter
,
1
,
nil
,
tp
)
return
ev
==
tp
or
ev
==
PLAYER_ALL
end
function
c67201258
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c75011010.lua
View file @
666f52e9
...
...
@@ -15,20 +15,17 @@ function c75011010.initial_effect(c)
--spsummon-self
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
1152
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DECKDES
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_LEAVE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e2
:
SetLabelObject
(
e0
)
e2
:
SetCountLimit
(
1
,
75011011
)
e2
:
SetCondition
(
c75011010
.
spcon
)
e2
:
SetTarget
(
c75011010
.
sptg
)
e2
:
SetOperation
(
c75011010
.
spop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetLabelObject
(
e0
)
c
:
RegisterEffect
(
e3
)
end
function
c75011010
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0x75e
)
and
c
:
IsAbleToGrave
()
...
...
expansions/script/c9911301.lua
View file @
666f52e9
...
...
@@ -8,36 +8,32 @@ function c9911301.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SSET
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e1
:
SetCountLimit
(
1
,
9911301
)
e1
:
SetLabelObject
(
e0
)
e1
:
SetCondition
(
c9911301
.
spcon
)
e1
:
SetTarget
(
c9911301
.
sptg
)
e1
:
SetOperation
(
c9911301
.
spop
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetLabelObject
(
e0
)
c
:
RegisterEffect
(
e2
)
--search
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetDescription
(
aux
.
Stringid
(
9911301
,
1
))
e
3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_RELEASE
+
CATEGORY_EQUIP
)
e
3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e
3
:
SetRange
(
LOCATION_MZONE
)
e
3
:
SetCode
(
EVENT_CHAINING
)
e
3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
3
:
SetCountLimit
(
1
,
9911302
)
e
3
:
SetCondition
(
c9911301
.
thcon
)
e
3
:
SetTarget
(
c9911301
.
thtg
)
e
3
:
SetOperation
(
c9911301
.
thop
)
c
:
RegisterEffect
(
e
3
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
9911301
,
1
))
e
2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_RELEASE
+
CATEGORY_EQUIP
)
e
2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e
2
:
SetRange
(
LOCATION_MZONE
)
e
2
:
SetCode
(
EVENT_CHAINING
)
e
2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
2
:
SetCountLimit
(
1
,
9911302
)
e
2
:
SetCondition
(
c9911301
.
thcon
)
e
2
:
SetTarget
(
c9911301
.
thtg
)
e
2
:
SetOperation
(
c9911301
.
thop
)
c
:
RegisterEffect
(
e
2
)
end
function
c9911301
.
cfilter
(
c
,
se
)
return
se
==
nil
or
c
:
GetReasonEffect
()
~=
se
end
function
c9911301
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
se
if
e
:
GetLabelObject
()
then
se
=
e
:
GetLabelObject
():
GetLabelObject
()
end
local
se
=
e
:
GetLabelObject
():
GetLabelObject
()
return
eg
:
IsExists
(
c9911301
.
cfilter
,
1
,
nil
,
se
)
end
function
c9911301
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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