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
parent 466e11a60d
commit e3e4b975ce
3 changed files with 3 additions and 0 deletions

View File

@@ -57,6 +57,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 /*isNew*/) override { }

View File

@@ -51,6 +51,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
private:

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;