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
MyCard
pre-release-database-cdb
Commits
39d30c0e
Commit
39d30c0e
authored
Jun 13, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
4b7017a8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
19 deletions
+24
-19
DOOD.cdb
DOOD.cdb
+0
-0
script/c101302020.lua
script/c101302020.lua
+1
-1
script/c101302021.lua
script/c101302021.lua
+5
-5
script/c101302065.lua
script/c101302065.lua
+18
-13
No files found.
DOOD.cdb
View file @
39d30c0e
No preview for this file type
script/c101302020.lua
View file @
39d30c0e
...
@@ -45,7 +45,7 @@ function s.negcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function s.negcon(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
IsChainDisablable
(
ev
)
and
not
Duel
.
IsChainDisabled
(
ev
)
and
Duel
.
IsChainDisablable
(
ev
)
and
not
Duel
.
IsChainDisabled
(
ev
)
end
end
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
())
then
if
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
()
,
aux
.
Stringid
(
id
,
3
)
)
then
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
Duel
.
NegateEffect
(
ev
)
then
if
Duel
.
NegateEffect
(
ev
)
then
...
...
script/c101302021.lua
View file @
39d30c0e
...
@@ -9,7 +9,7 @@ function s.initial_effect(c)
...
@@ -9,7 +9,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
s
.
thcon
)
e1
:
SetCondition
(
s
.
thcon
)
e1
:
SetTarget
(
s
.
thtg
)
e1
:
SetTarget
(
s
.
thtg
)
...
@@ -58,7 +58,7 @@ function s.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,7 +58,7 @@ function s.thcon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
s
.
rthfilter
(
c
)
function
s
.
rthfilter
(
c
)
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x162
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
id
)
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x162
)
and
c
:
IsAbleToHand
()
end
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_PZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
rthfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_PZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
rthfilter
(
chkc
)
end
...
@@ -99,7 +99,7 @@ function s.chkcon(g,tp)
...
@@ -99,7 +99,7 @@ function s.chkcon(g,tp)
end
end
function
s
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
scfilter
,
tp
,
LOCATION_PZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
scfilter
,
tp
,
LOCATION_PZONE
,
0
,
nil
)
return
s
.
chkcon
(
g
,
tp
)
return
s
.
chkcon
(
g
,
tp
)
end
end
function
s
.
effectfilter
(
e
,
ct
)
function
s
.
effectfilter
(
e
,
ct
)
local
p
=
e
:
GetHandler
():
GetControler
()
local
p
=
e
:
GetHandler
():
GetControler
()
...
@@ -113,7 +113,7 @@ function s.thcon3(e,tp,eg,ep,ev,re,r,rp)
...
@@ -113,7 +113,7 @@ function s.thcon3(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
s
.
cfilter2
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
s
.
cfilter2
,
1
,
nil
,
tp
)
end
end
function
s
.
thfilter2
(
c
)
function
s
.
thfilter2
(
c
)
return
c
:
IsFaceupEx
()
and
not
c
:
IsCode
(
id
)
and
c
:
IsSetCard
(
0x162
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x162
)
and
c
:
IsAbleToHand
()
end
end
function
s
.
thtg3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
thtg3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter2
,
tp
,
LOCATION_EXTRA
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter2
,
tp
,
LOCATION_EXTRA
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
@@ -121,7 +121,7 @@ function s.thtg3(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -121,7 +121,7 @@ function s.thtg3(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
thop3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thop3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter2
,
tp
,
LOCATION_EXTRA
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
thfilter2
)
,
tp
,
LOCATION_EXTRA
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
#
g
>
0
then
if
#
g
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
script/c101302065.lua
View file @
39d30c0e
...
@@ -12,7 +12,7 @@ function s.initial_effect(c)
...
@@ -12,7 +12,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x162
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleTo
Grave
()
return
c
:
IsSetCard
(
0x162
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleTo
Hand
()
end
end
function
s
.
gcheck
(
g
)
function
s
.
gcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetCurrentScale
)
==
2
return
g
:
GetClassCount
(
Card
.
GetCurrentScale
)
==
2
...
@@ -21,13 +21,16 @@ function s.spfilter(c,e,tp)
...
@@ -21,13 +21,16 @@ function s.spfilter(c,e,tp)
return
c
:
IsSetCard
(
0x162
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x162
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
b1
=
g
:
CheckSubGroup
(
s
.
gcheck
,
2
,
2
)
local
b1
=
g
:
CheckSubGroup
(
s
.
gcheck
,
2
,
2
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
,
REASON_EFFECT
)
and
(
not
e
:
IsCostChecked
()
and
(
not
e
:
IsCostChecked
()
or
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
)
or
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
)
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
id
+
o
*
3
)
==
0
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
id
+
o
*
3
)
==
0
local
b3
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
(
not
e
:
IsCostChecked
()
or
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
)
local
b3
=
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_PZONE
,
0
,
2
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_PZONE
,
0
,
2
,
nil
,
e
,
tp
)
and
(
not
e
:
IsCostChecked
()
and
(
not
e
:
IsCostChecked
()
...
@@ -43,20 +46,20 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -43,20 +46,20 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
op
)
e
:
SetLabel
(
op
)
if
op
==
1
then
if
op
==
1
then
if
e
:
IsCostChecked
()
then
if
e
:
IsCostChecked
()
then
e
:
SetCategory
(
CATEGORY_
SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
)
e
:
SetCategory
(
CATEGORY_
HANDES
|
CATEGORY_SEARCH
|
CATEGORY_TOHAND
|
CATEGORY_SPECIAL_SUMMON
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
elseif
op
==
2
then
elseif
op
==
2
then
if
e
:
IsCostChecked
()
then
if
e
:
IsCostChecked
()
then
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
SetCategory
(
0
)
e
:
SetCategory
(
0
)
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
elseif
op
==
3
then
elseif
op
==
3
then
if
e
:
IsCostChecked
()
then
if
e
:
IsCostChecked
()
then
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
*
2
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
*
2
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_PZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_PZONE
)
end
end
...
@@ -67,13 +70,14 @@ end
...
@@ -67,13 +70,14 @@ end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
if
Duel
.
DiscardHand
(
tp
,
aux
.
TRUE
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
==
0
then
return
end
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
,
REASON_EFFECT
)
==
0
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
#
g
>
0
then
if
#
g
>
0
and
g
:
CheckSubGroup
(
s
.
gcheck
,
2
,
2
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
2
,
2
)
local
ag
=
g
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
2
,
2
)
if
sg
then
if
ag
then
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
ag
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
ag
)
local
dt
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
dt
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
return
end
if
ft
<=
0
then
return
end
...
@@ -84,6 +88,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,6 +88,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
ft
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
ft
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
ShuffleHand
(
tp
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
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