using Terraria; using Terraria.DataStructures; using Terraria.ModLoader; using ForgottenWawiTech.Content.Projectiles.Protogen; namespace ForgottenWawiTech.Content.GlobalProjectiles { public class ProtogenSentinelGlobalProjectile : GlobalProjectile { public bool DisableSentinelSplit { get; set; } public override bool InstancePerEntity => true; public override void OnSpawn(Projectile projectile, IEntitySource source) { if (projectile.type == ModContent.ProjectileType() || projectile.type == ModContent.ProjectileType()) { DisableSentinelSplit = true; } } } }