Browse Source

hamlet guard aggro fix

master
FatBoy-DOTC 1 year ago
parent
commit
4e5c77ec47
  1. 6
      src/engine/ai/MobileFSM.java

6
src/engine/ai/MobileFSM.java

@ -583,10 +583,14 @@ public class MobileFSM { @@ -583,10 +583,14 @@ public class MobileFSM {
if (mob.getCombatTarget() == null) {
//safehold guard
SafeGuardAggro(mob);
} else{
if(mob.combatTarget.isAlive() == false){
SafeGuardAggro(mob);
}
}
if (mob.getCombatTarget() != null)
CheckForAttack(mob);
}
}
private static void DefaultLogic(Mob mob) {
if(mob.getObjectUUID() == 40548){
int thing = 0;

Loading…
Cancel
Save