1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +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

@ -664,6 +664,7 @@
},
"deathRipple" : {
"index" : 24,
"targetType" : "CREATURE",
"anim" : 8,
"sounds": {
"cast": "DEATHRIP"
@ -699,6 +700,7 @@
},
"destroyUndead" : {
"index" : 25,
"targetType" : "CREATURE",
"anim" : 29,
"sounds": {
"cast": "COLDRING"
@ -735,6 +737,7 @@
},
"armageddon" : {
"index" : 26,
"targetType" : "CREATURE",
"anim" : 12,
"sounds": {
"cast": "ARMGEDN"

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())
{