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
9a0d752c
Commit
9a0d752c
authored
Sep 29, 2025
by
wind2009
Committed by
GitHub
Sep 29, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add EFFECT_EXTRA_SYNCHRO_MATERIAL check in field::check_tuner_material (#793)
parent
1cf899e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
field.cpp
field.cpp
+10
-0
No files found.
field.cpp
View file @
9a0d752c
...
...
@@ -2624,6 +2624,16 @@ int32_t field::check_tuner_material(lua_State* L, card* pcard, card* tuner, int3
return
FALSE
;
}
}
effect
*
extra_synchro_material_effect
=
tuner
->
is_affected_by_effect
(
EFFECT_EXTRA_SYNCHRO_MATERIAL
);
if
(
extra_synchro_material_effect
)
{
if
(
!
extra_synchro_material_effect
->
check_count_limit
(
playerid
))
{
return
FALSE
;
}
int32_t
value
=
extra_synchro_material_effect
->
get_value
(
pcard
);
if
(
value
<=
0
)
{
return
FALSE
;
}
}
int32_t
mzone_limit
=
get_mzone_limit
(
playerid
,
playerid
,
LOCATION_REASON_TOFIELD
);
if
(
mzone_limit
<
0
)
{
if
(
location
==
LOCATION_HAND
)
{
...
...
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