Page 15 of 15
Re: Changes in what a 3.1 ruleset can do
Posted: Sat Feb 19, 2022 5:17 pm
by cazfi
Ruleset setting for minimum trade route output added.
osdn #43011
While this can have values higher than 1, it's likely to be typically used to tell if trade from a trade route can go down to zero, or will the route always produce at least 1 trade.
Re: Changes in what a 3.1 ruleset can do
Posted: Fri Apr 08, 2022 10:15 am
by cazfi
New Min_HP_Pct effect that tells the minimum HP that unit has in the beginning of the new turn if it didn't move the previous turn. This is applied after HP_Regen effects have been factored in. Other recovery factors are applied on top of that minimum.
osdn #42699
This has been used to unhardcode minimum HP unit's get inside a city.
Re: Changes in what a 3.1 ruleset can do
Posted: Sat Apr 09, 2022 9:00 am
by cazfi
Lua method City:remove() added
osdn #44229
Re: Changes in what a 3.1 ruleset can do
Posted: Wed Apr 13, 2022 4:59 am
by cazfi
New HP_Regen_2 effect finalizes unhardcoding unit healing rules.
It replaces hardcoded rules of "base healing" of 10% (except for Helicopters) and 10% healing of fortified units.
osdn #44201
The difference to HP_Regen effects are that these are applied at different point of calculation (after Min_HP_Pct, adding to it) and different rounding rules.