Browse Source

mobs attack pets

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
8890e02981
  1. 2
      src/engine/mobileAI/MobAI.java

2
src/engine/mobileAI/MobAI.java

@ -249,7 +249,7 @@ public class MobAI { @@ -249,7 +249,7 @@ public class MobAI {
if(target.isPet() && target.isAlive() == false && target.guardCaptain.isAlive() == true){
mob.setCombatTarget(target.guardCaptain);
}
if(target.level > 75){
if(mob.isPet()){
AttackMob(target,mob);
}
} catch (Exception e) {

Loading…
Cancel
Save