|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| bool Terraria.Projectile.usesIDStaticNPCImmunity |
If true, all projectiles of this type share an immunity cooldown for each npc.
Use this rather than F:Terraria.Projectile.usesLocalNPCImmunity if you want other projectile types a chance to attack the npc, but don't want projectile of the same projectile type to hit an npc rapidly.
F:Terraria.Projectile.idStaticNPCHitCooldown controls the cooldown timing and must be assigned a suitable value to work properly.
Definition at line 263 of file Projectile.cs.
Referenced by Terraria.Projectile.Damage(), and Terraria.Projectile.SetDefaults().