1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fixed interface freezes for some mass-target spells.

How comes no one has reported it before?
This commit is contained in:
DjWarmonger
2011-07-15 16:41:43 +00:00
parent 706510f12f
commit 92006b53f1
2 changed files with 37 additions and 20 deletions

View File

@@ -325,6 +325,8 @@ void CSpellHandler::loadSpells()
}
ast.close();
spells.push_back(spells[80]); //clone Acid Breath attributes for Acid Breath damage effect
//forgetfulness needs to get targets automaticlaly on expert level
boost::replace_first(spells[61]->attributes, "CREATURE_TARGET", "CREATURE_TARGET_2"); //TODO: use flags instead?
damageSpells += 11, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 57, 77;
}