Added Charging Strike armour upgrade

This commit is contained in:
WayofTime 2016-04-07 15:12:57 -04:00
parent bd36e95fc9
commit 7b94e414f8
9 changed files with 260 additions and 3 deletions

View file

@ -40,6 +40,11 @@ public abstract class LivingArmourUpgrade
return 0;
}
public double getKnockbackOnHit(EntityPlayer wearer, EntityLivingBase hitEntity, ItemStack weapon)
{
return 0;
}
/**
* Percentage of damage blocked. This stacks multiplicities with other
* upgrades.

View file

@ -46,7 +46,7 @@ public class PlayerDemonWillHandler
public static EnumDemonWillType getLargestWillType(EntityPlayer player)
{
EnumDemonWillType type = EnumDemonWillType.DEFAULT;
double max = 0;
double max = getTotalDemonWill(type, player);
for (EnumDemonWillType testType : EnumDemonWillType.values())
{