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
3bc287e0
Commit
3bc287e0
authored
Dec 24, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b6a3fd67
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
13 deletions
+17
-13
expansions/script/c11451400.lua
expansions/script/c11451400.lua
+2
-2
expansions/script/c11451405.lua
expansions/script/c11451405.lua
+3
-2
expansions/script/c11451415.lua
expansions/script/c11451415.lua
+7
-4
expansions/script/c11451564.lua
expansions/script/c11451564.lua
+1
-1
expansions/script/c53701024.lua
expansions/script/c53701024.lua
+1
-1
expansions/script/c53701031.lua
expansions/script/c53701031.lua
+3
-3
No files found.
expansions/script/c11451400.lua
View file @
3bc287e0
--
幻旅传说·遭遇
--
traveler saga encounter
--21.04.09
--21.04.09
local
m
=
11451400
local
m
=
11451400
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
...
@@ -31,7 +31,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -31,7 +31,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
eg
:
GetFirst
()
local
rc
=
eg
:
GetFirst
()
if
not
rc
:
IsRelateToEffect
(
e
)
then
return
end
if
not
rc
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
return
end
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
#
g
>
0
then
if
#
g
>
0
then
local
tc
=
g
:
RandomSelect
(
1
-
tp
,
1
):
GetFirst
()
local
tc
=
g
:
RandomSelect
(
1
-
tp
,
1
):
GetFirst
()
...
...
expansions/script/c11451405.lua
View file @
3bc287e0
--
幻旅传说·激斗
--
traveler saga clash
--21.04.10
--21.04.10
local
m
=
11451405
local
m
=
11451405
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
...
@@ -35,8 +35,9 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,8 +35,9 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
local
tc
=
sg
:
GetFirst
()
local
tc
=
sg
:
GetFirst
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetValue
(
cm
.
efilter
)
e1
:
SetValue
(
cm
.
efilter
)
...
...
expansions/script/c11451415.lua
View file @
3bc287e0
--dragon-king palace,the crystal city
--dragon-king palace,
the crystal city
local
m
=
11451415
local
m
=
11451415
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
...
@@ -51,11 +51,14 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,11 +51,14 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
cm
.
sfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
cm
.
sfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b2
=
(
Duel
.
GetCurrentPhase
()
~=
PHASE_END
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
op
=
0
local
op
=
1
if
b1
then
if
b1
and
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
0
),
aux
.
Stringid
(
m
,
1
),
aux
.
Stringid
(
m
,
2
))
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
0
),
aux
.
Stringid
(
m
,
1
),
aux
.
Stringid
(
m
,
2
))
else
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
0
),
aux
.
Stringid
(
m
,
1
))
elseif
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
),
aux
.
Stringid
(
m
,
2
))
+
1
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
),
aux
.
Stringid
(
m
,
2
))
+
1
end
end
e
:
SetLabel
(
op
)
e
:
SetLabel
(
op
)
...
...
expansions/script/c11451564.lua
View file @
3bc287e0
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--trap
--trap
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_TOHAND
)
e3
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_TOHAND
+
CATEGORY_GRAVE_ACTION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCountLimit
(
1
,
m
)
...
...
expansions/script/c53701024.lua
View file @
3bc287e0
...
@@ -43,7 +43,7 @@ function c53701024.initial_effect(c)
...
@@ -43,7 +43,7 @@ function c53701024.initial_effect(c)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
function
c53701024
.
cpfilter
(
c
)
function
c53701024
.
cpfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToGraveAsCost
()
and
c
:
IsSetCard
(
0x3530
)
and
c
:
CheckActivateEffect
(
false
,
true
,
false
)
~=
nil
and
c
:
CheckActivateEffect
(
false
,
true
,
false
)
~=
nil
end
end
function
c53701024
.
cpcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c53701024
.
cpcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c53701031.lua
View file @
3bc287e0
...
@@ -37,6 +37,7 @@ end
...
@@ -37,6 +37,7 @@ end
function
c53701031
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c53701031
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
e
:
GetHandler
():
RegisterFlagEffect
(
53701031
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
end
end
function
c53701031
.
filter
(
c
,
e
,
tp
)
function
c53701031
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x3530
)
and
not
c
:
IsCode
(
53701031
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x3530
)
and
not
c
:
IsCode
(
53701031
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
@@ -55,10 +56,9 @@ function c53701031.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,10 +56,9 @@ function c53701031.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c53701031
.
filter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c53701031
.
filter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
t
c
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
s
c
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
sc
then
Duel
.
SpecialSummon
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
e
:
GetHandler
():
RegisterFlagEffect
(
53701031
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
end
end
function
c53701031
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c53701031
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
return
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
...
...
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