diff --git a/NPCs/DevourerofGods/DevourerofGodsBody.cs b/NPCs/DevourerofGods/DevourerofGodsBody.cs index 7bb99b7f61..8924e6648b 100644 --- a/NPCs/DevourerofGods/DevourerofGodsBody.cs +++ b/NPCs/DevourerofGods/DevourerofGodsBody.cs @@ -74,7 +74,7 @@ namespace CalamityMod.NPCs.DevourerofGods global.unbreakableDR = true; NPC.chaseable = false; } - NPC.LifeMaxNERB(887500, 1065000, 1500000); // Phase 1 is 355000, Phase 2 is 532500 + NPC.LifeMaxNERB(750000, 900000, 1500000); NPC.aiStyle = -1; AIType = -1; NPC.knockBackResist = 0f; diff --git a/NPCs/DevourerofGods/DevourerofGodsHead.cs b/NPCs/DevourerofGods/DevourerofGodsHead.cs index 38293a7fe1..4c59d1e0d9 100644 --- a/NPCs/DevourerofGods/DevourerofGodsHead.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHead.cs @@ -214,8 +214,7 @@ namespace CalamityMod.NPCs.DevourerofGods NPC.width = 104; NPC.height = 104; NPC.defense = 50; - NPC.LifeMaxNERB(887500, 1065000, 1500000); // Phase 1 is 355000, Phase 2 is 532500 - NPC.takenDamageMultiplier = 1.1f; + NPC.LifeMaxNERB(750000, 900000, 1500000); NPC.aiStyle = -1; AIType = -1; NPC.knockBackResist = 0f; @@ -472,15 +471,6 @@ namespace CalamityMod.NPCs.DevourerofGods bool increaseSpeed = distanceFromTarget > CalamityGlobalNPC.CatchUpDistance200Tiles; bool increaseSpeedMore = distanceFromTarget > CalamityGlobalNPC.CatchUpDistance350Tiles; - float takeLessDamageDistance = 1600f; - if (distanceFromTarget > takeLessDamageDistance) - { - float damageTakenScalar = MathHelper.Clamp(1f - ((distanceFromTarget - takeLessDamageDistance) / takeLessDamageDistance), 0f, 1f); - NPC.takenDamageMultiplier = MathHelper.Lerp(1f, 1.1f, damageTakenScalar); - } - else - NPC.takenDamageMultiplier = 1.1f; - // Close DoG's HP bar during P2 transition and decrement the countdown. if (NPC.localAI[2] > 0f) { diff --git a/NPCs/DevourerofGods/DevourerofGodsTail.cs b/NPCs/DevourerofGods/DevourerofGodsTail.cs index ab4915a949..725afb04d9 100644 --- a/NPCs/DevourerofGods/DevourerofGodsTail.cs +++ b/NPCs/DevourerofGods/DevourerofGodsTail.cs @@ -70,7 +70,7 @@ namespace CalamityMod.NPCs.DevourerofGods NPC.width = 66; NPC.height = 66; NPC.defense = 50; - NPC.LifeMaxNERB(887500, 1065000, 1500000); // Phase 1 is 355000, Phase 2 is 532500 + NPC.LifeMaxNERB(750000, 900000, 1500000); NPC.aiStyle = -1; AIType = -1; NPC.knockBackResist = 0f; @@ -82,7 +82,6 @@ namespace CalamityMod.NPCs.DevourerofGods NPC.netAlways = true; NPC.boss = true; NPC.BossBar = Main.BigBossProgressBar.NeverValid; - NPC.takenDamageMultiplier = 1.25f; NPC.dontCountMe = true; if (CalamityWorld.LegendaryMode) @@ -197,16 +196,6 @@ namespace CalamityMod.NPCs.DevourerofGods Player player = Main.player[NPC.target]; - float distanceFromTarget = Vector2.Distance(player.Center, NPC.Center); - float takeLessDamageDistance = 1600f; - if (distanceFromTarget > takeLessDamageDistance) - { - float damageTakenScalar = MathHelper.Clamp(1f - ((distanceFromTarget - takeLessDamageDistance) / takeLessDamageDistance), 0f, 1f); - NPC.takenDamageMultiplier = MathHelper.Lerp(1f, 1.25f, damageTakenScalar); - } - else - NPC.takenDamageMultiplier = 1.25f; - // Check if other segments are still alive, if not, die bool shouldDespawn = !NPC.AnyNPCs(ModContent.NPCType()); if (!shouldDespawn)