Finish set bonuses, add more options to the Avali Trader

This commit is contained in:
2025-11-20 16:22:50 +00:00
parent 9162878883
commit b30fcc9563
44 changed files with 1744 additions and 81 deletions
@@ -0,0 +1,23 @@
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<ProtogenSentinelFragment>() ||
projectile.type == ModContent.ProjectileType<ProtogenSentinelCoreBeam>())
{
DisableSentinelSplit = true;
}
}
}
}