mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +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:
@ -336,9 +336,9 @@ void CCreatureWindow::init(const CStackInstance *Stack, const CBonusSystemNode *
|
||||
|
||||
//Stats
|
||||
morale = new MoraleLuckBox(true, genRect(42, 42, 335, 100));
|
||||
morale->set(stack);
|
||||
morale->set(stackNode);
|
||||
luck = new MoraleLuckBox(false, genRect(42, 42, 387, 100));
|
||||
luck->set(stack);
|
||||
luck->set(stackNode);
|
||||
|
||||
new CAnimImage("PSKIL42", 4, 0, 387, 51); //exp icon - Print it always?
|
||||
if (type) //not in fort window
|
||||
|
Reference in New Issue
Block a user