diff --git a/NPCs/SlimeGod/SlimeGod.cs b/NPCs/SlimeGod/SlimeGod.cs index bf23580245..5f1337a2d2 100644 --- a/NPCs/SlimeGod/SlimeGod.cs +++ b/NPCs/SlimeGod/SlimeGod.cs @@ -6,7 +6,6 @@ using System; using System.Collections.Generic; using System.IO; using Terraria; -using Terraria.GameContent.Bestiary; using Terraria.ID; using Terraria.ModLoader; using Terraria.Audio; @@ -20,9 +19,9 @@ namespace CalamityMod.NPCs.SlimeGod public override void SetStaticDefaults() { + this.HideFromBestiary(); DisplayName.SetDefault("Ebonian Slime God"); Main.npcFrameCount[NPC.type] = 6; - NPCID.Sets.BossBestiaryPriority.Add(Type); } public override void SetDefaults() @@ -49,17 +48,6 @@ namespace CalamityMod.NPCs.SlimeGod NPC.Calamity().VulnerableToSickness = false; } - public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) - { - bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { - BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.TheCorruption, - BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.TheCrimson, - - // Will move to localization whenever that is cleaned up. - new FlavorTextBestiaryInfoElement("Flanking their creator and serving as its body, these are concentrated, swirling masses of the world’s evils, each utilizing the rot and corrosion to eat away and assimilate those who oppose it") - }); - } - public override void SendExtraAI(BinaryWriter writer) { writer.Write(NPC.localAI[1]); diff --git a/NPCs/SlimeGod/SlimeGodRun.cs b/NPCs/SlimeGod/SlimeGodRun.cs index d6930edc0b..564f124c82 100644 --- a/NPCs/SlimeGod/SlimeGodRun.cs +++ b/NPCs/SlimeGod/SlimeGodRun.cs @@ -6,7 +6,6 @@ using System; using System.Collections.Generic; using System.IO; using Terraria; -using Terraria.GameContent.Bestiary; using Terraria.ID; using Terraria.ModLoader; using Terraria.Audio; @@ -20,9 +19,9 @@ namespace CalamityMod.NPCs.SlimeGod public override void SetStaticDefaults() { + this.HideFromBestiary(); DisplayName.SetDefault("Crimulan Slime God"); Main.npcFrameCount[NPC.type] = 6; - NPCID.Sets.BossBestiaryPriority.Add(Type); } public override void SetDefaults() @@ -52,17 +51,6 @@ namespace CalamityMod.NPCs.SlimeGod NPC.Calamity().VulnerableToSickness = false; } - public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) - { - bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { - BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.TheCorruption, - BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.TheCrimson, - - // Will move to localization whenever that is cleaned up. - new FlavorTextBestiaryInfoElement("Flanking their creator and serving as its body, these are concentrated, swirling masses of the world’s evils, each utilizing the rot and corrosion to eat away and assimilate those who oppose it") - }); - } - public override void SendExtraAI(BinaryWriter writer) { writer.Write(NPC.localAI[1]);