Buff crossbow projectile speed, nerf lognbow proj. speed and move the proper modifications into the stats of the weapon

This commit is contained in:
Bernhard Bonigl committed 2014-11-06 23:14:38 +01:00
1 parent 253dde7cce
commit 2b161aa0bb
4 files changed
+9 -15

No files matched your search

@@ -118,11 +118,9 @@ public abstract class ProjectileWeapon extends ToolCore implements IAccuracy, IW
public float getProjectileSpeed(ItemStack itemStack)
{
NBTTagCompound toolTag = itemStack.getTagCompound().getCompoundTag("InfiTool");
return toolTag.getFloat("FlightSpeed") * projectileSpeedModifier(itemStack);
return toolTag.getFloat("FlightSpeed");
}
protected float projectileSpeedModifier(ItemStack itemStack) { return 1.0f; }
/* Bow usage */
@Override
public EnumAction getItemUseAction(ItemStack par1ItemStack) {