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

◆ IsNPCIndexImmuneToProjectileType()

static bool Terraria.Projectile.IsNPCIndexImmuneToProjectileType ( int projectileType,
int npcIndex )
inlinestatic

Definition at line 716 of file Projectile.cs.

717 {
718 return perIDStaticNPCImmunity[projectileType][npcIndex] <= Main.GameUpdateCount;
719 }
static uint[][] perIDStaticNPCImmunity
Definition Projectile.cs:97

References Terraria.Main.GameUpdateCount, and Terraria.Projectile.perIDStaticNPCImmunity.

Referenced by Terraria.Projectile.Damage().

+ Here is the caller graph for this function: