From 25bfa0c9697eccdb4e007c99a895a14867d072a4 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Sun, 3 Apr 2016 13:44:47 -0400 Subject: [PATCH] Fixed armour calculations for unblockable sources --- .../java/WayofTime/bloodmagic/item/armour/ItemLivingArmour.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/item/armour/ItemLivingArmour.java b/src/main/java/WayofTime/bloodmagic/item/armour/ItemLivingArmour.java index e4b04347..6777b4d4 100644 --- a/src/main/java/WayofTime/bloodmagic/item/armour/ItemLivingArmour.java +++ b/src/main/java/WayofTime/bloodmagic/item/armour/ItemLivingArmour.java @@ -143,7 +143,7 @@ public class ItemLivingArmour extends ItemArmor implements ISpecialArmor, IMeshP // return new ArmorProperties(-1, damageAmount * armourPenetrationReduction, maxAbsorption); // } - return new ArmorProperties(-1, damageAmount, maxAbsorption); + return new ArmorProperties(-1, source.isUnblockable() ? 1 - remainder : damageAmount, maxAbsorption); } } else {