zone override

This commit is contained in:
2024-02-24 22:37:36 -06:00
parent a1f1c5f4a4
commit f992caba3c
+8 -2
View File
@@ -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 {
}
public static void GuardMinionLogic(Mob mob) {
if(mob.guardedCity.getBane() == null){
CheckMobMovement(mob);
return;
}
try {
boolean isComanded = mob.npcOwner.isAlive();
if (!isComanded) {