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

Support for Death Stare.

Some tweaks are still needed. Level 0 spell-like abilities won't work correctly.
This commit is contained in:
DjWarmonger
2011-04-23 17:10:54 +00:00
parent 61af4c745e
commit 7591d06b05
9 changed files with 92 additions and 13 deletions

View File

@@ -841,6 +841,10 @@ void CCreatureHandler::loadStackExp(Bonus & b, BonusList & bl, std::string & src
b.type = Bonus::CHANGES_SPELL_COST_FOR_ALLY; break;
case 'e':
b.type = Bonus::DOUBLE_DAMAGE_CHANCE; break;
case 'E':
b.type = Bonus::DEATH_STARE;
b.subtype = 0; //Gorgon
break;
case 'g':
b.type = Bonus::SPELL_DAMAGE_REDUCTION;
b.subtype = -1; //all magic schools