I've always wondered this...When GW does calculations for things like seconds/health/damage/energy, does it round? Like say a spell is reduced from 15 recharge to 11.25 from a 25% change, is it exactly 11.25 or does it round?
Same thing with energy, say with moral boosts or something its calculated 22.40 energy, even though you see a whole number, do you have a hidden .40 energy or whatever it rounded from?
Quick calculation question.
ajc2123
tmakinen
As a rule of thumb GW rounds floating point numbers down when considering various effects. This may even happen several times during the processing. A well known example is the way condition reducing equipment stacks. Let's say that you are dazed for 3 seconds. If you have a 20% reduced daze duration rune and shield then you will only be dazed for floor(0.8 * floor(0.8 * 3)) = 1 second whereas without rounding you would be dazed for 0.8 * 0.8 * 3 = 1.92 seconds.
ajc2123
Very helpful. Thank you.
Shaydow
That was very helpfull, ty. You said various effects? Is it condition reduction, like blind etc? What other cases can this apply to?
TY.
TY.
Killed u man
Shaydow
I was under the impression this whole time that almost ALL THINGS where EXACT, and did NOT round down. That's why I'm asking for specifics.Is it just then various spells / skills / etc that round down, or are there variables that can cause a skill to be rounded down rather then exact? This is what I was asking.
TY for your time.
TY for your time.
Killamus
It actually rounds up for enchantments. I know this, because patient spirit lasts 3 seconds with an enchantment weapon.
1.2*2 = 2.4
1.2*2 = 2.4