Potions/Buffs have inaccurate duration

Meowch

Spazmatism
Steam or GOG
Steam
Single Player/Multiplayer
Single
Operating System
Windows 10
Terraria Version
1.4.0.5
Controls Used
Keyboard/Mouse
When using a potion, and the buff is over one minute of duration, when it passes 2 minutes and goes to 1 minute and 59 seconds of duration, it will jump directly to 59 seconds of duration instead of going through the whole 1 minute and 59 seconds, leaving you with a full minute less usage time of any buff.
 
values are rounded up now so when you see 2 minutes, the duration is actually 1 minute __ seconds
Please read the post again. I said if you pass 2 minutes of duration, instead of it going through with the 1 minute and 59 seconds of duration like it normally should (which rounds to 1 minute), it goes straight to 59 seconds of duration. This gets rid of a whole minute worth of your buff. It has nothing to do with rounding, the time itself skips a beat.
 
That's rounding. Buff timers now round up. For example, in a 3 minute buff, the timer shows 3 minutes left from 3 min to 2 min 1 sec, 2 minutes left from 2 min to 1 min 1 sec, then shows 1 minute left when it's exactly 1 min, and then counts down the seconds. Not seeing any lost time here.
 
Just checked it, and it counts as it should. Invisibility stayed there for stated 3 minutes.
As a matter of fact the bug you are reporting would only "work" if game rounded numbers down, giving 3 minute Invisibility buff with the sequence 2m -> missing 1m -> 59s. But it actually goes 3m -> 2m -> 59s.
 
Back
Top Bottom