mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 13:57:16 +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:
1 parent
b15cb08f54
commit
e2f25d1c92
6 files changed
+37
-82
No files matched your search
@@ -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