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

◆ GetWhipSettings()

static void Terraria.Projectile.GetWhipSettings ( Projectile proj,
out float timeToFlyOut,
out int segments,
out float rangeMultiplier )
inlinestatic

Definition at line 51365 of file Projectile.cs.

51366 {
51367 timeToFlyOut = Main.player[proj.owner].itemAnimationMax * proj.MaxUpdates;
51368 segments = proj.WhipSettings.Segments;
51369 rangeMultiplier = proj.WhipSettings.RangeMultiplier;
51370 }

References Terraria.Main.player.

Referenced by Terraria.Main.DrawWhip_WhipBland(), Terraria.Main.DrawWhip_WhipMace(), and Terraria.Main.DrawWhip_WhipScythe().

+ Here is the caller graph for this function: