Reworked damage-modifying upgrades
This commit is contained in:
parent
aa6d7bcfaa
commit
bd36e95fc9
5 changed files with 53 additions and 30 deletions
|
@ -2,9 +2,11 @@ package WayofTime.bloodmagic.api.livingArmour;
|
|||
|
||||
import com.google.common.collect.HashMultimap;
|
||||
import com.google.common.collect.Multimap;
|
||||
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.ai.attributes.AttributeModifier;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.world.World;
|
||||
|
@ -33,6 +35,11 @@ public abstract class LivingArmourUpgrade
|
|||
this.level = Math.min(level, getMaxTier() - 1);
|
||||
}
|
||||
|
||||
public double getAdditionalDamageOnHit(double damage, EntityPlayer wearer, EntityLivingBase hitEntity, ItemStack weapon)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Percentage of damage blocked. This stacks multiplicities with other
|
||||
* upgrades.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue