mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Buff crossbow projectile speed, nerf lognbow proj. speed and move the proper modifications into the stats of the weapon
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user