Fixed armour calculations for unblockable sources

This commit is contained in:
WayofTime 2016-04-03 13:44:47 -04:00
parent 0afc150cc3
commit 25bfa0c969

View file

@ -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
{