using System.Collections.Generic; using CalamityMod.NPCs.NormalNPCs; using Terraria.ID; using Terraria.ModLoader; using static Terraria.ModLoader.ModContent; namespace CalamityMod.Systems.Collections { public sealed class NeedsDebuffIconDisplayList : ModSystem { public static IList List { get; private set; } public override void OnModLoad() { List = [ NPCID.TargetDummy, NPCID.WallofFleshEye, NPCType() ]; } public override void Unload() => List = null; public static bool Includes(int npcType) => List.Contains(npcType); } }