Browse Source

hamlet guard aggro fix

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

8
src/engine/ai/MobileFSM.java

@ -583,9 +583,13 @@ public class MobileFSM { @@ -583,9 +583,13 @@ public class MobileFSM {
if (mob.getCombatTarget() == null) {
//safehold guard
SafeGuardAggro(mob);
if (mob.getCombatTarget() != null)
CheckForAttack(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){

Loading…
Cancel
Save