mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 10:58:20 +00:00
Fixed a couple of merc stat issues and a few bot aggro issues, removed unneeded bot pet AI.
This commit is contained in:
@@ -308,7 +308,7 @@ bool Bot::AICastSpell(Mob* tar, uint8 iChance, uint16 iSpellTypes) {
|
||||
continue;
|
||||
|
||||
// no buffs with illusions.. use #bot command to cast illusions
|
||||
if(IsEffectInSpell(selectedBotSpell.SpellId, SE_Illusion))
|
||||
if(IsEffectInSpell(selectedBotSpell.SpellId, SE_Illusion) && tar != this)
|
||||
continue;
|
||||
|
||||
//no teleport spells use #bot command to cast teleports
|
||||
|
||||
Reference in New Issue
Block a user