Browse Source

mob drop aggro check

lakebane
FatBoy-DOTC 5 days ago
parent
commit
6cf502c4bb
  1. 4
      src/engine/mobileAI/MobAI.java

4
src/engine/mobileAI/MobAI.java

@ -1068,8 +1068,8 @@ public class MobAI {
if(mob.combatTarget == null) if(mob.combatTarget == null)
return; return;
if(city._playerMemory.contains(mob.combatTarget.getObjectUUID()) && mob.combatTarget.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)) //if(city._playerMemory.contains(mob.combatTarget.getObjectUUID()) && mob.combatTarget.getObjectType().equals(Enum.GameObjectType.PlayerCharacter))
mob.setCombatTarget(null); // mob.setCombatTarget(null);
} }
public static void GuardCaptainLogic(Mob mob) { public static void GuardCaptainLogic(Mob mob) {

Loading…
Cancel
Save