From d010fd5befa19fa9da562b532ce67f56a39b5714 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sun, 12 Jun 2022 00:04:24 -0400 Subject: [PATCH] Cosmic Mines are called Cosmic Mines --- DataStructures/NPCStats.cs | 2 +- Events/BossRushEvent.cs | 2 +- NPCs/Signus/{SignusBomb.cs => CosmicMine.cs} | 2 +- NPCs/Signus/{SignusBomb.png => CosmicMine.png} | Bin NPCs/Signus/Signus.cs | 4 ++-- Utilities/NPCDebuffs.cs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename NPCs/Signus/{SignusBomb.cs => CosmicMine.cs} (99%) rename NPCs/Signus/{SignusBomb.png => CosmicMine.png} (100%) diff --git a/DataStructures/NPCStats.cs b/DataStructures/NPCStats.cs index 7f962138b1..001d055a16 100644 --- a/DataStructures/NPCStats.cs +++ b/DataStructures/NPCStats.cs @@ -503,7 +503,7 @@ namespace CalamityMod { ModContent.NPCType(), new int[] { 175, 315, 351, 369, 459 } }, { ModContent.NPCType(), new int[] { 130, 260, 288, 304, 390 } }, - { ModContent.NPCType(), new int[] { 140, 280, 300, 320, 390 } }, + { ModContent.NPCType(), new int[] { 140, 280, 300, 320, 390 } }, { ModContent.NPCType(), new int[] { 150, // 180 in phase 2, 210 in phase 3 diff --git a/Events/BossRushEvent.cs b/Events/BossRushEvent.cs index dc9855333c..af1130418a 100644 --- a/Events/BossRushEvent.cs +++ b/Events/BossRushEvent.cs @@ -215,7 +215,7 @@ namespace CalamityMod.Events new Boss(ModContent.NPCType(), permittedNPCs: ModContent.NPCType()), - new Boss(ModContent.NPCType(), specialSpawnCountdown: 360, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType() }), + new Boss(ModContent.NPCType(), specialSpawnCountdown: 360, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType() }), new Boss(ModContent.NPCType(), spawnContext: type => { diff --git a/NPCs/Signus/SignusBomb.cs b/NPCs/Signus/CosmicMine.cs similarity index 99% rename from NPCs/Signus/SignusBomb.cs rename to NPCs/Signus/CosmicMine.cs index e6eab99f81..6c445b334a 100644 --- a/NPCs/Signus/SignusBomb.cs +++ b/NPCs/Signus/CosmicMine.cs @@ -13,7 +13,7 @@ using Terraria.Audio; namespace CalamityMod.NPCs.Signus { - public class SignusBomb : ModNPC + public class CosmicMine : ModNPC { public override void SetStaticDefaults() { diff --git a/NPCs/Signus/SignusBomb.png b/NPCs/Signus/CosmicMine.png similarity index 100% rename from NPCs/Signus/SignusBomb.png rename to NPCs/Signus/CosmicMine.png diff --git a/NPCs/Signus/Signus.cs b/NPCs/Signus/Signus.cs index b5f3f05c88..9134eeaa74 100644 --- a/NPCs/Signus/Signus.cs +++ b/NPCs/Signus/Signus.cs @@ -330,11 +330,11 @@ namespace CalamityMod.NPCs.Signus { SoundEngine.PlaySound(SoundID.Item122, NPC.position); - int num660 = NPC.NewNPC(NPC.GetSource_FromAI(), (int)(player.position.X + 750f), (int)player.position.Y, ModContent.NPCType()); + int num660 = NPC.NewNPC(NPC.GetSource_FromAI(), (int)(player.position.X + 750f), (int)player.position.Y, ModContent.NPCType()); if (Main.netMode == NetmodeID.Server) NetMessage.SendData(MessageID.SyncNPC, -1, -1, null, num660, 0f, 0f, 0f, 0, 0, 0); - int num661 = NPC.NewNPC(NPC.GetSource_FromAI(), (int)(player.position.X - 750f), (int)player.position.Y, ModContent.NPCType()); + int num661 = NPC.NewNPC(NPC.GetSource_FromAI(), (int)(player.position.X - 750f), (int)player.position.Y, ModContent.NPCType()); if (Main.netMode == NetmodeID.Server) NetMessage.SendData(MessageID.SyncNPC, -1, -1, null, num661, 0f, 0f, 0f, 0, 0, 0); diff --git a/Utilities/NPCDebuffs.cs b/Utilities/NPCDebuffs.cs index 43fe7949d5..a7b848c0f9 100644 --- a/Utilities/NPCDebuffs.cs +++ b/Utilities/NPCDebuffs.cs @@ -151,7 +151,7 @@ namespace CalamityMod { ModContent.NPCType(), new Tuple(false, new int[] { ModContent.BuffType() }) }, { ModContent.NPCType(), new Tuple(true, new int[] { }) }, - { ModContent.NPCType(), new Tuple(true, new int[] { }) }, + { ModContent.NPCType(), new Tuple(true, new int[] { }) }, { ModContent.NPCType(), new Tuple(false, new int[] { ModContent.BuffType(), ModContent.BuffType() }) }, { ModContent.NPCType(), new Tuple(true, new int[] { }) },