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