lorde's desperation phase health bar support

This commit is contained in:
GinYuH committed 2024-10-15 01:20:26 -07:00
1 parent 3a1b37bc69
commit 42f2b39be2
1 file changed
+3
+3
View File
@@ -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)
{