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

@ -57,6 +57,17 @@ public class LivingArmour implements ILivingArmour
return total;
}
public double getKnockbackOnHit(EntityPlayer wearer, EntityLivingBase hitEntity, ItemStack weapon)
{
double total = 0;
for (Entry<String, LivingArmourUpgrade> entry : upgradeMap.entrySet())
{
total += entry.getValue().getKnockbackOnHit(wearer, hitEntity, weapon);
}
return total;
}
@Override
public Multimap<String, AttributeModifier> getAttributeModifiers()
{