Example #1
0
        private static void RegisterSpiritMiniBosses(Mod spiritMod)
        {
            spiritMod.AddMiniBoss(
                0.8f,
                "Glade Wraith",
                () => MyWorld.downedGladeWraith,
                new BCIDData(
                    new List <int> {
                ModContent.NPCType <ForestWraith>()
            },
                    new List <int> {
                ModContent.ItemType <GladeWreath>()
            },
                    null,
                    new List <int> {
                ModContent.ItemType <HuskstalkStaff>(),
                ModContent.ItemType <AncientBark>(),
                ModContent.ItemType <SacredVine>()
            }),
                "Destroy a Bone Altar in the Underground Briar. The Glade Wraith also spawns naturally at nighttime after defeating the Eye of Cthulhu. Alternatively, find a Glade Wreath in Briar Chests and use it in the Briar at any time.",
                "",
                "SpiritMod/Textures/BossChecklist/GladeWraithTexture",
                "SpiritMod/NPCs/Reach/ForestWraith_Head_Boss",
                null
                );

            spiritMod.AddMiniBoss(
                2.3f,
                "Occultist",
                () => MyWorld.downedOccultist,
                new BCIDData(
                    new List <int> {
                ModContent.NPCType <Occultist>()
            },
                    null,
                    null,
                    new List <int> {
                ModContent.ItemType <Handball>(),
                ModContent.ItemType <SacrificialDagger>(),
                ModContent.ItemType <BloodFire>()
            }),
                "The Occultist spawns rarely during a Blood Moon after the Eye of Cthulhu has been defeated.",
                "",
                "SpiritMod/Textures/BossChecklist/OccultistTexture",
                "SpiritMod/NPCs/BloodMoon/Occultist_Head_Boss",
                null
                );

            spiritMod.AddMiniBoss(
                2.8f,
                "Mechromancer",
                () => MyWorld.downedMechromancer,
                new BCIDData(
                    new List <int> {
                ModContent.NPCType <Mecromancer>()
            },
                    null,
                    new List <int> {
                ModContent.ItemType <CoiledMask>(),
                ModContent.ItemType <CoiledChestplate>(),
                ModContent.ItemType <CoiledLeggings>()
            },
                    new List <int> {
                ModContent.ItemType <KnocbackGun>(),
                ModContent.ItemType <TechDrive>(),
                ItemID.RocketBoots
            }),
                "The Mechromancer spawns rarely during a Goblin Army after the Eye of Cthulhu has been defeated.",
                "",
                "SpiritMod/Textures/BossChecklist/MechromancerTexture",
                "SpiritMod/NPCs/Mecromancer_Head_Boss",
                null
                );

            spiritMod.AddMiniBoss(
                3.1f,
                "Snaptrapper",
                () => MyWorld.downedSnaptrapper,
                new BCIDData(
                    new List <int> {
                ModContent.NPCType <Snaptrapper>()
            },
                    null,
                    null,
                    new List <int> {
                ModContent.ItemType <SnapsporeStaff>(),
                ModContent.ItemType <SporeClub>()
            }),
                "The Snaptrapper spawns rarely on the Jungle surface after the Eater of Worlds or Brain of Cthulhu has been defeated.",
                "",
                "SpiritMod/Textures/BossChecklist/SnaptrapperTexture",
                "SpiritMod/NPCs/Snaptrapper_Head_Boss",
                null
                );

            spiritMod.AddMiniBoss(
                3.2f,
                "Beholder",
                () => MyWorld.downedBeholder,
                new BCIDData(
                    new List <int> {
                ModContent.NPCType <Beholder>()
            },
                    null,
                    null,
                    new List <int> {
                ModContent.ItemType <BeholderYoyo>(),
                ModContent.ItemType <MarbleChunk>()
            }),
                "The Beholder spawns rarely in Marble Caverns after the Eater of Worlds or Brain of Cthulhu has been defeated.",
                "",
                "SpiritMod/Textures/BossChecklist/BeholderTexture",
                "SpiritMod/NPCs/Beholder_Head_Boss",
                null
                );
        }