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

Loading…
Cancel
Save