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
Huangnan
no81cards
Commits
d75169bb
Commit
d75169bb
authored
Oct 29, 2022
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0df0bfc3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
13 deletions
+9
-13
expansions/script/c11451403.lua
expansions/script/c11451403.lua
+3
-4
expansions/script/c11451446.lua
expansions/script/c11451446.lua
+2
-3
expansions/script/c11451566.lua
expansions/script/c11451566.lua
+2
-3
expansions/script/c11451650.lua
expansions/script/c11451650.lua
+1
-2
expansions/script/c11451727.lua
expansions/script/c11451727.lua
+1
-1
No files found.
expansions/script/c11451403.lua
View file @
d75169bb
--traveler saga stray
--traveler saga stray
--21.04.10
--21.04.10
local
m
=
11451403
local
cm
,
m
=
GetID
()
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--activate
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -165,7 +164,7 @@ function cm.reop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -165,7 +164,7 @@ function cm.reop2(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
nil
)
g
=
g
:
Filter
(
Card
.
IsAbleToRemove
,
nil
,
tp
)
g
=
g
:
Filter
(
Card
.
IsAbleToRemove
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
ct
=
math.min
(
a
,
#
g
)
local
ct
=
math.min
(
a
,
#
g
,
n1
)
local
tg
=
g
:
Select
(
tp
,
ct
,
ct
,
nil
)
local
tg
=
g
:
Select
(
tp
,
ct
,
ct
,
nil
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
HintSelection
(
tg
)
Duel
.
HintSelection
(
tg
)
...
@@ -206,7 +205,7 @@ function cm.reop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -206,7 +205,7 @@ function cm.reop2(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
1
-
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
1
-
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
nil
)
g
=
g
:
Filter
(
Card
.
IsAbleToRemove
,
nil
,
1
-
tp
,
POS_FACEUP
,
REASON_RULE
)
g
=
g
:
Filter
(
Card
.
IsAbleToRemove
,
nil
,
1
-
tp
,
POS_FACEUP
,
REASON_RULE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
local
ct
=
math.min
(
b
,
#
g
)
local
ct
=
math.min
(
b
,
#
g
,
n2
)
local
tg
=
g
:
Select
(
1
-
tp
,
ct
,
ct
,
nil
)
local
tg
=
g
:
Select
(
1
-
tp
,
ct
,
ct
,
nil
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
HintSelection
(
tg
)
Duel
.
HintSelection
(
tg
)
...
...
expansions/script/c11451446.lua
View file @
d75169bb
--反抗革命的卫兵
--反抗革命的卫兵
local
m
=
11451446
local
cm
,
m
=
GetID
()
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
99518961
)
aux
.
AddCodeList
(
c
,
99518961
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
@@ -85,7 +84,7 @@ function cm.ctcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,7 +84,7 @@ function cm.ctcon(e,tp,eg,ep,ev,re,r,rp)
return
tp
~=
p
and
Duel
.
IsExistingMatchingCard
(
cm
.
filter4
,
p
,
0
,
LOCATION_MZONE
,
4
,
nil
)
return
tp
~=
p
and
Duel
.
IsExistingMatchingCard
(
cm
.
filter4
,
p
,
0
,
LOCATION_MZONE
,
4
,
nil
)
end
end
function
cm
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsControlerCanBeChanged
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
cm
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c11451566.lua
View file @
d75169bb
--方舟骑士-异客
--方舟骑士-异客
--21.05.21
--21.05.21
local
m
=
11451566
local
cm
,
m
=
GetID
()
local
cm
=
_G
[
"c"
..
m
]
cm
.
named_with_Arknight
=
1
cm
.
named_with_Arknight
=
1
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--pendulum summon
--pendulum summon
...
@@ -91,7 +90,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -91,7 +90,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EVENT_MOVE
)
e1
:
SetCode
(
EVENT_MOVE
)
e1
:
SetLabel
(
fd
)
e1
:
SetLabel
(
fd
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_
DELAY
)
e1
:
SetCondition
(
cm
.
descon
)
e1
:
SetCondition
(
cm
.
descon
)
e1
:
SetOperation
(
cm
.
desop2
)
e1
:
SetOperation
(
cm
.
desop2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_EVENT
+
RESETS_STANDARD
)
...
...
expansions/script/c11451650.lua
View file @
d75169bb
--将军刽子手
--将军刽子手
--22.05.06
--22.05.06
local
m
=
11451650
local
cm
,
m
=
GetID
()
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--link summon
--link summon
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
...
expansions/script/c11451727.lua
View file @
d75169bb
...
@@ -37,7 +37,7 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,7 +37,7 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
NegateEffect
(
ev
)
Duel
.
NegateEffect
(
ev
)
end
end
function
cm
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
0
)
>
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
0
)
>
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
and
e
:
GetHandler
():
IsControlerCanBeChanged
()
end
end
function
cm
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
GetControl
(
e
:
GetHandler
(),
1
-
tp
)
Duel
.
GetControl
(
e
:
GetHandler
(),
1
-
tp
)
...
...
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