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
23347a5f
Commit
23347a5f
authored
Sep 18, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fa2e80c6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
expansions/script/c11451402.lua
expansions/script/c11451402.lua
+4
-3
expansions/script/c11451549.lua
expansions/script/c11451549.lua
+4
-2
expansions/script/c25000017.lua
expansions/script/c25000017.lua
+1
-0
expansions/script/c40008627.lua
expansions/script/c40008627.lua
+3
-3
No files found.
expansions/script/c11451402.lua
View file @
23347a5f
...
@@ -19,14 +19,14 @@ function cm.initial_effect(c)
...
@@ -19,14 +19,14 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
costtg
)
e2
:
SetTarget
(
cm
.
costtg
)
e2
:
SetOperation
(
cm
.
costop
)
e2
:
SetOperation
(
cm
.
costop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
Duel
.
AddCustomActivityCounter
(
m
,
ACTIVITY_CHAIN
,
cm
.
chainfilter
)
--
Duel.AddCustomActivityCounter(m,ACTIVITY_CHAIN,cm.chainfilter)
if
not
cm
.
global_check
then
if
not
cm
.
global_check
then
cm
.
global_check
=
true
cm
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAINING
)
ge1
:
SetCode
(
EVENT_CHAINING
)
ge1
:
SetOperation
(
cm
.
checkop
)
ge1
:
SetOperation
(
cm
.
checkop
)
--
Duel.RegisterEffect(ge1,0)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
end
end
cm
.
traveler_saga
=
true
cm
.
traveler_saga
=
true
...
@@ -49,7 +49,8 @@ function cm.costchk(e,te,tp)
...
@@ -49,7 +49,8 @@ function cm.costchk(e,te,tp)
end
end
function
cm
.
costtg
(
e
,
te
,
tp
)
function
cm
.
costtg
(
e
,
te
,
tp
)
e
:
SetLabelObject
(
te
)
e
:
SetLabelObject
(
te
)
return
te
:
GetHandler
()
and
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_CHAIN
)
~=
0
and
te
:
GetActivateLocation
()
&
LOCATION_ONFIELD
==
0
--and not te:GetHandler():IsOnField() and not te:IsHasType(EFFECT_TYPE_ACTIVATE)
--Duel.GetCustomActivityCount(m,tp,ACTIVITY_CHAIN)~=0
return
te
:
GetHandler
()
and
Duel
.
GetFlagEffect
(
tp
,
m
)
~=
0
and
not
te
:
GetHandler
():
IsOnField
()
and
not
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
--and te:GetActivateLocation()&LOCATION_ONFIELD==0
end
end
function
cm
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
cm
[
0
]
then
return
end
if
cm
[
0
]
then
return
end
...
...
expansions/script/c11451549.lua
View file @
23347a5f
...
@@ -55,8 +55,10 @@ function cm.SelectSubGroup(g,tp,f,cancelable,min,max,...)
...
@@ -55,8 +55,10 @@ function cm.SelectSubGroup(g,tp,f,cancelable,min,max,...)
local
sg
=
Group
.
CreateGroup
()
local
sg
=
Group
.
CreateGroup
()
local
fg
=
Duel
.
GrabSelectedCard
()
local
fg
=
Duel
.
GrabSelectedCard
()
if
#
fg
>
max
or
min
>
max
or
#
(
g
+
fg
)
<
min
then
return
nil
end
if
#
fg
>
max
or
min
>
max
or
#
(
g
+
fg
)
<
min
then
return
nil
end
for
tc
in
aux
.
Next
(
fg
)
do
if
not
check
then
fg
:
SelectUnselect
(
sg
,
tp
,
false
,
false
,
min
,
max
)
for
tc
in
aux
.
Next
(
fg
)
do
fg
:
SelectUnselect
(
sg
,
tp
,
false
,
false
,
min
,
max
)
end
end
end
sg
:
Merge
(
fg
)
sg
:
Merge
(
fg
)
local
mg
,
iisg
,
tmp
,
stop
,
iter
,
ctab
,
rtab
,
gtab
local
mg
,
iisg
,
tmp
,
stop
,
iter
,
ctab
,
rtab
,
gtab
...
...
expansions/script/c25000017.lua
View file @
23347a5f
...
@@ -119,6 +119,7 @@ function s.indop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -119,6 +119,7 @@ function s.indop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
3
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
3
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CLIENT_HINT
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CLIENT_HINT
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
expansions/script/c40008627.lua
View file @
23347a5f
...
@@ -69,17 +69,17 @@ function c40008627.filter(c,e,tp,rk)
...
@@ -69,17 +69,17 @@ function c40008627.filter(c,e,tp,rk)
return
c
:
IsRank
(
rk
)
and
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsRank
(
rk
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
e
:
GetHandler
():
IsCanBeXyzMaterial
(
c
)
and
e
:
GetHandler
():
IsCanBeXyzMaterial
(
c
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
e
:
GetHandler
(),
c
)
>
0
end
end
function
c40008627
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c40008627
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
)
>
0
if
chk
==
0
then
return
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
and
Duel
.
IsExistingMatchingCard
(
c40008627
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
e
:
GetHandler
():
GetRank
())
end
and
Duel
.
IsExistingMatchingCard
(
c40008627
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
e
:
GetHandler
():
GetRank
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
function
c40008627
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c40008627
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
)
>
0
and
c
:
IsFaceup
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsControler
(
tp
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsControler
(
tp
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
then
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
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