Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
nanahira
ygopro-core
Commits
005b600e
Commit
005b600e
authored
Feb 10, 2026
by
mercury233
Committed by
GitHub
Feb 10, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix special_summon_rule fail didn't clear core.limit_* (#817)
parent
01586d9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
4 deletions
+29
-4
operations.cpp
operations.cpp
+29
-4
No files found.
operations.cpp
View file @
005b600e
...
...
@@ -2708,8 +2708,10 @@ int32_t field::special_summon_rule(uint16_t step, uint8_t sumplayer, card* targe
info
.
limit_link_maxc
=
core
.
limit_link_maxc
;
target
->
filter_spsummon_procedure
(
sumplayer
,
&
eset
,
summon_type
,
info
);
target
->
filter_spsummon_procedure_g
(
sumplayer
,
&
eset
);
if
(
!
eset
.
size
())
return
TRUE
;
if
(
!
eset
.
size
())
{
core
.
units
.
begin
()
->
step
=
17
;
return
FALSE
;
}
core
.
select_effects
.
clear
();
core
.
select_options
.
clear
();
for
(
effect_set
::
size_type
i
=
0
;
i
<
eset
.
size
();
++
i
)
{
...
...
@@ -2759,8 +2761,10 @@ int32_t field::special_summon_rule(uint16_t step, uint8_t sumplayer, card* targe
return
FALSE
;
}
case
2
:
{
if
(
!
returns
.
ivalue
[
0
])
return
TRUE
;
if
(
!
returns
.
ivalue
[
0
])
{
core
.
units
.
begin
()
->
step
=
17
;
return
FALSE
;
}
effect_set
eset
;
target
->
filter_effect
(
EFFECT_SPSUMMON_COST
,
&
eset
);
if
(
eset
.
size
())
{
...
...
@@ -2982,6 +2986,27 @@ int32_t field::special_summon_rule(uint16_t step, uint8_t sumplayer, card* targe
}
return
TRUE
;
}
case
18
:
{
if
(
core
.
limit_tuner
)
{
core
.
limit_tuner
=
0
;
}
if
(
core
.
limit_syn
)
{
pduel
->
delete_group
(
core
.
limit_syn
);
core
.
limit_syn
=
0
;
}
if
(
core
.
limit_xyz
)
{
pduel
->
delete_group
(
core
.
limit_xyz
);
core
.
limit_xyz
=
0
;
}
if
(
core
.
limit_link_card
)
{
core
.
limit_link_card
=
0
;
}
if
(
core
.
limit_link
)
{
pduel
->
delete_group
(
core
.
limit_link
);
core
.
limit_link
=
0
;
}
return
TRUE
;
}
case
20
:
{
// EFFECT_SPSUMMON_PROC_G (Pendulum Summon)
effect
*
peffect
=
core
.
units
.
begin
()
->
peffect
;
...
...
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