lorde's desperation phase health bar support
This commit is contained in:
1 parent
3a1b37bc69
commit
42f2b39be2
1 file changed
+3
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user