public void CycleBysmalPowers(int newPower) { if (!BysmalPowers.Contains(newPower)) { if (BysmalPowers.Count > 2) { BysmalPowers.RemoveAt(0); } BysmalPowers.Add(newPower); } }
// TODO Use BysmalPower class. private void CheckBysmalPowers() { if (fullBysmal > 0) { if (BysmalPowers.Contains(NPCID.KingSlime)) { EtherialGel = true; } if (BysmalPowers.Contains(NPCID.EyeofCthulhu)) { EtherVision = true; } if (BysmalPowers.Contains(NPCID.EaterofWorldsHead)) { EtherialScarf = true; } if (BysmalPowers.Contains(NPCID.BrainofCthulhu)) { EtherialBrain = true; } if (BysmalPowers.Contains(ModContent.NPCType <Hypothema>())) { EtherialFrost = true; } if (BysmalPowers.Contains(NPCID.QueenBee)) { EtherialBees = true; } if (BysmalPowers.Contains(ModContent.NPCType <Ragnar>())) { EtherialMagma = true; } if (BysmalPowers.Contains(NPCID.SkeletronHead)) { EtherialBones = true; } if (BysmalPowers.Contains(ModContent.NPCType <AnDio3>())) { EtherialAnDio = true; } if (BysmalPowers.Contains(NPCID.Retinazer) || BysmalPowers.Contains(NPCID.Spazmatism)) { EtherialTwins = true; } if (BysmalPowers.Contains(NPCID.TheDestroyer)) { EtherialDestroyer = true; } if (BysmalPowers.Contains(NPCID.SkeletronPrime)) { EtherialPrime = true; } if (BysmalPowers.Contains(ModContent.NPCType <TheAnnihilator>())) { EtherCog = true; } if (BysmalPowers.Contains(ModContent.NPCType <Slybertron>())) { EtherialPipes = true; } if (BysmalPowers.Contains(ModContent.NPCType <NPCs.SteamTrain.SteamTrain>())) { EtherialTank = true; } if (BysmalPowers.Contains(NPCID.Plantera)) { EtherialSpores = true; } if (BysmalPowers.Contains(NPCID.Golem)) { EtherialStone = true; } if (BysmalPowers.Contains(NPCID.DukeFishron)) { EtherialTruffle = true; } if (BysmalPowers.Contains(NPCID.MoonLordCore)) { Etherable = 2; } } }