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
479f4593
Commit
479f4593
authored
Jan 28, 2026
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch '233/patch-synchro-1' into 888
parents
9453e29a
5aee64f4
Pipeline
#42738
passed with stages
in 3 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
operations.cpp
operations.cpp
+5
-3
No files found.
operations.cpp
View file @
479f4593
...
...
@@ -5532,7 +5532,7 @@ int32_t field::select_synchro_material(int16_t step, uint8_t playerid, card* pca
card
*
pm
=
*
cit
;
if
(
start
!=
cit
)
std
::
iter_swap
(
start
,
cit
);
if
(
check_other_synchro_material
(
nsyn
,
lv
,
min
-
1
,
max
-
1
,
mcount
+
1
))
if
(
check_other_synchro_material
(
nsyn
,
lv
,
min
-
mcount
,
max
-
mcount
,
mcount
+
1
))
core
.
select_cards
.
push_back
(
pm
);
if
(
start
!=
cit
)
std
::
iter_swap
(
start
,
cit
);
...
...
@@ -5600,6 +5600,7 @@ int32_t field::select_synchro_material(int16_t step, uint8_t playerid, card* pca
}
case
7
:
{
int32_t
lv
=
pcard
->
get_level
();
int32_t
mcount
=
(
int32_t
)
core
.
must_select_cards
.
size
();
if
(
core
.
global_flag
&
GLOBALFLAG_SCRAP_CHIMERA
)
{
effect
*
peffect
=
nullptr
;
for
(
auto
&
pm
:
core
.
select_cards
)
{
...
...
@@ -5646,7 +5647,7 @@ int32_t field::select_synchro_material(int16_t step, uint8_t playerid, card* pca
pduel
->
write_buffer8
(
HINT_SELECTMSG
);
pduel
->
write_buffer8
(
playerid
);
pduel
->
write_buffer32
(
512
);
add_process
(
PROCESSOR_SELECT_SUM
,
0
,
0
,
0
,
lv
,
playerid
,
min
,
max
);
add_process
(
PROCESSOR_SELECT_SUM
,
0
,
0
,
0
,
lv
,
playerid
,
min
-
(
mcount
-
1
),
max
-
(
mcount
-
1
)
);
return
FALSE
;
}
case
8
:
{
...
...
@@ -5674,6 +5675,7 @@ int32_t field::select_synchro_material(int16_t step, uint8_t playerid, card* pca
}
case
10
:
{
int32_t
lv
=
pcard
->
get_level
();
int32_t
mcount
=
(
int32_t
)
core
.
must_select_cards
.
size
();
if
(
returns
.
ivalue
[
0
])
{
effect
*
peffect
=
nullptr
;
for
(
auto
&
pm
:
core
.
select_cards
)
{
...
...
@@ -5699,7 +5701,7 @@ int32_t field::select_synchro_material(int16_t step, uint8_t playerid, card* pca
pduel
->
write_buffer8
(
HINT_SELECTMSG
);
pduel
->
write_buffer8
(
playerid
);
pduel
->
write_buffer32
(
512
);
add_process
(
PROCESSOR_SELECT_SUM
,
0
,
0
,
0
,
lv
,
playerid
,
min
,
max
);
add_process
(
PROCESSOR_SELECT_SUM
,
0
,
0
,
0
,
lv
,
playerid
,
min
-
(
mcount
-
1
),
max
-
(
mcount
-
1
)
);
core
.
units
.
begin
()
->
step
=
7
;
return
FALSE
;
}
...
...
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