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

◆ idStaticNPCHitCooldown

int Terraria.Projectile.idStaticNPCHitCooldown = -1

When used in conjunction with F:Terraria.Projectile.usesIDStaticNPCImmunity, determines how many ticks must pass before any projectile of the same type can deal damage again to the same npc. This must be assigned a suitable value if usesIDStaticNPCImmunity is true.

Definition at line 427 of file Projectile.cs.

Referenced by Terraria.Projectile.Damage(), and Terraria.Projectile.SetDefaults().