Microlite20 Forum
Microlite20 Games => Microlite74/78/81 Games => Topic started by: MajorGrognard on August 13, 2015, 11:21:43 pm

Stat bonus = (STAT10)/3, round toward zero.
Stat Bonus
1 3
2 3
3 2
4 2
5 2
6 1
7 1
8 1
9 +0
10 +0
11 +0
12 +1
13 +1
14 +1
15 +2
16 +2
17 +2
18 +3
19 +3
20 +3
21 +4
22 +4
23 +4
24 +5
25 +5
right? Or am I rounding wrong?

Should it be
Stat Bonus
1 3
2 3
3 3
4 2
5 2
6 2
7 1
8 1
9 1
10 +0
11 +0
12 +0
13 +1
14 +1
15 +1
16 +2
17 +2
18 +2
19 +3
20 +3
21 +3
22 +4
23 +4
24 +4
25 +5

It looks like you are rounding wrong. If there is a reminder, round toward zero:
stat of 2 is (210)/3 = 2.6666 rounded toward zero is 2
stat of 12 is (1210)/3 = 0.6666 rounded toward zero is 0
Don't consider whether the remainder is greater that 0.5 or not, always round toward 0 (aka round up if the result is negative, round down if the result is positive). A result of 2.9999 would still be 2. A result of 2.9999 would still be 2.