Commit e0b255a7 authored by nekrozar's avatar nekrozar Committed by mercury233

update EFFECT_SPSUMMON_PROC (#109)

parent e1bf58a5
......@@ -2495,8 +2495,11 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card * target, ui
}
if(positions == 0)
positions = POS_FACEUP_ATTACK;
uint32 zone = (peffect->get_value(target) >> 16) & 0xff;
if(zone == 0)
zone = 0xff;
target->enable_field_effect(false);
move_to_field(target, sumplayer, targetplayer, LOCATION_MZONE, positions);
move_to_field(target, sumplayer, targetplayer, LOCATION_MZONE, positions, FALSE, 0, FALSE, zone);
target->current.reason = REASON_SPSUMMON;
target->current.reason_effect = peffect;
target->current.reason_player = sumplayer;
......
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