mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-21 21:17:49 +02:00
* Fixing bugs for external dwelling bonus of Golem Factory. [Problem] The occupied Golem Factory on adventure map doesn't give the player corresponding weekly growth bonus. [Solution] 1. Add the dwelling (of multiple generators) to a player's dewelling set. 2. Created helper function to calculate external dwelling bonus points. [Test] Manual testing on the map, works fine. https://bugs.vcmi.eu/view.php?id=2789