necro armor's delayed death can synergize with other death prevention
This commit is contained in:
1 parent
d33f56fe07
commit
bd1a3e76d6
1 file changed
+3
@@ -1695,7 +1695,10 @@ namespace CalamityMod.CalPlayer
|
||||
Player.statLife = upperHealthLimit;
|
||||
|
||||
if (necroReviveCounter >= NecroArmorSetChange.PostMortemDuration * 60)
|
||||
{
|
||||
Player.KillMe(PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.NecroRevive").Format(Player.name)), 1000, -1);
|
||||
necroReviveCounter = -1;
|
||||
}
|
||||
else if (necroReviveCounter % 60 == 59)
|
||||
SoundEngine.PlaySound(NecroArmorSetChange.TimerSound, Player.Center);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user