Page 1 of 1

[1.7.3] Different rounding on combat talent scaling

Posted: Sun May 23, 2021 1:49 pm
by trungaczne
Tested on 2 linux machines and 1 windows machine, all fresh installs

1.7.3 rescaled some talents and one kind of stood out: Spinal break can remove another effect/sustain at lvl 5 (1.3 mastery). However on Linux machines this doesn't round to the same value and thus it only removes 1 effect. Works fine on Windows.

Re: [1.7.3] Different rounding on combat talent scaling

Posted: Mon May 24, 2021 9:15 am
by trungaczne
This bug is also present on my Mac (only 1 desustain)

Re: [1.7.3] Different rounding on combat talent scaling

Posted: Thu May 27, 2021 7:21 pm
by trungaczne
Okay so there are 2 separate issues here
1. Spinalbreak's 2nd desustain/dispel doesn't work. The value caps out at 1.5 which is rounded up to 2 but only in the info text. When the ability is used the for loops responsible for the dispel goes from 1 to 1.5 which is only 1 iteration. This is on both platforms
To repro, just spawn a blood lich and hit it with lvl 5 spinal break. It should only dispel one magic sustain.
2. There's a slight difference in how lua format %d for different platforms, resulting in different rounding (1.5 -> 1 on linux/mac, 1.5 -> 2 on windows)