From 09d66b4fda3074b43b64bbee4c6c12488bbfcb09 Mon Sep 17 00:00:00 2001 From: GinYuH Date: Fri, 17 Jun 2022 00:41:59 -0700 Subject: [PATCH] StormlionCharger -> Stormlion --- CalPlayer/CalamityPlayer.cs | 2 +- CalamityLists.cs | 2 +- NPCs/CalamityGlobalNPC.cs | 2 +- .../{StormlionCharger.cs => Stormlion.cs} | 2 +- .../{StormlionCharger.png => Stormlion.png} | Bin Utilities/MiscUtils.cs | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename NPCs/NormalNPCs/{StormlionCharger.cs => Stormlion.cs} (99%) rename NPCs/NormalNPCs/{StormlionCharger.png => Stormlion.png} (100%) diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index ddaf4d1182..6ceaff5867 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -4885,7 +4885,7 @@ namespace CalamityMod.CalPlayer { if (npc.type == NPCID.BlueJellyfish || npc.type == NPCID.PinkJellyfish || npc.type == NPCID.GreenJellyfish || npc.type == NPCID.FungoFish || npc.type == NPCID.BloodJelly || npc.type == NPCID.AngryNimbus || npc.type == NPCID.GigaZapper || - npc.type == NPCID.MartianTurret || npc.type == ModContent.NPCType() || npc.type == ModContent.NPCType() || npc.type == ModContent.NPCType()) + npc.type == NPCID.MartianTurret || npc.type == ModContent.NPCType() || npc.type == ModContent.NPCType() || npc.type == ModContent.NPCType()) contactDamageReduction += 0.5; } diff --git a/CalamityLists.cs b/CalamityLists.cs index 9d87fd126f..2b5b667c82 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -810,7 +810,7 @@ namespace CalamityMod NPCType(), NPCType(), NPCType(), - NPCType(), + NPCType(), NPCType(), NPCType(), NPCType() diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 3e1fe8945b..3cb3d052aa 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -2989,7 +2989,7 @@ namespace CalamityMod.NPCs } break; case 3: - if (npc.type == NPCType() || + if (npc.type == NPCType() || npc.type == NPCType() || npc.type == NPCType()) { return CalamityGlobalAI.BuffedFighterAI(npc, Mod); diff --git a/NPCs/NormalNPCs/StormlionCharger.cs b/NPCs/NormalNPCs/Stormlion.cs similarity index 99% rename from NPCs/NormalNPCs/StormlionCharger.cs rename to NPCs/NormalNPCs/Stormlion.cs index a29e1ae7f2..13f7427279 100644 --- a/NPCs/NormalNPCs/StormlionCharger.cs +++ b/NPCs/NormalNPCs/Stormlion.cs @@ -8,7 +8,7 @@ using Terraria.ModLoader; using Terraria.ModLoader.Utilities; namespace CalamityMod.NPCs.NormalNPCs { - public class StormlionCharger : ModNPC + public class Stormlion : ModNPC { public override void SetStaticDefaults() { diff --git a/NPCs/NormalNPCs/StormlionCharger.png b/NPCs/NormalNPCs/Stormlion.png similarity index 100% rename from NPCs/NormalNPCs/StormlionCharger.png rename to NPCs/NormalNPCs/Stormlion.png diff --git a/Utilities/MiscUtils.cs b/Utilities/MiscUtils.cs index 27f271791c..48f7504f3d 100644 --- a/Utilities/MiscUtils.cs +++ b/Utilities/MiscUtils.cs @@ -843,7 +843,7 @@ namespace CalamityMod npc = ModContent.NPCType(); break; case 62: - npc = ModContent.NPCType(); + npc = ModContent.NPCType(); break; case 63: npc = ModContent.NPCType();