Browse Source

guards use hate value

master
FatBoy-DOTC 1 year ago
parent
commit
59c976c073
  1. 3
      src/engine/mobileAI/MobAI.java

3
src/engine/mobileAI/MobAI.java

@ -1058,7 +1058,10 @@ public class MobAI { @@ -1058,7 +1058,10 @@ public class MobAI {
try {
if (mob.getCombatTarget() == null)
CheckForPlayerGuardAggro(mob);
AbstractWorldObject newTarget = ChangeTargetFromHateValue(mob);
if (newTarget != null)
mob.setCombatTarget(newTarget);
CheckMobMovement(mob);
CheckForAttack(mob);
} catch (Exception e) {

Loading…
Cancel
Save