mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-21 02:18:26 +00:00
Allow bots to clear HasProjectIllusion flag
This commit is contained in:
+1
-1
@@ -2664,7 +2664,7 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, in
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(IsIllusionSpell(spell_id)
|
if(IsIllusionSpell(spell_id)
|
||||||
&& IsClient()
|
&& IsOfClientBot()
|
||||||
&& (HasProjectIllusion())){
|
&& (HasProjectIllusion())){
|
||||||
LogAA("Effect Project Illusion for [{}] on spell id: [{}] was ON", GetName(), spell_id);
|
LogAA("Effect Project Illusion for [{}] on spell id: [{}] was ON", GetName(), spell_id);
|
||||||
SetProjectIllusion(false);
|
SetProjectIllusion(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user