Browse Source

attack delay catching

combat-3
FatBoy-DOTC 5 months ago
parent
commit
d9ab1032f4
  1. 2
      src/engine/gameManager/CombatManager.java

2
src/engine/gameManager/CombatManager.java

@ -142,7 +142,7 @@ public enum CombatManager {
} }
} }
attacker.getTimestamps().put("Attack" + slot, System.currentTimeMillis() + delay); attacker.getTimestamps().put("Attack" + slot, System.currentTimeMillis() + delay - 500L);
target.combatLock.writeLock().lock(); target.combatLock.writeLock().lock();

Loading…
Cancel
Save