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

◆ CanHitPvp()

virtual bool Terraria.ModLoader.ModProjectile.CanHitPvp ( Player target)
inlinevirtual

Allows you to determine whether this projectile can hit the given opponent player. Return false to block this projectile from hitting the target. Returns true by default.

Parameters
targetThe target

Definition at line 279 of file ModProjectile.cs.

280 {
281 return true;
282 }