Page 2 of 2

Re: version 1.107

Posted: Tue Nov 12, 2019 8:38 pm
by Stratego (dev)
exactly i was planning that too - but i thought we could test this if working fine or not.

i am testing it already with @Jasondunkel in AOW

Re: version 1.107

Posted: Wed Nov 13, 2019 2:23 pm
by Stratego (dev)
the float values workin fine imho (Enru have u tested it?)
but...
actually i dont like how it works...
I think i should put back in the rounding in this case:
- if a unit gets damage i think the fractional HP is looking not so nice eg. hp : 5,6, i would round it to 5 or 6 instead.
- the only case a hp could be fraction of integer is when it is "under construction" so we can make eg. catapults to b mended slower then their HP.
- all oher cases i i need to round up or down so a hp should always be integer after an attack.

what do u think?

Re: version 1.107

Posted: Wed Nov 13, 2019 3:50 pm
by Endru1241
I have tested it. Seems to work fine.
And I totally agree about rounding hp in attacks - we did it as far and it worked fine.
Maybe it could just be const float value - hp_attack_rounding_value, so it's definiable in initialization.
For AoS I'd set it as 1, but it could always be possibility left open.

Re: version 1.107

Posted: Thu Nov 14, 2019 9:53 pm
by Stratego (dev)
guess what!

ALL AOS ASSETS are in jsons! thanks to Endru! AWESOME!


uos already - needs extensive testing before publish!

thanks!