[Spells] Swarm pet aggro logic fix (#1956)

* temp commit

* swarm pet logic fix

* [Spells] Swarm pet aggro logic fix
This commit is contained in:
KayenEQ
2022-02-03 22:00:52 -05:00
committed by GitHub
parent 4e297f3d96
commit cc0371c16e
4 changed files with 42 additions and 6 deletions
+1 -1
View File
@@ -1349,7 +1349,7 @@ void Mob::AI_Process() {
}
// mob/npc waits until call for help complete, others can move
else if (AI_movement_timer->Check() && target &&
(GetOwnerID() || IsBot() ||
(GetOwnerID() || IsBot() || IsTempPet() ||
CastToNPC()->GetCombatEvent())) {
if (!IsRooted()) {
LogAI("Pursuing [{}] while engaged", target->GetName());