TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ shootSpeed

float Terraria.Item.shootSpeed

The velocity in pixels the projectile fired by this item will have. Actual velocity depends on the projectile being fired. If your weapon is shooting projectiles and they are stationary, change this to something like 10f. Throwing Knife uses 10f. Held projectiles like Vortex Beater use shootSpeed to determine how far away from the player to hold the projectile.
Defaults to 0f.

Definition at line 600 of file Item.cs.

Referenced by Terraria.Projectile.AI_075(), Terraria.Item.DefaultToGolfBall(), Terraria.Item.DefaultToGolfClub(), Terraria.Item.DefaultToMagicWeapon(), Terraria.Item.DefaultToRangedWeapon(), Terraria.Item.DefaultToSpear(), Terraria.Item.DefaultToThrownWeapon(), Terraria.Item.DefaultToWhip(), Terraria.Player.PickAmmo(), Terraria.Item.Prefix(), Terraria.Player.QuickGrapple(), Terraria.Item.ResetStats(), Terraria.Item.SetDefaults1(), Terraria.Item.SetDefaults2(), Terraria.Item.SetDefaults3(), Terraria.Item.SetDefaults4(), and Terraria.Item.SetDefaults5().