|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| bool Terraria.Projectile.usesLocalNPCImmunity |
If true, this projectile manages it's own immunity timers for each npc.
Use this rather than F:Terraria.Projectile.usesIDStaticNPCImmunity if you want multiple projectiles of the same type to have a chance to attack rapidly, but don't want a single projectile to hit rapidly.
F:Terraria.Projectile.localNPCHitCooldown controls the cooldown timing and must be assigned a suitable value to work properly.
Definition at line 256 of file Projectile.cs.
Referenced by Terraria.Projectile.Damage(), Terraria.Projectile.DefaultToWhip(), Terraria.Projectile.SetDefaults(), and Terraria.Projectile.Update().