|
|
@ -90,9 +90,9 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler { |
|
|
|
if(!ajR.target.equals(target)){ |
|
|
|
if(!ajR.target.equals(target)){ |
|
|
|
playerCharacter.getTimers().get("Attack" + mbEnums.EquipSlotType.RHELD).cancelJob(); |
|
|
|
playerCharacter.getTimers().get("Attack" + mbEnums.EquipSlotType.RHELD).cancelJob(); |
|
|
|
addedDelay = ajR.getStopTime() - System.currentTimeMillis(); |
|
|
|
addedDelay = ajR.getStopTime() - System.currentTimeMillis(); |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (playerCharacter.getTimers().containsKey("Attack" + mbEnums.EquipSlotType.LHELD)) { |
|
|
|
if (playerCharacter.getTimers().containsKey("Attack" + mbEnums.EquipSlotType.LHELD)) { |
|
|
@ -100,9 +100,9 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler { |
|
|
|
if(!ajL.target.equals(target)){ |
|
|
|
if(!ajL.target.equals(target)){ |
|
|
|
playerCharacter.getTimers().get("Attack" + mbEnums.EquipSlotType.LHELD).cancelJob(); |
|
|
|
playerCharacter.getTimers().get("Attack" + mbEnums.EquipSlotType.LHELD).cancelJob(); |
|
|
|
addedDelay = ajL.getStopTime() - System.currentTimeMillis(); |
|
|
|
addedDelay = ajL.getStopTime() - System.currentTimeMillis(); |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
CombatManager.combatCycle(playerCharacter, target, addedDelay); |
|
|
|
CombatManager.combatCycle(playerCharacter, target, addedDelay); |
|
|
|