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
c4fad765
Commit
c4fad765
authored
Jan 10, 2026
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
b1614214
Pipeline
#42516
passed with stages
in 2 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
script/c101304080.lua
script/c101304080.lua
+6
-6
test-strings.conf
test-strings.conf
+1
-2
No files found.
script/c101304080.lua
View file @
c4fad765
--動点するP
--動点するP
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x
4d
)
c
:
EnableCounterPermit
(
0x
73
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
@@ -33,11 +33,11 @@ function s.initial_effect(c)
...
@@ -33,11 +33,11 @@ function s.initial_effect(c)
end
end
function
s
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x
4d
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x
73
)
end
end
function
s
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
c
:
AddCounter
(
0x
4d
,
1
)
c
:
AddCounter
(
0x
73
,
1
)
end
end
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
local
seq
=
c
:
GetSequence
()
local
seq
=
c
:
GetSequence
()
...
@@ -49,7 +49,7 @@ end
...
@@ -49,7 +49,7 @@ end
function
s
.
seqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
seqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
cfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
cfilter
(
chkc
)
end
if
chk
==
0
then
return
c
:
GetCounter
(
0x
4d
)
>
0
and
Duel
.
IsExistingTarget
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
c
:
GetCounter
(
0x
73
)
>
0
and
Duel
.
IsExistingTarget
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
1
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
1
))
Duel
.
SelectTarget
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SelectTarget
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
())
end
end
...
@@ -70,8 +70,8 @@ function s.seqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,8 +70,8 @@ function s.seqop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToChain
()
then
return
end
if
not
tc
:
IsRelateToChain
()
then
return
end
if
c
:
GetCounter
(
0x
4d
)
==
0
then
return
end
if
c
:
GetCounter
(
0x
73
)
==
0
then
return
end
local
ct
=
c
:
GetCounter
(
0x
4d
)
local
ct
=
c
:
GetCounter
(
0x
73
)
while
ct
>
0
do
while
ct
>
0
do
local
seq
=
tc
:
GetSequence
()
local
seq
=
tc
:
GetSequence
()
if
seq
>
4
then
return
end
if
seq
>
4
then
return
end
...
...
test-strings.conf
View file @
c4fad765
#The first line is used for comment
#The first line is used for comment
!
setname
0
x2db
妖精传姬
!
setname
0
x2db
妖精传姬
!
setname
0
x2dc
道化之一座
!
setname
0
x2dc
道化之一座
!
counter
0
x4c
指示物(召唤冲击)
!
counter
0
x73
T
指示物
!
counter
0
x4d
T
指示物
\ No newline at end of file
\ 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