mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
Apply x2 bonus only to creature growth of affected creature on new month
This commit is contained in:
@@ -280,7 +280,7 @@ SetAvailableCreatures NewTurnProcessor::generateTownGrowth(const CGTownInstance
|
||||
|
||||
if (weekType == EWeekType::PLAGUE)
|
||||
resultingCreatures = creaturesBefore / 2;
|
||||
else if (weekType == EWeekType::DOUBLE_GROWTH)
|
||||
else if (weekType == EWeekType::DOUBLE_GROWTH && vstd::contains(t->creatures.at(k).second, creatureWeek))
|
||||
resultingCreatures = (creaturesBefore + creatureGrowth) * 2;
|
||||
else
|
||||
resultingCreatures = creaturesBefore + creatureGrowth;
|
||||
|
Reference in New Issue
Block a user