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

This commit is contained in:
badcaptain
2013-04-25 00:42:52 -04:00
parent b15cb08f54
commit e2f25d1c92
6 changed files with 37 additions and 82 deletions
+9
View File
@@ -1083,6 +1083,15 @@ void Mob::AI_Process() {
RemoveFromHateList(this);
return;
}
#ifdef BOTS
if (IsPet() && GetOwner()->IsBot() && target == GetOwner())
{
// this blocks all pet attacks against owner..bot pet test (copied above check)
RemoveFromHateList(this);
return;
}
#endif //BOTS
if(DivineAura())
return;