Skip to content
#3090
Auto-translated
Gerter
build is a local variable-counter for the loop; it sequentially takes values from TOWN_BUILDING_DWELLING_1 (its numerical value is 7) to TOWN_BUILDING_DWELLING_7 (13), and the line SetTownBuildingLimitLevel('houseInferno', build, 0) is executed for each of these values. i is the same counter, but with values from 1 to 2, so that the upgrade of each building is performed twice (construction + upgrade).
Unfortunately, the function does not work correctly. For example, in my case, 2 months, 4 weeks, and 5 days have passed, so after capturing a city, there will only be 4 times more creatures in the garrison, not 9. Please tell me how to fix this.