View Single Post
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226

Old December 4th, 2017, 08:10 PM
Quote:
Originally Posted by Mathias View Post
At 1st level, level/4 = 0, but you want to add +5 at 1st level, so you want to add 1 to the total you're calculating, and then multiply it.

Code:
field[abValue].value += (round(field[xTotalLev].value / 4, 0, -1) + 1) * 5
Yes! That made it work. You guys must work on this a lot
Bob G is offline   #3 Reply With Quote