swing animation lookup
This commit is contained in:
1 parent
cd8099b42f
commit
2b8b9464af
1 file changed
+1
-1
@@ -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