|
|
|
@ -263,7 +263,7 @@ public enum CombatManager {
@@ -263,7 +263,7 @@ public enum CombatManager {
|
|
|
|
|
|
|
|
|
|
int passiveAnim = getSwingAnimation(null, null, slot.equals(mbEnums.EquipSlotType.RHELD)); |
|
|
|
|
if (attacker.charItemManager.getEquipped().get(slot) != null) { |
|
|
|
|
passiveAnim = getSwingAnimation(attacker.charItemManager.getEquipped().get(slot).template, null, true); |
|
|
|
|
passiveAnim = getSwingAnimation(weapon.template, null, true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (ThreadLocalRandom.current().nextInt(100) > hitChance) { |
|
|
|
|