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

Fixed #421 & #480. Some work on animations & sounds. Minor changes.

TODO: Interface should check game state before it's changed by triggered abilities of creatures.
This commit is contained in:
DjWarmonger
2011-05-15 06:37:57 +00:00
parent c6498d0af2
commit d4c2e55a00
5 changed files with 40 additions and 8 deletions

View File

@@ -848,10 +848,13 @@ void CCreatureHandler::loadStackExp(Bonus & b, BonusList & bl, std::string & src
b.type = Bonus::SPELL_DAMAGE_REDUCTION;
b.subtype = -1; //all magic schools
break;
case 'P':
b.type = Bonus::CASTS; break;
case 'R':
b.type = Bonus::ADDITIONAL_RETALIATION; break;
case 'W':
b.type = Bonus::MAGIC_RESISTANCE;
b.subtype = 0; //otherwise creature window goes crazy
break;
case 'f': //on-off skill