Allow bots to clear HasProjectIllusion flag

This commit is contained in:
nytmyr
2024-12-20 09:29:59 -06:00
parent eaa1f67802
commit fbecac0938
+1 -1
View File
@@ -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);