1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-03 23:19:22 +02:00

* creature window prints morale/luck for actual stack in battle (CStack), not stack as seen in hero screen (CStackInstance), fixes #1264

* creature abilities bonus properties are updated when the creature id is assigned
* removed decrease morale ability from config file (it was duplicating the one from ZCRTRAIT.TXT
This commit is contained in:
Michał W. Urbańczyk
2013-05-19 19:53:03 +00:00
parent fc6e72dc75
commit c85829a00c
5 changed files with 24 additions and 11 deletions

View File

@@ -1347,6 +1347,7 @@ DLL_LINKAGE void SetStackEffect::applyGs( CGameState *gs )
{
BOOST_FOREACH(Bonus &fromEffect, effect)
{
logBonus->traceStream() << s->nodeName() << " receives a new bonus: " << fromEffect.Description();
s->addNewBonus( new Bonus(fromEffect));
}
}