diff --git a/Utilities/CalamityUtils.cs b/Utilities/CalamityUtils.cs index b95f95226b..4c4857f285 100644 --- a/Utilities/CalamityUtils.cs +++ b/Utilities/CalamityUtils.cs @@ -20,6 +20,7 @@ namespace CalamityMod { case 1: return player.GetCalamityPlayer().ZoneAbyssLayer1; + case 2: return player.GetCalamityPlayer().ZoneAbyssLayer2; @@ -62,6 +63,11 @@ namespace CalamityMod { npc.lifeMax = revengeance.Value; } + if (npc.boss) + { + double HPBoost = (double)Config.BossHealthPercentageBoost * 0.01; + npc.lifeMax += (int)((double)npc.lifeMax * HPBoost); + } } /// /// Detects nearby hostile NPCs from a given point