From af377bddeaf312a459d1b8c8a80707d22ffcfe1a Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Mon, 2 Mar 2020 15:53:47 -0500 Subject: [PATCH] reduced sharkron contact damage in death mode beach war zone --- NPCs/CalamityGlobalNPC.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index e4e1ff7850..446c8ade1d 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -957,6 +957,19 @@ namespace CalamityMod.NPCs npc.width = npc.height = 36; } + //Reduce damage in Death Mode by the Beach + if (CalamityWorld.death && !CalamityPlayer.areThereAnyDamnBosses && player.ZoneBeach && !modPlayer.ZoneSulphur) + { + if (npc.type == NPCID.Sharkron) + { + npc.damage = 25; + } + if (npc.type == NPCID.Sharkron2) + { + npc.damage = 50; + } + } + if (npc.type == NPCID.CultistBoss) { npc.lifeMax = (int)(npc.lifeMax * (CalamityWorld.revenge ? 2 : 1.2));