1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-27 00:41:08 +02:00
* fix loading range attribute
* fix config for massive spells
This commit is contained in:
alexvins
2014-03-17 14:39:28 +00:00
parent 8cc586ab7f
commit 1aff899f5b
2 changed files with 6 additions and 2 deletions

View File

@ -817,6 +817,7 @@ CSpell * CSpellHandler::loadFromJson(const JsonNode& json)
levelObject.power = levelPower;
levelObject.AIValue = levelNode["aiValue"].Float();
levelObject.smartTarget = levelNode["targetModifier"]["smart"].Bool();
levelObject.range = levelNode["range"].String();
for(const auto & elem : levelNode["effects"].Struct())
{