Hello,
I recently faced a problem with the "Round" function
The code is simple:
Code:
[h: Fortitude_Save_Realistic = Target_Fortitude_Save_Realistic + 0.50]
[h: Fortitude_Save = Round(Target_Fortitude_Save_Realistic)]
[h: Reflex_Save_Realistic = Target_Reflex_Save_Realistic + 0.33]
[h: Reflex_Save = Round(Target_Reflex_Save_Realistic)]
[h: Willpower_Save_Realistic = Target_Willpower_Save_Realistic + 0.33]
[h: Willpower_Save = Round(Target_Willpower_Save_Realistic)]
At lvl 3 i get numbers on "_Realistic" like 0.66
Normally the "Round" function has to make that 1 because 0.66 is closer to 1 than 0.
But...
The "Round" rounds 0.66 to 0.
This ruins all my effords to generate the correct number to player's saving throws.
Can anyone help me?