1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/lib/mapObjects
Hao Hu 9cc2464cf6 Fixing bugs for external dwelling bonus of Golem Factory (#382)
* 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
2017-10-07 17:42:33 +03:00
..
CArmedInstance.cpp Fix memory problems with BonusList 2016-09-29 15:08:00 +02:00
CArmedInstance.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CBank.cpp wisdom is now bonus-based 2017-08-26 20:49:29 +12:00
CBank.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
CGHeroInstance.cpp CGHeroInstance::recreateSecondarySkillsBonuses() restores bonuses for all levels 2017-08-28 23:59:01 +12:00
CGHeroInstance.h fixed serialization for older savegames 2017-08-28 13:56:00 +12:00
CGMarket.cpp Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CGMarket.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CGPandoraBox.cpp fixes 2017-08-12 14:36:37 +03:00
CGPandoraBox.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
CGTownInstance.cpp Fixing bugs for external dwelling bonus of Golem Factory (#382) 2017-10-07 17:42:33 +03:00
CGTownInstance.h Fixing bugs for external dwelling bonus of Golem Factory (#382) 2017-10-07 17:42:33 +03:00
CObjectClassesHandler.cpp Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CObjectClassesHandler.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
CObjectHandler.cpp Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CObjectHandler.h Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CommonConstructors.cpp Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CommonConstructors.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
CQuest.cpp Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CQuest.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
CRewardableConstructor.cpp Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CRewardableConstructor.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CRewardableObject.cpp Add missing artifact name in wagon text, fix #2763 2017-10-05 14:52:51 +02:00
CRewardableObject.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
JsonRandom.cpp Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
JsonRandom.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
MapObjects.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
MiscObjects.cpp skill names and descriptions are fully managed by CSkillHandler 2017-08-30 22:35:23 +12:00
MiscObjects.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
ObjectTemplate.cpp Fixed wrong animation paths 2017-09-04 18:41:22 +03:00
ObjectTemplate.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00