Summon with !hasFollowPath do not walk
This has to do with "randomStepping = true;" in bool Monster::getNextStep(Direction& direction, uint32_t& flags) in monster.cpp.
Note: This should affect only monster's summon, so when isSummon() && getMaster->getPlayer() returns.
I suggest these changes:
if (isSummon() && getMaster()->getPlayer()) { randomStepping = false; // to handle player's summons } else if (isSummon() && !getMaster()->getPlayer() && !hasFollowPath) { randomStepping = true; // to handle monster's summons without a path } else if (!followCreature || !hasFollowPath) { randomStepping = true; // to handle monsters without a path } else if (followCreature) { randomStepping = false; // to handle monsters with a path }
this is tested and works but the code looks messy af XD
notice ghoul and mummy are necromancer's summons.
gif with the changes:
