1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Various fixes related to spell effects and Creature Window.

This commit is contained in:
DjWarmonger
2011-05-21 07:07:07 +00:00
parent 2845123a0a
commit 3a6b5cbfbb
5 changed files with 74 additions and 47 deletions

View File

@@ -938,7 +938,7 @@ void CCreatureHandler::loadStackExp(Bonus & b, BonusList & bl, std::string & src
case '7':
case '8':
case '9':
b.type = Bonus::LEVEL_SPELL_IMMUNITY; //TODO - value can't be read afterwards
b.type = Bonus::LEVEL_SPELL_IMMUNITY;
b.val = std::atoi(mod.c_str()) - 5;
break;
case ':':