1

Rounding item stats values

Veyjinn 9/21/23 5:58 am
199
10/1/2023 10:49 pm
Hello there!

I'm creating different custom items with statistics like armor and armor toughness.

The question is if values such as 0,7 or 0,9 would likely be rounded to the nearest whole number, which is 1 in this case?

Example:

Netherite armor with 0,9 armor toughness is rounded to 1 or does it keeps its properties of 0,9?

Looking forward to receiving a precise response ^^
Posted by
Veyjinn
Level 1 : New Server owner
0

  Have something to say?

JoinSign in

1

HoboMaggot
10/01/2023 10:49 pm
Level 55 : Grandmaster Blob
Attributes have floating point values so it wouldn't round at all
3

Welcome