1 - Worm boss DoT is set to -1 if the DoT ever hits 0.

This commit is contained in:
mountaindrew10 committed 2022-03-01 05:31:54 -06:00
1 parent 0cb0bc361d
commit 09c52ce93a
1 file changed
+5 -1
+5 -1
View File
@@ -805,9 +805,13 @@ namespace CalamityMod.NPCs
if (bBlood > 0)
ApplyDPSDebuff(50, 10, ref npc.lifeRegen, ref damage);
// Reduce DoT on worm bosses by 50%.
// Reduce DoT on worm bosses by 75%.
if (wormBoss && npc.lifeRegen < 0)
{
npc.lifeRegen /= 4;
if (npc.lifeRegen > -1)
npc.lifeRegen = -1;
}
}
public void ApplyDPSDebuff(int lifeRegenValue, int damageValue, ref int lifeRegen, ref int damage)