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
5ff99a70
Commit
5ff99a70
authored
Aug 02, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c130006050.lua
parent
f96dd4c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
29 deletions
+6
-29
expansions/script/c130006050.lua
expansions/script/c130006050.lua
+6
-29
No files found.
expansions/script/c130006050.lua
View file @
5ff99a70
...
@@ -76,39 +76,11 @@ function cm.chop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,39 +76,11 @@ function cm.chop(e,tp,eg,ep,ev,re,r,rp)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
14
))
then
return
end
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
14
))
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
if
ev
==
1
then
Debug
.
Message
(
"「此战,即为生存而战」"
)
elseif
ev
==
2
then
Debug
.
Message
(
"「此战,即为抗争强于自身之人之战」"
)
elseif
ev
==
3
then
Debug
.
Message
(
"「此战,非背离人道之战」"
)
elseif
ev
==
4
then
Debug
.
Message
(
"「此战,即为追求真实之战」"
)
elseif
ev
==
5
then
Debug
.
Message
(
"「此战,非抗争精灵之战」"
)
elseif
ev
==
6
then
Debug
.
Message
(
"「此战,即为公平之战」"
)
elseif
ev
==
7
then
Debug
.
Message
(
"「此战,乃讨伐邪恶之战」"
)
elseif
ev
==
8
then
Debug
.
Message
(
"「此战,非为私欲而战」"
)
elseif
ev
==
9
then
Debug
.
Message
(
"「此战,即高贵荣誉之战」"
)
elseif
ev
==
10
then
Debug
.
Message
(
"「此战,即勇者同行之战」"
)
elseif
ev
==
11
then
Debug
.
Message
(
"「此战,非向善者挥剑之战」"
)
elseif
ev
==
12
then
Debug
.
Message
(
"「此战,即守护弱者之战」"
)
elseif
ev
==
13
then
Debug
.
Message
(
"「此战,即拯救世界之战」"
)
end
re
:
SetCategory
(
cat0
|
cat
[
ev
])
re
:
SetCategory
(
cat0
|
cat
[
ev
])
re
:
SetOperation
(
repop
)
re
:
SetOperation
(
repop
)
e
:
SetLabel
(
ev
)
e
:
SetLabel
(
ev
)
if
ev
==
13
then
if
ev
==
13
then
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHandAsCost
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
15
))
then
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHandAsCost
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
15
))
then
Debug
.
Message
(
"「十三拘束解放(シール・サーティーン)──円卓議決開始(デシジョン・スタート)」!"
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHandAsCost
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHandAsCost
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_COST
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_COST
)
...
@@ -137,7 +109,7 @@ function cm.rscon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -137,7 +109,7 @@ function cm.rscon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
addition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
addition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ev
=
Duel
.
GetCurrentChain
()
local
ev
=
Duel
.
GetCurrentChain
()
if
ev
==
1
and
cm
[
ev
]
==
nil
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
ev
))
then
if
ev
==
1
and
cm
[
ev
]
==
nil
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
ev
))
then
Duel
.
Recover
(
tp
,
100
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
100
,
REASON_EFFECT
)
elseif
ev
==
2
and
cm
[
ev
]
==
nil
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
ev
))
then
elseif
ev
==
2
and
cm
[
ev
]
==
nil
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
ev
))
then
Duel
.
Damage
(
1
-
tp
,
100
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
100
,
REASON_EFFECT
)
...
@@ -261,11 +233,16 @@ function cm.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -261,11 +233,16 @@ function cm.negop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
cm
.
dis2con
)
e2
:
SetOperation
(
cm
.
dis2op
)
e2
:
SetOperation
(
cm
.
dis2op
)
e2
:
SetLabelObject
(
re
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
e
:
Reset
()
e
:
Reset
()
end
end
function
cm
.
dis2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
e
:
GetLabelObject
()
and
re
==
e
:
GetLabelObject
()
end
function
cm
.
dis2op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
dis2op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
NegateEffect
(
ev
)
Duel
.
NegateEffect
(
ev
)
...
...
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