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
ffc3dd50
Commit
ffc3dd50
authored
Feb 12, 2025
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
d8007eb9
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
35 additions
and
21 deletions
+35
-21
DBJH.cdb
DBJH.cdb
+0
-0
script/c100236016.lua
script/c100236016.lua
+5
-4
script/c100236017.lua
script/c100236017.lua
+1
-1
script/c100236018.lua
script/c100236018.lua
+1
-1
script/c100236019.lua
script/c100236019.lua
+4
-4
script/c100236020.lua
script/c100236020.lua
+1
-1
script/c100236021.lua
script/c100236021.lua
+3
-3
script/c100236022.lua
script/c100236022.lua
+13
-2
script/c100236023.lua
script/c100236023.lua
+2
-1
script/c100236024.lua
script/c100236024.lua
+5
-4
No files found.
DBJH.cdb
View file @
ffc3dd50
No preview for this file type
script/c100236016.lua
View file @
ffc3dd50
...
...
@@ -40,10 +40,11 @@ function s.spcon(e,c)
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x2c8
)
and
not
c
:
IsCode
(
id
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
return
c
:
IsSetCard
(
0x2c8
)
and
not
c
:
IsCode
(
id
)
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
or
e
:
GetHandler
():
GetFlagEffect
(
id
)
>
0
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
e
:
GetHandler
():
GetFlagEffect
(
id
)
>
0
then
e
:
SetLabel
(
1
)
else
...
...
@@ -54,14 +55,14 @@ end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b2
=
e
:
GetLabel
()
==
1
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
if
b1
and
(
not
b2
or
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
)))
then
if
b1
and
(
not
b2
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
)))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
elseif
b2
then
elseif
e
:
GetLabel
()
==
1
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
...
...
script/c100236017.lua
View file @
ffc3dd50
...
...
@@ -55,7 +55,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
))
then
end
local
b1
=
tc
:
IsFaceup
()
local
b2
=
e
:
GetLabel
()
==
1
if
b1
and
(
not
b2
or
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
)))
then
if
b1
and
(
not
b2
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
)))
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
...
...
script/c100236018.lua
View file @
ffc3dd50
...
...
@@ -56,7 +56,7 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if
not
tc
:
IsRelateToEffect
(
e
)
then
end
local
b1
=
tc
:
IsAbleToDeck
()
local
b2
=
e
:
GetLabel
()
==
1
and
tc
:
IsAbleToRemove
()
if
b1
and
(
not
b2
or
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
)))
then
if
b1
and
(
not
b2
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
)))
then
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
else
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
script/c100236019.lua
View file @
ffc3dd50
--
甜杯猫妖★味奇喵运输
--
カプシー☆ヤミーウェイ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--synchro summon
...
...
@@ -17,7 +17,7 @@ function s.initial_effect(c)
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_HANDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetCost
(
s
.
spcost
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
CheckGroup
(
g
,
f
,
cg
,
min
,
max
,
...
)
...
...
@@ -172,7 +172,7 @@ end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
2
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
>
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
BreakEffect
()
...
...
script/c100236020.lua
View file @
ffc3dd50
--
曲奇猫妖★味奇喵运输
--
クッキィ☆ヤミーウェイ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--synchro summon
...
...
script/c100236021.lua
View file @
ffc3dd50
--
棒棒猫妖★味奇喵运输
--
ロリポー☆ヤミーウェイ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--synchro summon
...
...
@@ -14,7 +14,7 @@ function s.initial_effect(c)
e0
:
SetValue
(
SUMMON_TYPE_SYNCHRO
)
c
:
RegisterEffect
(
e0
)
c
:
EnableReviveLimit
()
--
position change
--
special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetCost
(
s
.
spcost
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
CheckGroup
(
g
,
f
,
cg
,
min
,
max
,
...
)
...
...
script/c100236022.lua
View file @
ffc3dd50
...
...
@@ -34,11 +34,11 @@ function s.stfilter(c,tp)
return
c
:
IsSetCard
(
0x2c8
)
and
c
:
IsType
(
TYPE_FIELD
)
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
end
function
s
.
actg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
stfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
stfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
end
end
function
s
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
stfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
stfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
if
tc
then
local
fc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
)
if
fc
then
...
...
@@ -47,6 +47,17 @@ function s.acop(e,tp,eg,ep,ev,re,r,rp)
end
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
s
.
splimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
s
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
c
:
IsLinkAbove
(
3
)
and
bit
.
band
(
sumtp
,
SUMMON_TYPE_LINK
)
==
SUMMON_TYPE_LINK
end
function
s
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
or
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
...
...
script/c100236023.lua
View file @
ffc3dd50
...
...
@@ -85,7 +85,8 @@ end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
sg
=
Duel
.
GetTargetsRelateToChain
()
if
c
:
IsRelateToEffect
(
e
)
then
g
:
AddCard
(
c
)
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
sg
:
AddCard
(
c
)
if
#
sg
==
0
then
return
end
aux
.
PlaceCardsOnDeckBottom
(
tp
,
sg
)
end
\ No newline at end of file
script/c100236024.lua
View file @
ffc3dd50
...
...
@@ -64,11 +64,11 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
function
s
.
cfilter
(
c
,
tp
,
rp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)
function
s
.
cfilter
2
(
c
,
tp
,
rp
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
,
rp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
return
eg
:
IsExists
(
s
.
cfilter
2
,
1
,
nil
,
tp
,
rp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
end
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x2c8
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
@@ -102,7 +102,8 @@ end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
sg
=
Duel
.
GetTargetsRelateToChain
()
if
c
:
IsRelateToEffect
(
e
)
then
g
:
AddCard
(
c
)
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
sg
:
AddCard
(
c
)
if
#
sg
==
0
then
return
end
aux
.
PlaceCardsOnDeckBottom
(
tp
,
sg
)
end
\ No newline at end of file
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