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
4afb14e4
Commit
4afb14e4
authored
Jul 25, 2025
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
43de49a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
script/c101302048.lua
script/c101302048.lua
+4
-3
No files found.
script/c101302048.lua
View file @
4afb14e4
...
...
@@ -67,19 +67,20 @@ function s.efilter(re)
return
te
==
re
and
te
:
IsActivated
()
end
end
function
s
.
setfilter
(
c
)
function
s
.
setfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSSetable
()
and
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
or
c
:
IsType
(
TYPE_FIELD
))
end
function
s
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
e
:
GetHandler
():
GetOverlayGroup
()
if
chk
==
0
then
return
g
:
IsExists
(
s
.
setfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
g
:
IsExists
(
s
.
setfilter
,
1
,
nil
,
tp
)
end
end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToChain
()
then
local
g
=
c
:
GetOverlayGroup
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg
=
g
:
FilterSelect
(
tp
,
s
.
setfilter
,
1
,
1
,
nil
)
local
sg
=
g
:
FilterSelect
(
tp
,
s
.
setfilter
,
1
,
1
,
nil
,
tp
)
if
sg
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
sg
:
GetFirst
())
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