mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Hotfix 2
* fix loading range attribute * fix config for massive spells
This commit is contained in:
parent
8cc586ab7f
commit
1aff899f5b
@ -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"
|
||||
|
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user