Rounding up
When I am creating a unit that has a child unit whose size depends on parent, I'm running into errors as AB rounds to nearest, not up as I need.
Example - unit requires a child unit that equals 1 member per 3 parents. The formula I use is: @minimum = count[base] / 3 For a 10-man parent unit, this creates a 3-man child unit. But it needs to be 4. Any suggestions? |
Nevermind, figured it out :D
|
Well? Don't keep us in suspense man!
Also; pre-emptive bug report: remember to make sure Savage Orc Boar Boyz get the extra attack on their profile for two hand weapons. |
Sorry, forgot to check back. Added following line to rule:
@minimum = round(result, 0, 1) |
All times are GMT -8. The time now is 03:31 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.