Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
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.