From fa2d15285ee1967a5cc914ee6329da8212894b3e Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 9 Jun 2020 10:12:48 -0400 Subject: [PATCH] aries now use deathmode herpling AI --- NPCs/CalamityGlobalNPC.cs | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 9d18ddb226..c91f3fd8ea 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -2316,11 +2316,18 @@ namespace CalamityMod.NPCs } break; case 41: - switch (npc.type) + if (npc.type == NPCType()) { - case NPCID.Herpling: - case NPCID.Derpling: - return CalamityGlobalAI.BuffedHerplingAI(npc, mod); + return CalamityGlobalAI.BuffedHerplingAI(npc, mod); + } + else + { + switch (npc.type) + { + case NPCID.Herpling: + case NPCID.Derpling: + return CalamityGlobalAI.BuffedHerplingAI(npc, mod); + } } break; case 44: