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
Vury Leo
pre-release-database-cdb
Commits
38dba895
Commit
38dba895
authored
Jul 09, 2025
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
886c1631
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
117 additions
and
17 deletions
+117
-17
DOOD.cdb
DOOD.cdb
+0
-0
script/c100245003.lua
script/c100245003.lua
+1
-0
script/c100245004.lua
script/c100245004.lua
+1
-1
script/c100245007.lua
script/c100245007.lua
+14
-14
script/c100245009.lua
script/c100245009.lua
+2
-2
script/c101302071.lua
script/c101302071.lua
+99
-0
No files found.
DOOD.cdb
View file @
38dba895
No preview for this file type
script/c100245003.lua
View file @
38dba895
...
@@ -75,6 +75,7 @@ function s.sptg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -75,6 +75,7 @@ function s.sptg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
end
function
s
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToChain
()
and
aux
.
NecroValleyFilter
()(
tc
)
if
tc
:
IsRelateToChain
()
and
aux
.
NecroValleyFilter
()(
tc
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
...
...
script/c100245004.lua
View file @
38dba895
...
@@ -4,7 +4,7 @@ function s.initial_effect(c)
...
@@ -4,7 +4,7 @@ function s.initial_effect(c)
--special summon
--special summon
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_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_TO_HAND
)
e1
:
SetCode
(
EVENT_TO_HAND
)
...
...
script/c100245007.lua
View file @
38dba895
...
@@ -25,17 +25,17 @@ function s.initial_effect(c)
...
@@ -25,17 +25,17 @@ function s.initial_effect(c)
e2
:
SetValue
(
1
)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--control
--control
local
e
2
=
Effect
.
CreateEffect
(
c
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e
3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e
2
:
SetCategory
(
CATEGORY_CONTROL
)
e
3
:
SetCategory
(
CATEGORY_CONTROL
)
e
2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
2
:
SetCode
(
EVENT_DESTROYED
)
e
3
:
SetCode
(
EVENT_DESTROYED
)
e
2
:
SetCountLimit
(
1
,
id
+
o
)
e
3
:
SetCountLimit
(
1
,
id
+
o
)
e
2
:
SetCondition
(
s
.
ctcon
)
e
3
:
SetCondition
(
s
.
ctcon
)
e
2
:
SetTarget
(
s
.
cttg
)
e
3
:
SetTarget
(
s
.
cttg
)
e
2
:
SetOperation
(
s
.
ctop
)
e
3
:
SetOperation
(
s
.
ctop
)
c
:
RegisterEffect
(
e
2
)
c
:
RegisterEffect
(
e
3
)
end
end
function
s
.
ffilter
(
c
)
function
s
.
ffilter
(
c
)
return
c
:
IsFusionSetCard
(
0x2d4
)
return
c
:
IsFusionSetCard
(
0x2d4
)
...
@@ -45,13 +45,13 @@ function s.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,13 +45,13 @@ function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_EXTRA
)
>
2
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
0
,
LOCATION_EXTRA
,
1
,
nil
)
end
end
end
function
s
.
spfilter
(
c
,
e
,
tp
)
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
:
Filter
(
Card
.
IsFacedown
,
nil
)
local
g
=
hg
:
RandomSelect
(
tp
,
2
)
local
g
=
hg
:
RandomSelect
(
tp
,
2
)
if
g
:
GetCount
()
<
1
then
return
end
if
g
:
GetCount
()
<
1
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
@@ -85,6 +85,6 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,6 +85,6 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
ct
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
ct
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
GetControl
(
tg
,
tp
,
PHASE_END
)
Duel
.
GetControl
(
g
,
tp
)
end
end
end
end
\ No newline at end of file
script/c100245009.lua
View file @
38dba895
...
@@ -13,7 +13,7 @@ function s.initial_effect(c)
...
@@ -13,7 +13,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
end
function
s
.
filter0
(
c
)
function
s
.
filter0
(
c
)
return
c
:
IsOnField
()
and
c
:
IsAbleToRemove
()
return
c
:
IsOnField
()
and
c
:
IsAbleToRemove
()
...
@@ -72,7 +72,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -72,7 +72,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
e
:
SetLabel
(
op
)
e
:
SetLabel
(
op
)
if
op
==
1
then
if
op
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
cfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
e
:
IsCostChecked
()
then
if
e
:
IsCostChecked
()
then
e
:
SetCategory
(
CATEGORY_TOHAND
)
e
:
SetCategory
(
CATEGORY_TOHAND
)
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
script/c101302071.lua
0 → 100644
View file @
38dba895
--あないみじや玉の緒ふたつ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CONTINUOUS_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
operation
)
c
:
RegisterEffect
(
e1
)
--equip limit
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetValue
(
s
.
eqlimit
)
c
:
RegisterEffect
(
e2
)
--destroy
local
custom_code
=
aux
.
RegisterMergedDelayedEvent_ToSingleCard
(
c
,
id
,
EVENT_SPSUMMON_SUCCESS
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e3
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
custom_code
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetCondition
(
s
.
descon
)
e3
:
SetTarget
(
s
.
destg
)
e3
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
eqlimit
(
e
,
c
)
return
c
:
IsSummonLocation
(
LOCATION_EXTRA
)
and
c
:
IsControler
(
e
:
GetHandlerPlayer
())
end
function
s
.
eqfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSummonLocation
(
LOCATION_EXTRA
)
and
c
:
IsControler
(
tp
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
eqfilter
(
chkc
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
eqfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
SelectTarget
(
tp
,
s
.
eqfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToChain
()
and
tc
:
IsRelateToChain
()
and
tc
:
IsControler
(
tp
)
and
tc
:
IsFaceup
()
then
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
function
s
.
desfilter
(
c
,
tp
,
e
,
ec
)
return
c
:
IsSummonLocation
(
LOCATION_EXTRA
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonPlayer
(
1
-
tp
)(
1
-
tp
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsFaceup
()
and
c
:
IsAttackAbove
(
ec
:
GetAttack
()
+
1
)
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
return
ec
and
eg
:
IsExists
(
s
.
desfilter
,
1
,
nil
,
tp
,
e
,
ec
)
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetEquipTarget
()
local
g
=
eg
:
Filter
(
s
.
desfilter
,
nil
,
tp
,
e
,
ec
)
if
chkc
then
return
g
:
IsContains
(
chkc
)
end
if
chk
==
0
then
return
#
g
>
0
end
local
sg
if
g
:
GetCount
()
==
1
then
sg
=
g
:
Clone
()
Duel
.
SetTargetCard
(
sg
)
else
Duel
.
Hint
(
HINTMSG_DESTROY
,
tp
,
HINTMSG_DESTROY
)
sg
=
Duel
.
SelectTarget
(
tp
,
aux
.
IsInGroup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
g
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
1
,
0
,
0
)
if
sg
:
GetFirst
():
IsFaceup
()
and
math.max
(
0
,
sg
:
GetFirst
():
GetTextAttack
())
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
0
)
end
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetEquipTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
g
=
Group
.
FromCards
(
ec
,
tc
)
if
tc
:
IsRelateToChain
()
and
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
sg
=
Duel
.
GetOperatedGroup
()
local
atk
=
0
for
dc
in
aux
.
Next
(
sg
)
do
atk
=
atk
+
math.max
(
0
,
dc
:
GetTextAttack
())
end
if
atk
>
0
then
Duel
.
Damage
(
tp
,
atk
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
end
end
end
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