|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| int Terraria.Projectile.localNPCHitCooldown = -2 |
When used in conjunction with F:Terraria.Projectile.usesLocalNPCImmunity, determines how many ticks must pass before this projectile can deal damage again to the same npc. A value of -1 indicates that it can only hit a specific npc once. The default value of -2 has no effect, so this must be assigned if usesLocalNPCImmunity is true.
Definition at line 422 of file Projectile.cs.
Referenced by Terraria.Projectile.Damage(), Terraria.Projectile.DefaultToWhip(), and Terraria.Projectile.SetDefaults().