I am trying to make a gun that turns any bullet into a custom shot, not just musket balls, and I tried
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref int knockback)
{
if (type ==...