Browse Source

spacing cleanup

master
FatBoy-DOTC 1 year ago
parent
commit
23783ec7cd
  1. 4
      src/engine/mobileAI/MobAI.java

4
src/engine/mobileAI/MobAI.java

@ -283,7 +283,7 @@ public class MobAI {
MovementUtilities.aiMove(mob, mob.destination, true); MovementUtilities.aiMove(mob, mob.destination, true);
if (mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardCaptain.ordinal()) { if (mob.BehaviourType.equals(Enum.MobBehaviourType.GuardCaptain)) {
for (Entry<Mob, Integer> minion : mob.siegeMinionMap.entrySet()) { for (Entry<Mob, Integer> minion : mob.siegeMinionMap.entrySet()) {
//make sure mob is out of combat stance //make sure mob is out of combat stance
@ -295,7 +295,6 @@ public class MobAI {
rwss.setPlayer(minion.getKey()); rwss.setPlayer(minion.getKey());
DispatchMessage.sendToAllInRange(minion.getKey(), rwss); DispatchMessage.sendToAllInRange(minion.getKey(), rwss);
} }
if (MovementUtilities.canMove(minion.getKey())) { if (MovementUtilities.canMove(minion.getKey())) {
Vector3f minionOffset = Formation.getOffset(2, minion.getValue() + 3); Vector3f minionOffset = Formation.getOffset(2, minion.getValue() + 3);
minion.getKey().updateLocation(); minion.getKey().updateLocation();
@ -433,6 +432,7 @@ public class MobAI {
} }
return false; return false;
} }
public static boolean GuardCast(Mob mob) { public static boolean GuardCast(Mob mob) {
try { try {

Loading…
Cancel
Save