Fixed a couple of merc stat issues and a few bot aggro issues, removed unneeded bot pet AI.

This commit is contained in:
badcaptain committed 2013-04-25 00:42:52 -04:00
1 parent b15cb08f54
commit e2f25d1c92
6 files changed
+37 -82

No files matched your search

+1 -1
View File
@@ -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