Commit eea35b84 authored by mercury233's avatar mercury233

fix extra mset

parent aba66bc2
...@@ -2178,7 +2178,7 @@ int32 field::mset(uint16 step, uint8 setplayer, card* target, effect* proc, uint ...@@ -2178,7 +2178,7 @@ int32 field::mset(uint16 step, uint8 setplayer, card* target, effect* proc, uint
int32 rcount = target->get_set_tribute_count(); int32 rcount = target->get_set_tribute_count();
int32 min = rcount & 0xffff; int32 min = rcount & 0xffff;
int32 max = (rcount >> 16) & 0xffff; int32 max = (rcount >> 16) & 0xffff;
if(!is_player_can_summon(SUMMON_TYPE_ADVANCE, setplayer, target, setplayer)) if(!is_player_can_mset(SUMMON_TYPE_ADVANCE, setplayer, target, setplayer))
max = 0; max = 0;
if(min < (int32)min_tribute) if(min < (int32)min_tribute)
min = min_tribute; min = min_tribute;
......
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