Temple Termagant
Posts: 14
Joined: Saturday, 22nd October 2011, 18:52
Monsters do abjuration instead of summoning in summon spells
many of the monster-initiated Summon spells have a 50% chance of doing a Mass Abjuration instead
of doing the original Summon spell (if there are player's summoned monsters about).
So, er, why?
From mon-cast.cc:2963:
- Code:
case SPELL_SUMMON_DEMON: // class 2-4 demons
if (_mons_abjured(mons, monsterNearby))
return;
sumcount2 = 1 + random2(mons->hit_dice / 10 + 1);
duration = std::min(2 + mons->hit_dice / 10, 6);
for (sumcount = 0; sumcount < sumcount2; sumcount++)
{
create_monster(
mgen_data(summon_any_demon(DEMON_COMMON),
SAME_ATTITUDE(mons), mons, duration, spell_cast,
mons->pos(), mons->foe, 0, god));
}
return;