public static bool CanBeHitByProjectile(Player player, Projectile proj) { foreach (ModPlayer modPlayer in player.modPlayers) { if (!modPlayer.CanBeHitByProjectile(proj)) { return false; } } return true; }