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
e14a151b
Commit
e14a151b
authored
Mar 03, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dd7e0afd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
33 deletions
+17
-33
expansions/script/c28315443.lua
expansions/script/c28315443.lua
+4
-2
expansions/script/c28315548.lua
expansions/script/c28315548.lua
+4
-2
expansions/script/c28315746.lua
expansions/script/c28315746.lua
+5
-3
expansions/script/c31400022.lua
expansions/script/c31400022.lua
+4
-26
No files found.
expansions/script/c28315443.lua
View file @
e14a151b
...
@@ -71,13 +71,14 @@ function c28315443.lvfilter(c,lv)
...
@@ -71,13 +71,14 @@ function c28315443.lvfilter(c,lv)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c28315443
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c28315443
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28315443
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetLevel
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28315443
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetLevel
())
and
e
:
GetHandler
():
IsLevelAbove
(
1
)
end
end
end
function
c28315443
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28315443
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
c28315443
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
c
:
GetLevel
()):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c28315443
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
c
:
GetLevel
()):
GetFirst
()
if
not
tc
then
return
end
Duel
.
HintSelection
(
Group
.
FromCards
(
tc
))
Duel
.
HintSelection
(
Group
.
FromCards
(
tc
))
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -86,6 +87,7 @@ function c28315443.lvop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -86,6 +87,7 @@ function c28315443.lvop(e,tp,eg,ep,ev,re,r,rp)
e0
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e0
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
28315443
,
2
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
28315443
,
2
))
then
Duel
.
BreakEffect
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
...
...
expansions/script/c28315548.lua
View file @
e14a151b
...
@@ -72,13 +72,14 @@ function c28315548.lvfilter(c,lv)
...
@@ -72,13 +72,14 @@ function c28315548.lvfilter(c,lv)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c28315548
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c28315548
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28315548
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetLevel
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28315548
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetLevel
())
and
e
:
GetHandler
():
IsLevelAbove
(
1
)
end
end
end
function
c28315548
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28315548
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
c28315548
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
c
:
GetLevel
()):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c28315548
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
c
:
GetLevel
()):
GetFirst
()
if
not
tc
then
return
end
Duel
.
HintSelection
(
Group
.
FromCards
(
tc
))
Duel
.
HintSelection
(
Group
.
FromCards
(
tc
))
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -87,6 +88,7 @@ function c28315548.lvop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,6 +88,7 @@ function c28315548.lvop(e,tp,eg,ep,ev,re,r,rp)
e0
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e0
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
28315548
,
2
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
28315548
,
2
))
then
Duel
.
BreakEffect
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
...
...
expansions/script/c28315746.lua
View file @
e14a151b
...
@@ -70,14 +70,15 @@ end
...
@@ -70,14 +70,15 @@ end
function
c28315746
.
lvfilter
(
c
,
lv
)
function
c28315746
.
lvfilter
(
c
,
lv
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c28315746
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chk
)
function
c28315746
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28315746
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetLevel
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28315746
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetLevel
())
and
e
:
GetHandler
():
IsLevelAbove
(
1
)
end
end
end
function
c28315746
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28315746
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
c28315746
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
c
:
GetLevel
()):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c28315746
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
c
:
GetLevel
()):
GetFirst
()
if
not
tc
then
return
end
Duel
.
HintSelection
(
Group
.
FromCards
(
tc
))
Duel
.
HintSelection
(
Group
.
FromCards
(
tc
))
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -86,6 +87,7 @@ function c28315746.lvop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -86,6 +87,7 @@ function c28315746.lvop(e,tp,eg,ep,ev,re,r,rp)
e0
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e0
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
28315746
,
2
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
28315746
,
2
))
then
Duel
.
BreakEffect
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
...
...
expansions/script/c31400022.lua
View file @
e14a151b
...
@@ -2,34 +2,12 @@ local m=31400022
...
@@ -2,34 +2,12 @@ local m=31400022
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"娱乐伙伴 异色眼时空之灵摆魔术师"
cm
.
name
=
"娱乐伙伴 异色眼时空之灵摆魔术师"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
if
not
Auxiliary
.
PendulumChecklist
then
Auxiliary
.
EnablePendulumAttribute
(
c
)
Auxiliary
.
PendulumChecklist
=
0
local
ge1
=
Effect
.
GlobalEffect
()
c
:
GetActivateEffect
():
SetCost
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
if
chk
==
0
then
return
true
end
ge1
:
SetCode
(
EVENT_PHASE_START
+
PHASE_DRAW
)
ge1
:
SetOperation
(
Auxiliary
.
PendulumReset
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
1163
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCondition
(
Auxiliary
.
PendCondition
())
e1
:
SetOperation
(
Auxiliary
.
PendOperation
())
e1
:
SetValue
(
SUMMON_TYPE_PENDULUM
)
c
:
RegisterEffect
(
e1
)
--register by default
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
1160
)
e2
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetCost
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
)
c
:
RegisterEffect
(
e2
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
...
...
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