Browse Source

zone override

birdbane
FatBoy-DOTC 9 months ago
parent
commit
f992caba3c
  1. 10
      src/engine/mobileAI/MobAI.java

10
src/engine/mobileAI/MobAI.java

@ -1030,7 +1030,10 @@ public class MobAI { @@ -1030,7 +1030,10 @@ public class MobAI {
}
public static void GuardCaptainLogic(Mob mob) {
if(mob.guardedCity.getBane() == null){
CheckMobMovement(mob);
return;
}
try {
if (mob.getCombatTarget() == null)
CheckForPlayerGuardAggro(mob);
@ -1054,7 +1057,10 @@ public class MobAI { @@ -1054,7 +1057,10 @@ public class MobAI {
}
public static void GuardMinionLogic(Mob mob) {
if(mob.guardedCity.getBane() == null){
CheckMobMovement(mob);
return;
}
try {
boolean isComanded = mob.npcOwner.isAlive();
if (!isComanded) {

Loading…
Cancel
Save