attack delay catching
This commit is contained in:
1 parent
9a9ea99bc7
commit
300452d2d8
1 file changed
+7
@@ -126,6 +126,13 @@ public enum CombatManager {
|
||||
return;
|
||||
}
|
||||
|
||||
if (attacker.getTimers().containsKey("Attack" + slot)) {
|
||||
AttackJob ajR = ((AttackJob)attacker.getTimers().get("Attack" + slot).getJob());
|
||||
if(ajR.target.equals(target)){
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
target.combatLock.writeLock().lock();
|
||||
|
||||
// check if character is in range to attack target
|
||||
|
||||
Reference in new issue
Block a user