Fix Laudanum exponentially exploding buff timers

This commit is contained in:
Cameron Ewell authored and GitHub committed 2020-10-24 23:20:22 -04:00
1 parent f2019b1997
commit 46e7ebf06c
1 file changed
+2 -1
+2 -1
View File
@@ -1252,8 +1252,9 @@ namespace CalamityMod.CalPlayer
hasBuff == BuffID.Ichor || hasBuff == BuffID.Chilled || hasBuff == BuffID.BrokenArmor || hasBuff == BuffID.Weak ||
hasBuff == BuffID.Slow || hasBuff == BuffID.Confused || hasBuff == BuffID.Blackout || hasBuff == BuffID.Darkness)
{
// Every other frame, increase the buff timer by one frame. Thus, the buff lasts twice as long.
if (player.miscCounter % 2 == 0)
player.buffTime[l] *= 2;
player.buffTime[l] += 1;
}
switch (hasBuff)