So I am going through the game mechanics - writing a simple province simulator code for elf/sage.
I have a problem with this bit in percentage-based building effect calculation:
Take the case of banks for example. Base effect is 1.25%.Percentage Based Buildings = Base Effect * BE * % of building * (100% - % of building)
Taken from the guide (Under 'Building Effects')
So if I have: 100% BE and 22.6% Banks,
Percentage based building effects = 1.0125*1.00*0.226*(1 - 0.226) = 0.1771
i.e. 17.7% higher income
But province reports for the same numbers give me:
Produce 2,575 gold coins per day
21.89% higher income (0.67%)
I do have 7.8% alchemy science, but that can't have factored into the calculation of building effects.
What am I doing wrong?