Made a few corrections to the code over the weekend.
Food/gold consumption rates by troops now considers fractional bonuses/penalties. For example, if your group contains 1 kingdom named brigade (requires both food/gold) and 9 skeleton brigades (no food/gold), your group will only incur a fractional bonus/penalty in proportion to the number of brigades that actually require the food/gold consumption. So if this group wasn't fed then your group will only incur a 1% morale penalty rather than a full 10% morale loss (since 1 kingdom brigade / 10 total brigades is 10% multiplied by the standard 10% food morale loss = 1%).
Fractional rates also applies to the morale/attrition (attrition occurs when there are consecutive turns of not feeding/paying troops) with order 238 (double feed/pay). So if the above group was double fed (normally a 5% morale gain), your group will only get a 1% increase in morale (code will round up/down since morale is a whole number). If you specify "B" to double feed and double pay your group then any bonus granted will be proportionally applied as above so all brigades that require food/gold must be fed/paid to get the bonus.
If you have a group with 5 kingdom brigades (both food/gold required), 2 monster brigades (just food), and 1 skeleton brigade (no food/gold) and you specify B with order 238, you'll only get a 6% bonus (not 7%) if the 7 brigades are fed and 5 brigades are paid. No bonus applies if the group (all brigades combined) are not properly fed/paid.
Another correction that I made was an improvement to the attrition adjustments which occur when you reorganize, recruit troops, receive reinforcements, transfer brigades between two groups with different attrition values, summon undead troops, or receive kingdom brigades as an ESO reward. The calculation isn't perfect and won't be until I have access to the official version but the code now handles the situation better than before.
Another correction was done to the locate character/group spell in that it also looks up prisoner lists (since prisoners are now possible to be stationed at different pop centers) if the specified character is a prisoner somewhere on the map.
And a few other changes but the above were the main modifications done. Turn 10 is due this Tuesday and is the first turn to grant ESO rewards so try to leave room in your 1st group if you decide to get any extra leaders/wizards.
Food/gold consumption rates by troops now considers fractional bonuses/penalties. For example, if your group contains 1 kingdom named brigade (requires both food/gold) and 9 skeleton brigades (no food/gold), your group will only incur a fractional bonus/penalty in proportion to the number of brigades that actually require the food/gold consumption. So if this group wasn't fed then your group will only incur a 1% morale penalty rather than a full 10% morale loss (since 1 kingdom brigade / 10 total brigades is 10% multiplied by the standard 10% food morale loss = 1%).
Fractional rates also applies to the morale/attrition (attrition occurs when there are consecutive turns of not feeding/paying troops) with order 238 (double feed/pay). So if the above group was double fed (normally a 5% morale gain), your group will only get a 1% increase in morale (code will round up/down since morale is a whole number). If you specify "B" to double feed and double pay your group then any bonus granted will be proportionally applied as above so all brigades that require food/gold must be fed/paid to get the bonus.
If you have a group with 5 kingdom brigades (both food/gold required), 2 monster brigades (just food), and 1 skeleton brigade (no food/gold) and you specify B with order 238, you'll only get a 6% bonus (not 7%) if the 7 brigades are fed and 5 brigades are paid. No bonus applies if the group (all brigades combined) are not properly fed/paid.
Another correction that I made was an improvement to the attrition adjustments which occur when you reorganize, recruit troops, receive reinforcements, transfer brigades between two groups with different attrition values, summon undead troops, or receive kingdom brigades as an ESO reward. The calculation isn't perfect and won't be until I have access to the official version but the code now handles the situation better than before.
Another correction was done to the locate character/group spell in that it also looks up prisoner lists (since prisoners are now possible to be stationed at different pop centers) if the specified character is a prisoner somewhere on the map.
And a few other changes but the above were the main modifications done. Turn 10 is due this Tuesday and is the first turn to grant ESO rewards so try to leave room in your 1st group if you decide to get any extra leaders/wizards.