wch
Terrarian
Well, I failed to notice this.Ah yeah, you'll need to make that last line to the following:
Just copy paste, that was my bad (knockBack needed a capital B ).Code:return base.Shoot(item, player, ref position, ref speedX, ref speedY, ref type, ref damage, ref knockBack);
now it should be:
Code:
public override bool Shoot(Item item, Player player, ref Microsoft.Xna.Framework.Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
if (item.useAmmo == 1 && player.HasBuff(mod.BuffType("Archery2Buff")) > 0)
{
speedX *= 1.35F; speedY *= 1.35F;
}
return base.Shoot(item, player, ref position, ref speedX, ref speedY, ref type, ref damage, ref knockBack);
}
Now I'm going to create something else. Bound to be questions, though. Ask you later.