Browse Source

mobs no longer try to cancel auto-attack jobs they dont have

combat-3
FatBoy-DOTC 7 months ago
parent
commit
4f28fefbc2
  1. 2
      src/engine/gameManager/CombatManager.java

2
src/engine/gameManager/CombatManager.java

@ -632,6 +632,8 @@ public enum CombatManager { @@ -632,6 +632,8 @@ public enum CombatManager {
}
public static void cancelAutoAttackJob(AbstractCharacter attacker, mbEnums.EquipSlotType slot) {
if(attacker.getObjectType().equals(mbEnums.GameObjectType.PlayerCharacter) == false)
return;
attacker.getTimestamps().put("Attack" + slot.name(), System.currentTimeMillis());
//handle auto attack job creation

Loading…
Cancel
Save