Added Charging Strike armour upgrade
This commit is contained in:
parent
bd36e95fc9
commit
7b94e414f8
9 changed files with 260 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue