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
533ab500
Commit
533ab500
authored
Jan 12, 2026
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
6d90fdb8
Pipeline
#42540
passed with stages
in 2 minutes and 5 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
14 deletions
+6
-14
script/c101304061.lua
script/c101304061.lua
+3
-7
script/c101304073.lua
script/c101304073.lua
+3
-7
No files found.
script/c101304061.lua
View file @
533ab500
...
...
@@ -44,15 +44,11 @@ end
function
s
.
filter2
(
c
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
s
.
filter3
(
c
)
return
not
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
s
.
gcheck
(
g
,
tp
,
ft
,
eft
,
ect
)
function
s
.
gcheck
(
g
,
tp
,
eft
,
ect
)
return
g
:
FilterCount
(
s
.
filter
,
nil
)
<=
eft
and
g
:
FilterCount
(
s
.
filter2
,
nil
)
<=
ect
and
g
:
FilterCount
(
s
.
filter3
,
nil
)
<=
ect
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
Get
UsableMZoneCount
(
tp
)
local
eft
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_PENDULUM
)
if
ft
>
0
then
if
ft
>=
2
then
ft
=
2
end
...
...
@@ -64,7 +60,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
spfilter
,
tp
,
loc
,
0
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
1
,
ct
,
tp
,
ft
,
eft
,
ect
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
1
,
ct
,
tp
,
eft
,
ect
)
if
sg
:
GetCount
()
>
0
then
local
exg
=
sg
:
Filter
(
s
.
filter
,
nil
)
sg
:
Sub
(
exg
)
...
...
script/c101304073.lua
View file @
533ab500
...
...
@@ -70,16 +70,12 @@ end
function
s
.
filter2
(
c
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
s
.
filter3
(
c
)
return
not
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
s
.
gcheck
(
g
,
tp
,
ft
,
eft
,
ect
)
function
s
.
gcheck
(
g
,
tp
,
eft
,
ect
)
return
g
:
FilterCount
(
s
.
filter
,
nil
)
<=
eft
and
g
:
FilterCount
(
s
.
filter2
,
nil
)
<=
ect
and
g
:
FilterCount
(
s
.
filter3
,
nil
)
<=
ect
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetLabel
()
==
1
then
local
ft
=
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
Get
UsableMZoneCount
(
tp
)
local
eft
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_PENDULUM
)
if
ft
>
0
then
if
ft
>=
2
then
ft
=
2
end
...
...
@@ -91,7 +87,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
spfilter
,
tp
,
loc
,
0
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
1
,
ct
,
tp
,
ft
,
eft
,
ect
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
1
,
ct
,
tp
,
eft
,
ect
)
if
sg
:
GetCount
()
>
0
then
local
exg
=
sg
:
Filter
(
s
.
filter
,
nil
)
sg
:
Sub
(
exg
)
...
...
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