Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Ruby
pre-release-database-cdb
Commits
023715bc
Commit
023715bc
authored
Oct 06, 2025
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
1d1ae1a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
10 deletions
+17
-10
script/c101303037.lua
script/c101303037.lua
+7
-5
script/c101303043.lua
script/c101303043.lua
+4
-4
script/c101303076.lua
script/c101303076.lua
+6
-1
No files found.
script/c101303037.lua
View file @
023715bc
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
--to deck
--to deck
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_
CATEGORY_
TODECK
)
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
@@ -144,17 +144,19 @@ function s.tdfilter2(c,g)
...
@@ -144,17 +144,19 @@ function s.tdfilter2(c,g)
return
c
:
IsFaceup
()
and
g
:
IsExists
(
s
.
typefilter
,
1
,
nil
,
c
)
and
c
:
IsAbleToDeck
()
return
c
:
IsFaceup
()
and
g
:
IsExists
(
s
.
typefilter
,
1
,
nil
,
c
)
and
c
:
IsAbleToDeck
()
end
end
function
s
.
gcheck
(
g
,
tp
)
function
s
.
gcheck
(
g
,
tp
)
return
Duel
.
IsExistingTarget
(
s
.
tdfilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
g
)
return
Duel
.
IsExistingTarget
(
s
.
tdfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
g
)
end
end
function
s
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tdfilter
1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
g
:
CheckSubGroup
(
s
.
gcheck
,
2
,
2
,
tp
)
end
if
chk
==
0
then
return
g
:
CheckSubGroup
(
s
.
gcheck
,
2
,
2
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
2
,
2
,
tp
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
2
,
2
,
tp
)
Duel
.
SetTargetCard
(
sg
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
tdfilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
sg
)
local
tg
=
Duel
.
SelectTarget
(
tp
,
s
.
tdfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
sg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
3
,
0
,
0
)
sg
:
Merge
(
tg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
sg
,
3
,
0
,
0
)
end
end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
aux
.
NecroValleyFilter
(
Card
.
IsRelateToChain
),
nil
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
aux
.
NecroValleyFilter
(
Card
.
IsRelateToChain
),
nil
)
...
...
script/c101303043.lua
View file @
023715bc
...
@@ -43,14 +43,14 @@ function s.tdfilter(c)
...
@@ -43,14 +43,14 @@ function s.tdfilter(c)
return
c
:
IsAbleToDeck
()
return
c
:
IsAbleToDeck
()
end
end
function
s
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
s
.
tdfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
1
-
tp
)
and
s
.
tdfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
tdfilter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
tdfilter
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
tdfilter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
2
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
tdfilter
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
2
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToChain
,
nil
,
e
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
aux
.
NecroValleyFilter
(
Card
.
IsRelateToChain
),
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
...
...
script/c101303076.lua
View file @
023715bc
...
@@ -24,7 +24,9 @@ function s.initial_effect(c)
...
@@ -24,7 +24,9 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetHintTiming
(
TIMING_END_PHASE
,
TIMING_END_PHASE
)
e3
:
SetCountLimit
(
1
,
id
)
e3
:
SetCountLimit
(
1
,
id
)
e3
:
SetCondition
(
s
.
thcon
)
e3
:
SetCost
(
s
.
thcost
)
e3
:
SetCost
(
s
.
thcost
)
e3
:
SetTarget
(
s
.
thtg
)
e3
:
SetTarget
(
s
.
thtg
)
e3
:
SetOperation
(
s
.
thop
)
e3
:
SetOperation
(
s
.
thop
)
...
@@ -36,6 +38,7 @@ function s.initial_effect(c)
...
@@ -36,6 +38,7 @@ function s.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetRange
(
LOCATION_GRAVE
)
e4
:
SetRange
(
LOCATION_GRAVE
)
e4
:
SetHintTiming
(
TIMING_END_PHASE
,
TIMING_END_PHASE
)
e4
:
SetCountLimit
(
1
,
id
)
e4
:
SetCountLimit
(
1
,
id
)
e4
:
SetCost
(
aux
.
bfgcost
)
e4
:
SetCost
(
aux
.
bfgcost
)
e4
:
SetTarget
(
s
.
tgtg
)
e4
:
SetTarget
(
s
.
tgtg
)
...
@@ -51,6 +54,9 @@ function s.lpop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,6 +54,9 @@ function s.lpop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
PayLPCost
(
1
-
tp
,
100
)
Duel
.
PayLPCost
(
1
-
tp
,
100
)
end
end
end
end
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsMainPhase
()
or
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
IsBattlePhase
()
end
function
s
.
cfilter
(
c
,
ec
,
tp
)
function
s
.
cfilter
(
c
,
ec
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1ca
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1ca
)
and
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
1
,
Group
.
FromCards
(
c
,
ec
))
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
1
,
Group
.
FromCards
(
c
,
ec
))
...
@@ -59,7 +65,6 @@ function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -59,7 +65,6 @@ function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAbleToGraveAsCost
()
and
c
:
IsFaceup
()
if
chk
==
0
then
return
c
:
IsAbleToGraveAsCost
()
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
c
,
c
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
c
,
c
,
tp
)
end
Duel
.
DiscardHand
(
tp
,
s
.
cfilter
,
1
,
1
,
REASON_COST
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
costfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
(),
c
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
costfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
(),
c
,
tp
)
g
:
AddCard
(
c
)
g
:
AddCard
(
c
)
...
...
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