From 42f2b39be275e71595afa7dd515ef6d2bda73063 Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Tue, 15 Oct 2024 01:20:26 -0700 Subject: [PATCH] lorde's desperation phase health bar support --- NPCs/Other/THELORDE.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NPCs/Other/THELORDE.cs b/NPCs/Other/THELORDE.cs index dc4b4ad615..a970175053 100644 --- a/NPCs/Other/THELORDE.cs +++ b/NPCs/Other/THELORDE.cs @@ -130,6 +130,8 @@ namespace CalamityMod.NPCs.Other aiSwitchCounter++; if (ajitPaiDidNothingWrong && invincibleCounter < 6000) { + // On a technical level, the defense/DR stat is not being increased, but for player purposes he may as well be + NPC.Calamity().CurrentlyIncreasingDefenseOrDR = true; invincibleCounter++; } NPC.alpha -= 100; @@ -155,6 +157,7 @@ namespace CalamityMod.NPCs.Other // Trigger the death animation else if (NPC.life <= 1 && invincibleCounter >= 6000) { + NPC.Calamity().CurrentlyIncreasingDefenseOrDR = false; NPC.life = 1; if (!Dying) {