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

◆ Interrupt()

void Terraria.Projectile.Interrupt ( Player player)
inline

Definition at line 21071 of file Projectile.cs.

21072 {
21073 if (aiStyle == 160)
21074 {
21075 Kill();
21076 player.heldProj = -1;
21077 player.itemAnimation = 0;
21078 player.itemTime = 0;
21079 }
21080 }
int aiStyle
Selects which vanilla code to use for the AI method. Vanilla projectile AI styles are enumerated in t...

References Terraria.Projectile.aiStyle, and Terraria.Projectile.Kill().

+ Here is the call graph for this function: