English


KipeeCraft needs volunteers / testers to add postcraft formulas

Lopyrech
The in game rounding is actually a cast from float to int, so all decimals are removed. For example, -1.1 and -1.9 are both 'rounded' to -1, and 2.1 and 2.9 are rounded to 2.
I'm not 100% sure about weight / protection factor, but I think it's the same, but truncated to 2 / 1 decimals.

Yes, thats right :)
(but I couldn't have it explained that well in English)

But sometimes there is something else, for example like:
1/3 = 0.3333 -> 0.3333 * 3 = 0.9999, but in game value is 1 instead of the expected 0
I consider this behavior is maybe even different depending on OS/compiler used
Montrer le sujet
Last visit vendredi 22 Novembre 22:32:50 UTC
P_:G_:PLAYER

powered by ryzom-api