Commit 7a6fc866 authored by mercury233's avatar mercury233

fix min decreased twice

parent 5aee64f4
...@@ -5366,13 +5366,10 @@ int32_t field::select_synchro_material(int16_t step, uint8_t playerid, card* pca ...@@ -5366,13 +5366,10 @@ int32_t field::select_synchro_material(int16_t step, uint8_t playerid, card* pca
} }
if(!smat) if(!smat)
return FALSE; return FALSE;
--min;
--max;
core.units.begin()->arg2 = min + (max << 16);
effect* pcheck = tuner->is_affected_by_effect(EFFECT_SYNCHRO_CHECK); effect* pcheck = tuner->is_affected_by_effect(EFFECT_SYNCHRO_CHECK);
if(pcheck) if(pcheck)
pcheck->get_value(smat); pcheck->get_value(smat);
if(min == 0) { if(min == 1) {
group* pgroup = pduel->new_group(); group* pgroup = pduel->new_group();
pgroup->container.insert(tuner); pgroup->container.insert(tuner);
pgroup->container.insert(smat); pgroup->container.insert(smat);
......
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