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
4177d62e
Commit
4177d62e
authored
May 19, 2025
by
wind2009
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Auxiliary.RegisterMergedDelayedEvent_ToSingleCard
parent
365a8081
Pipeline
#36509
passed with stages
in 3 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
script/utility.lua
script/utility.lua
+3
-5
No files found.
script/utility.lua
View file @
4177d62e
...
...
@@ -1631,7 +1631,7 @@ function Auxiliary.MergedDelayEventCheck2(e,tp,eg,ep,ev,re,r,rp)
end
end
--Once the card has been moved to the public area, it should be listened to again
Auxiliary
.
merge_single_effects
=
{}
Auxiliary
.
merge_single_effect
_code
s
=
{}
function
Auxiliary
.
RegisterMergedDelayedEvent_ToSingleCard
(
c
,
code
,
events
)
local
g
=
Group
.
CreateGroup
()
g
:
KeepAlive
()
...
...
@@ -1665,7 +1665,7 @@ function Auxiliary.RegisterMergedDelayedEvent_ToSingleCard(c,code,events)
e3
:
SetLabelObject
(
g
)
e3
:
SetOperation
(
Auxiliary
.
ThisCardMovedToPublicResetCheck_ToSingleCard
)
c
:
RegisterEffect
(
e3
)
table.insert
(
Auxiliary
.
merge_single_effects
,
e3
)
Auxiliary
.
merge_single_effect_codes
[
event_code_single
]
=
g
--use global effect to raise event for face-down cards
if
not
Auxiliary
.
merge_single_global_check
then
Auxiliary
.
merge_single_global_check
=
true
...
...
@@ -1730,9 +1730,7 @@ function Auxiliary.MergedDelayEventCheck2_ToSingleCard(e,tp,eg,ep,ev,re,r,rp)
end
end
function
Auxiliary
.
RegisterMergedDelayedEvent_ToSingleCard_RaiseEvent
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
_
,
mse
in
ipairs
(
Auxiliary
.
merge_single_effects
)
do
local
code
=
mse
:
GetLabel
()
local
g
=
mse
:
GetLabelObject
()
for
code
,
g
in
ipairs
(
Auxiliary
.
merge_single_effect_codes
)
do
if
g
and
#
g
>
0
then
local
_eg
=
g
:
Clone
()
Duel
.
RaiseEvent
(
_eg
,
code
,
re
,
r
,
rp
,
ep
,
ev
)
...
...
wind2009
@wind2009
mentioned in commit
0d702ab9
·
May 19, 2025
mentioned in commit
0d702ab9
mentioned in commit 0d702ab96345c4b30a9e681bd948bfe23a3a97ac
Toggle commit list
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