Commit a5900222 authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:Fluorohydride/ygopro-core

parents 2a8284cd 9a0d752c
......@@ -2651,6 +2651,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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment