AI/TotemAI: Tell Shaman Totems to stay put and stop moving. Closes #23498.

This commit is contained in:
Treeston
2019-06-24 02:29:51 +02:00
committed by Ovahlord
parent db3282e65a
commit 49ca6b88b0
3 changed files with 3 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ class TC_GAME_API NullCreatureAI : public CreatureAI
void MoveInLineOfSight(Unit*) override { }
void AttackStart(Unit*) override { }
void UpdateAI(uint32) override { }
void JustAppeared() override { }
void EnterEvadeMode(EvadeReason /*why*/) override { }
void OnCharmed(bool /*apply*/) override { }

View File

@@ -49,6 +49,7 @@ class TC_GAME_API PetAI : public CreatureAI
//
void MoveInLineOfSight(Unit* /*who*/) override { } // CreatureAI interferes with returning pets
void MoveInLineOfSight_Safe(Unit* /*who*/) { } // CreatureAI interferes with returning pets
void JustAppeared() override { } // we will control following manually
void EnterEvadeMode(EvadeReason /*why*/) override { } // For fleeing, pets don't use this type of Evade mechanic
void OnCharmed(bool /*apply*/) override;

View File

@@ -32,6 +32,7 @@ class TC_GAME_API TotemAI : public CreatureAI
void MoveInLineOfSight(Unit* who) override;
void AttackStart(Unit* victim) override;
void JustAppeared() override { }
void EnterEvadeMode(EvadeReason /*why*/) override;
void UpdateAI(uint32 diff) override;