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
0dc87f98
Commit
0dc87f98
authored
May 16, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1fc58554
Pipeline
#36390
failed with stages
in 1 minute and 10 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
script/c101301054.lua
script/c101301054.lua
+4
-4
No files found.
script/c101301054.lua
View file @
0dc87f98
...
...
@@ -40,6 +40,9 @@ function s.initial_effect(c)
end
end
-- workaround for Engraver
local
ARTMEGIA_COUNT
=
4
function
s
.
AddToAnnounced
(
tp
,
code
)
table.insert
(
s
.
announced
[
tp
],
code
)
s
.
announced_set
[
tp
][
code
]
=
true
...
...
@@ -125,7 +128,7 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
afilter
))
s
.
AddToAnnounced
(
tp
,
ac
)
Duel
.
SetTargetParam
(
ac
)
if
#
codes
>
1
then
if
#
s
.
announce_filter_func
(
e
:
GetHandler
())
<=
9
+
4
*
(
ARTMEGIA_COUNT
-
2
)
then
-- it should be at least two possible choices to make it changeable
Auxiliary
.
DefineGetterTemp
(
getmetatable
(
e
:
GetHandler
()),
"announce_filter"
,
s
.
announce_filter_func
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
...
...
@@ -216,9 +219,6 @@ function Auxiliary.DefineGetterTemp(mt, field, f)
end
)
end
-- workaround for Engraver
local
ARTMEGIA_COUNT
=
4
function
s
.
announce_filter_func
(
c
)
local
tp
=
c
:
GetControler
()
local
exg
=
Duel
.
GetMatchingGroup
(
aux
.
AND
(
Card
.
IsFaceup
,
Card
.
IsSetCard
),
tp
,
LOCATION_MZONE
,
0
,
nil
,
0x2cd
)
...
...
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