mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 10:47:16 +00:00
Add bot check to DetermineSpellTargets for IsIllusionSpell
This commit is contained in:
1 parent
ef7af5c63f
commit
aa996e7b31
1 file changed
+1
@@ -1939,6 +1939,7 @@ bool Mob::DetermineSpellTargets(uint16 spell_id, Mob *&spell_target, Mob *&ae_ce
|
||||
&& spell_target != nullptr // null ptr crash safeguard
|
||||
&& !spell_target->IsNPC() // still self only if NPC targetted
|
||||
&& IsClient()
|
||||
&& IsOfClientBot()
|
||||
&& (IsGrouped() // still self only if not grouped
|
||||
|| IsRaidGrouped())
|
||||
&& (HasProjectIllusion())){
|
||||
|
||||
Reference in new issue
Block a user