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
xiaoye
ygopro-core
Commits
231f1c45
Commit
231f1c45
authored
Feb 14, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean
parent
c8dbe072
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
card.cpp
card.cpp
+1
-2
No files found.
card.cpp
View file @
231f1c45
...
@@ -4077,7 +4077,6 @@ int32_t card::is_can_be_fusion_material(card* fcard, uint32_t summon_type) {
...
@@ -4077,7 +4077,6 @@ int32_t card::is_can_be_fusion_material(card* fcard, uint32_t summon_type) {
return
TRUE
;
return
TRUE
;
}
}
int32_t
card
::
is_can_be_synchro_material
(
card
*
scard
,
card
*
tuner
)
{
int32_t
card
::
is_can_be_synchro_material
(
card
*
scard
,
card
*
tuner
)
{
effect_set
eset
;
if
((
data
.
type
&
(
TYPE_XYZ
|
TYPE_LINK
))
&&
!
get_synchro_level
(
scard
))
if
((
data
.
type
&
(
TYPE_XYZ
|
TYPE_LINK
))
&&
!
get_synchro_level
(
scard
))
return
FALSE
;
return
FALSE
;
if
(
!
(
get_synchro_type
()
&
TYPE_MONSTER
))
if
(
!
(
get_synchro_type
()
&
TYPE_MONSTER
))
...
@@ -4089,7 +4088,7 @@ int32_t card::is_can_be_synchro_material(card* scard, card* tuner) {
...
@@ -4089,7 +4088,7 @@ int32_t card::is_can_be_synchro_material(card* scard, card* tuner) {
if
(
is_affected_by_effect
(
EFFECT_SCRAP_CHIMERA
,
tuner
))
if
(
is_affected_by_effect
(
EFFECT_SCRAP_CHIMERA
,
tuner
))
return
false
;
return
false
;
}
}
e
set
.
clear
()
;
e
ffect_set
eset
;
filter_effect
(
EFFECT_CANNOT_BE_SYNCHRO_MATERIAL
,
&
eset
);
filter_effect
(
EFFECT_CANNOT_BE_SYNCHRO_MATERIAL
,
&
eset
);
for
(
int32_t
i
=
0
;
i
<
eset
.
size
();
++
i
)
for
(
int32_t
i
=
0
;
i
<
eset
.
size
();
++
i
)
if
(
eset
[
i
]
->
get_value
(
scard
))
if
(
eset
[
i
]
->
get_value
(
scard
))
...
...
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