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
ace4c63e
Commit
ace4c63e
authored
Jul 25, 2025
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
a14faeec
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
17 deletions
+18
-17
DOOD.cdb
DOOD.cdb
+0
-0
script/c101302072.lua
script/c101302072.lua
+10
-10
script/c101302080.lua
script/c101302080.lua
+6
-6
test-strings.conf
test-strings.conf
+2
-1
No files found.
DOOD.cdb
View file @
ace4c63e
No preview for this file type
script/c101302072.lua
View file @
ace4c63e
--黙歯錄
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x
6f
)
c
:
EnableCounterPermit
(
0x
70
)
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_COUNTER
)
...
...
@@ -24,33 +24,33 @@ function s.initial_effect(c)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
chk
==
0
then
return
ct
>
0
and
Duel
.
IsCanAddCounter
(
tp
,
0x
6f
,
ct
,
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
ct
,
0
,
0x
6f
)
if
chk
==
0
then
return
ct
>
0
and
Duel
.
IsCanAddCounter
(
tp
,
0x
70
,
ct
,
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
ct
,
0
,
0x
70
)
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ct
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
c
:
IsRelateToChain
()
and
ct
>
0
then
c
:
AddCounter
(
0x
6f
,
ct
)
c
:
AddCounter
(
0x
70
,
ct
)
end
end
function
s
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
c
:
IsCanRemoveCounter
(
tp
,
0x
6f
,
1
,
REASON_COST
)
if
chk
==
0
then
return
c
:
IsCanRemoveCounter
(
tp
,
0x
70
,
1
,
REASON_COST
)
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
):
GetFirst
()
local
b1
=
c
:
IsCanRemoveCounter
(
tp
,
0x
6f
,
1
,
REASON_COST
)
local
b2
=
not
tc
:
IsAttack
(
0
)
and
c
:
IsCanRemoveCounter
(
tp
,
0x
6f
,
2
,
REASON_COST
)
local
b3
=
aux
.
NegateEffectMonsterFilter
(
tc
)
and
c
:
IsCanRemoveCounter
(
tp
,
0x
6f
,
3
,
REASON_COST
)
local
b4
=
c
:
IsCanRemoveCounter
(
tp
,
0x
6f
,
4
,
REASON_COST
)
local
b1
=
c
:
IsCanRemoveCounter
(
tp
,
0x
70
,
1
,
REASON_COST
)
local
b2
=
not
tc
:
IsAttack
(
0
)
and
c
:
IsCanRemoveCounter
(
tp
,
0x
70
,
2
,
REASON_COST
)
local
b3
=
aux
.
NegateEffectMonsterFilter
(
tc
)
and
c
:
IsCanRemoveCounter
(
tp
,
0x
70
,
3
,
REASON_COST
)
local
b4
=
c
:
IsCanRemoveCounter
(
tp
,
0x
70
,
4
,
REASON_COST
)
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
id
,
1
),
1
},
{
b2
,
aux
.
Stringid
(
id
,
2
),
2
},
{
b3
,
aux
.
Stringid
(
id
,
3
),
3
},
{
b4
,
aux
.
Stringid
(
id
,
4
),
4
})
c
:
RemoveCounter
(
tp
,
0x
6f
,
op
,
REASON_COST
)
c
:
RemoveCounter
(
tp
,
0x
70
,
op
,
REASON_COST
)
if
op
==
1
or
op
==
2
then
e
:
SetCategory
(
CATEGORY_ATKCHANGE
)
elseif
op
==
3
then
...
...
script/c101302080.lua
View file @
ace4c63e
--
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x7
0
)
c
:
EnableCounterPermit
(
0x7
1
)
--Activate
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -58,20 +58,20 @@ function s.coucon(e,tp,eg,ep,ev,re,r,rp)
return
rp
==
1
-
tp
end
function
s
.
coutg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanAddCounter
(
tp
,
0x7
0
,
Duel
.
GetCurrentChain
(),
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
Duel
.
GetCurrentChain
(),
0
,
0x7
0
)
if
chk
==
0
then
return
Duel
.
IsCanAddCounter
(
tp
,
0x7
1
,
Duel
.
GetCurrentChain
(),
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
Duel
.
GetCurrentChain
(),
0
,
0x7
1
)
end
function
s
.
couop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToChain
()
then
c
:
AddCounter
(
0x7
0
,
Duel
.
GetCurrentChain
())
c
:
AddCounter
(
0x7
1
,
Duel
.
GetCurrentChain
())
end
end
function
s
.
cicon
(
e
)
return
e
:
GetHandler
():
GetCounter
(
0x7
0
)
<
10
return
e
:
GetHandler
():
GetCounter
(
0x7
1
)
<
10
end
function
s
.
adjustcon
(
e
)
return
e
:
GetHandler
():
GetCounter
(
0x7
0
)
>
9
return
e
:
GetHandler
():
GetCounter
(
0x7
1
)
>
9
end
function
s
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
...
...
test-strings.conf
View file @
ace4c63e
...
...
@@ -6,4 +6,5 @@
!
setname
0
x2d2
奏悦机组
!
setname
0
x2d3
终刻
!
setname
0
x2d4
不可见
!
counter
0
x70
蚀齿指示物
!
counter
0
x71
皿指示物
\ 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