mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
AI/TotemAI: Tell Shaman Totems to stay put and stop moving. Closes #23498.
This commit is contained in:
@@ -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 { }
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user