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

◆ GetBallistraShotDelay()

static int Terraria.Projectile.GetBallistraShotDelay ( Player player)
inlinestatic

Definition at line 75537 of file Projectile.cs.

75538 {
75539 int result = 160;
75540 if (player.setSquireT3)
75541 {
75542 result = 100;
75543 }
75544 if (player.ballistaPanic)
75545 {
75546 result = 60;
75547 }
75548 if (player.ballistaPanic && player.setSquireT3)
75549 {
75550 result = 30;
75551 }
75552 return result;
75553 }

References Terraria.Player.ballistaPanic, and Terraria.Player.setSquireT3.

Referenced by Terraria.Player.ItemCheck_Shoot().

+ Here is the caller graph for this function: