forked from MagicBane/Server
swing animation lookup
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user