public override void Load() { instance = this; GuardianSoulHotKey = RegisterHotKey("Guardian Soul", "F"); ListBossSoul = new List <int>(); ListBossSoul.AddRange(new int[] { NPCID.KingSlime, NPCID.EyeofCthulhu, NPCID.EaterofWorldsHead, NPCID.EaterofWorldsBody, NPCID.EaterofWorldsTail, NPCID.BrainofCthulhu, NPCID.QueenBee, NPCID.SkeletronHead, NPCID.SkeletronHand, NPCID.WallofFlesh, NPCID.WallofFleshEye, NPCID.TheDestroyer, NPCID.TheDestroyerBody, NPCID.TheDestroyerTail, NPCID.Retinazer, NPCID.Spazmatism, NPCID.SkeletronPrime, NPCID.PrimeCannon, NPCID.PrimeLaser, NPCID.PrimeSaw, NPCID.PrimeVice, NPCID.Plantera, NPCID.Golem, NPCID.GolemFistLeft, NPCID.GolemFistRight, NPCID.GolemHead, NPCID.GolemHeadFree, NPCID.CultistBoss, NPCID.DukeFishron, NPCID.MoonLordCore, NPCID.MoonLordFreeEye, NPCID.MoonLordHand, NPCID.MoonLordHead }); ListSoul = new List <int>(); if (Main.dedServ) { return; } ui = new SoulUI(); ui.Activate(); userInterface = new UserInterface(); userInterface.SetState(ui); }
public override void Unload() { ListBossSoul = null; instance = null; GuardianSoulHotKey = null; if (!Main.dedServ) { //VoidPillarGlowMask.Unload(); } }