From fbecac093819cf1e24aab97fd177b93e7c67a71f Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Fri, 20 Dec 2024 09:29:59 -0600 Subject: [PATCH] Allow bots to clear HasProjectIllusion flag --- zone/spells.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index 2cb4151d7..6dbd3e122 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -2664,7 +2664,7 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, in } if(IsIllusionSpell(spell_id) - && IsClient() + && IsOfClientBot() && (HasProjectIllusion())){ LogAA("Effect Project Illusion for [{}] on spell id: [{}] was ON", GetName(), spell_id); SetProjectIllusion(false);