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" : {
|
"deathRipple" : {
|
||||||
"index" : 24,
|
"index" : 24,
|
||||||
|
"targetType" : "CREATURE",
|
||||||
"anim" : 8,
|
"anim" : 8,
|
||||||
"sounds": {
|
"sounds": {
|
||||||
"cast": "DEATHRIP"
|
"cast": "DEATHRIP"
|
||||||
@ -699,6 +700,7 @@
|
|||||||
},
|
},
|
||||||
"destroyUndead" : {
|
"destroyUndead" : {
|
||||||
"index" : 25,
|
"index" : 25,
|
||||||
|
"targetType" : "CREATURE",
|
||||||
"anim" : 29,
|
"anim" : 29,
|
||||||
"sounds": {
|
"sounds": {
|
||||||
"cast": "COLDRING"
|
"cast": "COLDRING"
|
||||||
@ -735,6 +737,7 @@
|
|||||||
},
|
},
|
||||||
"armageddon" : {
|
"armageddon" : {
|
||||||
"index" : 26,
|
"index" : 26,
|
||||||
|
"targetType" : "CREATURE",
|
||||||
"anim" : 12,
|
"anim" : 12,
|
||||||
"sounds": {
|
"sounds": {
|
||||||
"cast": "ARMGEDN"
|
"cast": "ARMGEDN"
|
||||||
|
@ -817,6 +817,7 @@ CSpell * CSpellHandler::loadFromJson(const JsonNode& json)
|
|||||||
levelObject.power = levelPower;
|
levelObject.power = levelPower;
|
||||||
levelObject.AIValue = levelNode["aiValue"].Float();
|
levelObject.AIValue = levelNode["aiValue"].Float();
|
||||||
levelObject.smartTarget = levelNode["targetModifier"]["smart"].Bool();
|
levelObject.smartTarget = levelNode["targetModifier"]["smart"].Bool();
|
||||||
|
levelObject.range = levelNode["range"].String();
|
||||||
|
|
||||||
for(const auto & elem : levelNode["effects"].Struct())
|
for(const auto & elem : levelNode["effects"].Struct())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user