diff --git a/Localization/en-US/Mods.CalamityMod.NPCs.hjson b/Localization/en-US/Mods.CalamityMod.NPCs.hjson index 26515e41ed..41ed31356c 100644 --- a/Localization/en-US/Mods.CalamityMod.NPCs.hjson +++ b/Localization/en-US/Mods.CalamityMod.NPCs.hjson @@ -301,7 +301,6 @@ ProbesnoutGold.DisplayName: Gold Probesnout PrismaticGuppy.DisplayName: Prismatic Guppy RadiantBabyGhostBell: Radiant Baby Ghost Bell RadiantPolypPanasea: Radiant Polyp Panasea -RadiantPolyperil: Radiant Polyperil RadiantPrismaticGuppy: Radiant Prismatic Guppy RadiantSlugbun: Radiant Slugbun SandProwler.DisplayName: Sand Prowler diff --git a/NPCs/SunkenSea/Polyperil.cs b/NPCs/SunkenSea/Polyperil.cs index aee5830d1c..dd6144516b 100644 --- a/NPCs/SunkenSea/Polyperil.cs +++ b/NPCs/SunkenSea/Polyperil.cs @@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.SunkenSea public static Asset pinkTexture = null; - public static Asset radiantTexture = null; + public static Asset voltaicTexture = null; // The tentacles do all the work protected override List PreyIDs => new List(); @@ -42,7 +42,7 @@ namespace CalamityMod.NPCs.SunkenSea pinkTexture = ModContent.Request(Texture + "Pink"); blueTexture = ModContent.Request(Texture + "Blue"); greenTexture = ModContent.Request(Texture + "Green"); - radiantTexture = ModContent.Request(Texture + "Radiant"); + voltaicTexture = ModContent.Request(Texture + "Voltaic"); } public override void SetStaticDefaults() @@ -94,13 +94,9 @@ namespace CalamityMod.NPCs.SunkenSea { // Pick a random color Color = Main.rand.Next(0, 3); - // 1 in 30 chance to be Radiant - if (Main.rand.NextBool(30)) - { + // 1 in 15 chance to be Voltaic + if (Main.rand.NextBool(15)) Color = 3; - NPC.rarity = 3; - NPC.value = 100000; - } // Spawn tentacles int dist = 80; @@ -110,7 +106,7 @@ namespace CalamityMod.NPCs.SunkenSea { if (Main.netMode != NetmodeID.MultiplayerClient) { - Vector2 pos = NPC.Center + new Vector2(Main.rand.Next(-dist, dist), Main.rand.Next(-dist, dist)); + Vector2 pos = NPC.Center + new Vector2(Main.rand.Next(-dist, dist), 20); NPC tent = NPC.NewNPCDirect(NPC.GetSource_FromThis(), NPC.Center, ModContent.NPCType(), ai0: NPC.whoAmI); tent.ModNPC().anchor = pos; } @@ -150,14 +146,6 @@ namespace CalamityMod.NPCs.SunkenSea } } - public override void ModifyTypeName(ref string typeName) - { - if (Color == 3) - { - typeName = CalamityUtils.GetTextValue("NPCs.RadiantPolyperil"); - } - } - public override bool CanBeHitByNPC(NPC attacker) { return PredatorIDs.Contains(attacker.type); @@ -197,7 +185,7 @@ namespace CalamityMod.NPCs.SunkenSea { 1 => blueTexture.Value, 2 => greenTexture.Value, - 3 => radiantTexture.Value, + 3 => voltaicTexture.Value, _ => pinkTexture.Value }; diff --git a/NPCs/SunkenSea/Polyperil.png b/NPCs/SunkenSea/Polyperil.png index 5bbca02b46..5cec975ef0 100644 Binary files a/NPCs/SunkenSea/Polyperil.png and b/NPCs/SunkenSea/Polyperil.png differ diff --git a/NPCs/SunkenSea/PolyperilBlue.png b/NPCs/SunkenSea/PolyperilBlue.png index c460ca13bd..4f91afe357 100644 Binary files a/NPCs/SunkenSea/PolyperilBlue.png and b/NPCs/SunkenSea/PolyperilBlue.png differ diff --git a/NPCs/SunkenSea/PolyperilGreen.png b/NPCs/SunkenSea/PolyperilGreen.png index dc55d8f6e0..74a51dcf1c 100644 Binary files a/NPCs/SunkenSea/PolyperilGreen.png and b/NPCs/SunkenSea/PolyperilGreen.png differ diff --git a/NPCs/SunkenSea/PolyperilPink.png b/NPCs/SunkenSea/PolyperilPink.png index 3acc1dfb6c..9c9747e5dd 100644 Binary files a/NPCs/SunkenSea/PolyperilPink.png and b/NPCs/SunkenSea/PolyperilPink.png differ diff --git a/NPCs/SunkenSea/PolyperilRadiant.png b/NPCs/SunkenSea/PolyperilRadiant.png deleted file mode 100644 index a34a37db0a..0000000000 Binary files a/NPCs/SunkenSea/PolyperilRadiant.png and /dev/null differ diff --git a/NPCs/SunkenSea/PolyperilTentacle.cs b/NPCs/SunkenSea/PolyperilTentacle.cs index 8266a01601..5c3be05d15 100644 --- a/NPCs/SunkenSea/PolyperilTentacle.cs +++ b/NPCs/SunkenSea/PolyperilTentacle.cs @@ -240,10 +240,10 @@ namespace CalamityMod.NPCs.SunkenSea // Color is based on parent color Color col = parent.ai[1] switch { - 1 => new Color(27, 233, 255), - 2 => new Color(7, 255, 204), - 3 => Color.Cyan, - _ => new Color(255, 220, 248) + 1 => new Color(27, 190, 255), + 2 => new Color(7, 255, 180), + 3 => new Color(122, 255, 240), + _ => new Color(255, 140, 248) }; // Desaturate as parent's health lowers diff --git a/NPCs/SunkenSea/PolyperilVoltaic.png b/NPCs/SunkenSea/PolyperilVoltaic.png new file mode 100644 index 0000000000..184d259a00 Binary files /dev/null and b/NPCs/SunkenSea/PolyperilVoltaic.png differ