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

◆ ownerHitCheck

bool Terraria.Projectile.ownerHitCheck

If true, then this projectile will only deal damage if its owner has line of sight to the hit.
Useful for melee projectiles, such as spears and shortswords.
Defaults to false.

Definition at line 370 of file Projectile.cs.

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