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

This commit is contained in:
Treeston authored and Ovahlord committed 2020-07-22 18:40:07 +02:00
1 parent db3282e65a
commit 49ca6b88b0
3 files changed
+3

No files matched your search

+1
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 { }
+1
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;
+1
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;