Multiple Projectile Hook

This Hook is used for firing multiple projectiles at once. public override bool Shoot(Player player, ref Microsoft.Xna.Framework.Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack) {             float spread = 45f * 0.0174f; float baseSpeed = (float)Math.Sqrt(speedX * speedX + speedY * speedY); double startAngle = Math.Atan2(speedX, speedY) - spread / 2; double deltaAngle = spread / 40f; double offsetAngle; int i;             for (i = 0; i < 8; i++) {                 offsetAngle = startAngle + deltaAngle * i;                  Terraria.Projectile.NewProjectile(position.X, position.Y, baseSpeed * (float)Math.Sin(offsetAngle), baseSpeed * (float)Math.Cos(offsetAngle), mod.ProjectileType("Test"), damage, knockBack, item.owner); }             return false; } (Broken down, explaining how things in the Hook works) mod.ProjectileType("Test") Defines what Projectile is being used. double deltaAngle = spread / 40f; Defines how many projectiles are being used, change / (Number)f; to edit how many projectiles are being created.