r/heroes3 • u/Scarlet_Evans • 6d ago
Question I wanted to try the new HotA 1.7.2, but immediately hit a bug (rounding up doesn't work, new speciality gives +0 after rounding up, which would imply level 0 or negative bonus...). Is 1.7.2 still "Work In Progress" or I should report this somewhere?
13
u/wasp_F 6d ago
Attack and defence round up, not levels
8
u/Cautious_Remote_4852 6d ago edited 6d ago
To clarify, at level 3 this would mean 10 attack+20%=1+1,2=11,2 attack. rounded up to 14.
At level 1 this is 10 attack+ 0%=1 attack.
It's not a bug, you just misread how it worked.
10 attack is just a random round example.1
u/Scarlet_Evans 4d ago
Thanks, I assumed that there are just fractions, like N/3, where N is the level, i.e.
20% × N/3 (rounded up)
Then ever single level would be giving something. I can be mistaken, maybe I am misremembering things, but I thought that some sources in past were sometimes referring to specialities in this way, that is N/3 for level 3 units, N/4 for level 4 units etc., where N is hero level.
3
3
u/Igor369 5d ago
"for every 3 levels" statement logically means you literally get no bonus if you have level lower than 3.
4
u/Ordinary-Problem3838 5d ago
Yes, but the (rounded up) immediately after levels leads to confusion. It should be after 20% to avoid it.
2
u/Igor369 5d ago
Ok but rounding up levels literally makes no sense?? Why would anyone round up natural numbers??
2
u/Ordinary-Problem3838 4d ago
Because you are dealing with groups of three integers. So you round up to the next group of integers. 0-2 turns into 3, 4-5 turns into, 6 etc.
-4
u/Igor369 4d ago
...lol... who taught you that rounding to an arbitrary group of numbers is a thing?
1
u/Ordinary-Problem3838 4d ago edited 4d ago
Life. As in:
We receive an order for 22 T-shirts, machine batch produces items in batches of 10, we produce 30.
You can even go deeper. I'm organizing a camp activity. I'll need 3 batteries per walkie-talkie for each of the instructors. I'm still doing kids sign-ups so I don't know the exact number of kids. I field 1 instructor per 10 kids. I have 50 kids at camp, so I'll need 3-15 batteries. I round to 15 because I don't want to come up short. I want 15 batteries but they only come in 6 unit packages I round up to 18.
Salary increases for teachers in some countries I've work for also work with arbitrary grouping rounded up:
You've been working for up to 5 years, you get yearly inflation + 1%, up to 10 + 2%. What you are doing here is rounding up 0-4 to 5. 6-9 to 10. Etc.
It's literally what rounding up (or down) is for, to deal with interval ranges and sets.
2
u/9Gardens 4d ago
This seems like a legit and correct interpretation of rounding.
Not sure what that other guy was on about. Agree that the (rounded up) should be after the 20%, not after the levels.
23
u/Legal_Weekend_7981 6d ago
What gets rounded up is 20% of the unit stat, not levels. So a unit with 6 defense will get 1.2->2 defense for every n levels.