TrinityCore/TrinityCore — Issue #5447: [NPC + Pets] Evade bug when multiple mobs are aggro'd, pets unresponsive
Author: MrSmite
Created: 2012-02-26 20:14:25+00:00
State: open

Rev: c15f7bfc193a2f9e05e999e3ade588002df366e2
OS: XP SP3
DB: 46 + updates

Description:

When you aggro multiple mobs, if you don't maintain attacking the first mob, it will enter evade mode and your pet will stop responding to any commands. It will switch targets but once the new target dies, the pet and the evading mob stand there staring at each other. The pet will not obey commands unless you kill the evading creture with the GM command.

How to duplicate:

Create a Warlock and level it until it gets the spell Corruption
Go to the Night Elf starting area, Shadowglen (X: 10291.902344 Y: 944.761719 Z: 1334.753540 Map: 1
Cast Corruption on three of the Grell but only melee the third, ignoring the first two

Your pet should now be fighting the first Grell you aggro'd. Continue to melee the third Grell and watch your pet suddenly switch targets while the first Grell evades.

After the remaining two Grells are dead (the second and third), your pet and the evading Grell will be stuck until the Grell is killed at which point your pet will resume following.

This is similar to issue https://github.com/TrinityCore/TrinityCore/issues/4943#issuecomment-4168545 but different enough to warrand a separate issue report, IMO)