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
18161111
Commit
18161111
authored
Jan 04, 2022
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c7a2f68e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
6 deletions
+22
-6
expansions/script/c11451402.lua
expansions/script/c11451402.lua
+8
-1
expansions/script/c11451643.lua
expansions/script/c11451643.lua
+5
-1
expansions/script/c11451644.lua
expansions/script/c11451644.lua
+5
-1
expansions/script/c13254040.lua
expansions/script/c13254040.lua
+1
-1
expansions/script/c13254043.lua
expansions/script/c13254043.lua
+1
-1
expansions/script/c13254044.lua
expansions/script/c13254044.lua
+1
-1
expansions/script/c82224071.lua
expansions/script/c82224071.lua
+1
-0
No files found.
expansions/script/c11451402.lua
View file @
18161111
--
幻旅传说·献祭
--
traveler saga tribute
--21.04.10
local
m
=
11451402
local
cm
=
_G
[
"c"
..
m
]
...
...
@@ -15,6 +15,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
SetCondition
(
cm
.
costcon
)
e2
:
SetCost
(
cm
.
costchk
)
e2
:
SetTarget
(
cm
.
costtg
)
e2
:
SetOperation
(
cm
.
costop
)
...
...
@@ -35,6 +36,10 @@ function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterFlagEffect
(
ep
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
cm
.
costcon
(
e
)
cm
[
0
]
=
false
return
true
end
function
cm
.
costchk
(
e
,
te
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
@@ -43,6 +48,7 @@ function cm.costtg(e,te,tp)
return
Duel
.
GetFlagEffect
(
tp
,
m
)
>
0
and
te
:
GetHandler
()
and
not
te
:
GetHandler
():
IsOnField
()
end
function
cm
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
cm
[
0
]
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetLabelObject
():
GetHandler
())
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
@@ -59,6 +65,7 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_CANNOT_DISEFFECT
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
cm
[
0
]
=
true
end
function
cm
.
efilter
(
e
,
ct
)
return
e
:
GetLabel
()
==
ct
...
...
expansions/script/c11451643.lua
View file @
18161111
...
...
@@ -51,7 +51,9 @@ function cm.matfilter(c)
end
function
cm
.
costcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_GRAVE
,
0
)
>
0
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_GRAVE
,
0
)
==
0
then
return
false
end
cm
[
0
]
=
false
return
true
end
function
cm
.
costchk
(
e
,
te_or_c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
...
...
@@ -65,9 +67,11 @@ function cm.tdcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetFlagEffect
(
1
)
~=
0
and
ep
==
tp
end
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
cm
[
0
]
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
cm
[
0
]
=
true
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
...
...
expansions/script/c11451644.lua
View file @
18161111
...
...
@@ -38,15 +38,19 @@ function cm.matfilter(c)
end
function
cm
.
costcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_GRAVE
)
>
0
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_GRAVE
)
==
0
then
return
false
end
cm
[
0
]
=
false
return
true
end
function
cm
.
costchk
(
e
,
te_or_c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
cm
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
cm
[
0
]
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
cm
[
0
]
=
true
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
...
...
expansions/script/c13254040.lua
View file @
18161111
...
...
@@ -136,7 +136,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
limit
=
5
if
order_e
then
limit
=
6
end
local
g
=
Group
.
CreateGroup
()
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
3
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
6
))
then
local
tc
=
sg
:
GetFirst
()
while
tc
do
local
dg
=
Group
.
CreateGroup
()
...
...
expansions/script/c13254043.lua
View file @
18161111
...
...
@@ -60,7 +60,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
obj
and
tama
.
tamas_isAllElementsNotAbove
({{
TAMA_ELEMENT_ORDER
,
2
}},
obj
)
then
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
))
end
if
obj
and
tama
.
tamas_isAllElementsNotAbove
({{
TAMA_ELEMENT_ORDER
,
1
}},
obj
)
and
(
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_WIND
)
+
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_WATER
)
+
tama
.
tamas_getElementCount
,
(
obj
,
TAMA_ELEMENT_EARTH
)
+
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_FIRE
))
>=
1
then
if
obj
and
tama
.
tamas_isAllElementsNotAbove
({{
TAMA_ELEMENT_ORDER
,
1
}},
obj
)
and
(
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_WIND
)
+
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_WATER
)
+
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_EARTH
)
+
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_FIRE
))
>=
1
then
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
2
))
e
:
SetCategory
(
bit
.
bor
(
e
:
GetCategory
(),
CATEGORY_DRAW
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
...
...
expansions/script/c13254044.lua
View file @
18161111
...
...
@@ -60,7 +60,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
obj
and
tama
.
tamas_isAllElementsNotAbove
({{
TAMA_ELEMENT_CHAOS
,
2
}},
obj
)
then
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
))
end
if
obj
and
tama
.
tamas_isAllElementsNotAbove
({{
TAMA_ELEMENT_CHAOS
,
1
}},
obj
)
and
(
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_WIND
)
+
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_WATER
)
+
tama
.
tamas_getElementCount
,
(
obj
,
TAMA_ELEMENT_EARTH
)
+
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_FIRE
))
>=
1
then
if
obj
and
tama
.
tamas_isAllElementsNotAbove
({{
TAMA_ELEMENT_CHAOS
,
1
}},
obj
)
and
(
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_WIND
)
+
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_WATER
)
+
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_EARTH
)
+
tama
.
tamas_getElementCount
(
obj
,
TAMA_ELEMENT_FIRE
))
>=
1
then
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
2
))
e
:
SetCategory
(
bit
.
bor
(
e
:
GetCategory
(),
CATEGORY_DRAW
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
...
...
expansions/script/c82224071.lua
View file @
18161111
...
...
@@ -2,6 +2,7 @@ local m=82224071
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"连接之黑魔导师"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
46986414
)
--link summon
aux
.
AddLinkProcedure
(
c
,
nil
,
3
,
3
,
cm
.
lcheck
)
c
:
EnableReviveLimit
()
...
...
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