|
|
|
@ -243,7 +243,12 @@ public class MobAI {
@@ -243,7 +243,12 @@ public class MobAI {
|
|
|
|
|
target.setCombatTarget(mob); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
target.setCombatTarget(mob); |
|
|
|
|
if(target.isAlive()) |
|
|
|
|
target.setCombatTarget(mob); |
|
|
|
|
|
|
|
|
|
if(target.isPet() && target.isAlive() == false && target.guardCaptain.isAlive() == true){ |
|
|
|
|
mob.setCombatTarget(target.guardCaptain); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
Logger.info(mob.getObjectUUID() + " " + mob.getName() + " Failed At: AttackMob" + " " + e.getMessage()); |
|
|
|
|
} |
|
|
|
|