bane commander NPC

This commit is contained in:
2024-12-28 05:09:51 -06:00
parent b3a24d0158
commit 5a9901d775
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -166,9 +166,12 @@ public class MobAI {
try {
if(mob == null || target == null)
return;
if (target.getRank() == -1 || !target.isVulnerable() || BuildingManager.getBuildingFromCache(target.getObjectUUID()) == null) {
mob.setCombatTarget(null);
return;
return;
}
City playercity = ZoneManager.getCityAtLocation(mob.getLoc());