1 - Worm boss DoT is set to -1 if the DoT ever hits 0.
This commit is contained in:
1 parent
0cb0bc361d
commit
09c52ce93a
1 file changed
+5
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user