Files
azerothcore-wotlk/src/server/game/Movement
Srđan Panić 0ef71e7aa3 fix(Core/pathing): incorrect pathing of caster mobs when their casts fail due to LOS (#7472)
* Fix incorrect pathing of caster mobs when their casts fail due to LOS

The original problem was that the casters, when their casts were blocked
by a los of line of sight, would not run directly towards the player, but
would rather run around within the spell range until a clear line of
sight was found. This made it near impossible to make casters stop their
casts and force them into melee range by using an obstacle.

This fix makes caster mobs run directly into melee until a clear line of
sight is reached whenever a player hides behind an obstacle regardless of
whether the mob is within spell range or not.

* Cleaning up whitespace

* Tidying up
2021-09-05 12:00:39 +02:00
..
2021-08-25 12:41:20 +02:00
2021-08-25 12:41:20 +02:00