1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Creature weeks now work fine. Castle interface still needs to be updated.

This commit is contained in:
DjWarmonger
2010-08-25 08:40:50 +00:00
parent 630dc7f7f2
commit ea966a3d21
7 changed files with 14 additions and 67 deletions

View File

@@ -649,7 +649,7 @@ DLL_EXPORT void NewTurn::applyGs( CGameState *gs )
b.val = 100;
b.type = Bonus::CREATURE_GROWTH_PERCENT;
b.limiter = new CCreatureTypeLimiter(*VLC->creh->creatures[creatureid], false);
b.valType = Bonus::PERCENT_TO_ALL;
b.valType = Bonus::BASE_NUMBER; //certainly not intuitive
break;
case BONUS_GROWTH:
b.val = 5;
@@ -660,7 +660,7 @@ DLL_EXPORT void NewTurn::applyGs( CGameState *gs )
case PLAGUE:
b.val = -50;
b.type = Bonus::CREATURE_GROWTH_PERCENT;
b.valType = Bonus::PERCENT_TO_ALL;
b.valType = Bonus::BASE_NUMBER;
break;
default:
b.val = 0;