mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
Add bot check to DetermineSpellTargets for IsIllusionSpell
This commit is contained in:
@@ -1925,6 +1925,7 @@ bool Mob::DetermineSpellTargets(uint16 spell_id, Mob *&spell_target, Mob *&ae_ce
|
|||||||
&& spell_target != nullptr // null ptr crash safeguard
|
&& spell_target != nullptr // null ptr crash safeguard
|
||||||
&& !spell_target->IsNPC() // still self only if NPC targetted
|
&& !spell_target->IsNPC() // still self only if NPC targetted
|
||||||
&& IsClient()
|
&& IsClient()
|
||||||
|
&& IsOfClientBot()
|
||||||
&& (IsGrouped() // still self only if not grouped
|
&& (IsGrouped() // still self only if not grouped
|
||||||
|| IsRaidGrouped())
|
|| IsRaidGrouped())
|
||||||
&& (HasProjectIllusion())){
|
&& (HasProjectIllusion())){
|
||||||
|
|||||||
Reference in New Issue
Block a user