1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

vcmi: move demon summoning ability to separate file

This commit is contained in:
Konstantin 2023-03-04 00:32:58 +03:00
parent b99a2ad669
commit b59ee5fecc
3 changed files with 52 additions and 49 deletions

View File

@ -78,7 +78,8 @@
"config/spells/offensive.json",
"config/spells/other.json",
"config/spells/timed.json",
"config/spells/ability.json"
"config/spells/ability.json",
"config/spells/vcmiAbility.json"
],
"skills" :
[

View File

@ -428,52 +428,5 @@
"bonus.DIRECT_DAMAGE_IMMUNITY" : "normal"
}
}
},
"summonDemons" : {
"type": "ability",
"targetType" : "CREATURE",
"name": "Summon Demons",
"school" : {},
"level": 2,
"power": 50,
"defaultGainChance": 0,
"gainChance": {},
"animation":{
},
"sounds": {
"cast": "RESURECT"
},
"levels" : {
"base": {
"description" : "",
"aiValue" : 0,
"power" : 40,
"cost" : 1,
"range" : "0",
"battleEffects":{
"demonSummon":{
"id":"demon",
"permanent":true,
"type":"core:demonSummon"
}
}
},
"none" :{},
"basic" :{},
"advanced" :{},
"expert" :{}
},
"flags" : {
"rising": true,
"positive": true
},
"targetCondition" : {
"noneOf" : {
"bonus.NON_LIVING" : "absolute",
"bonus.SIEGE_WEAPON" : "absolute",
"bonus.UNDEAD" : "absolute",
"bonus.GARGOYLE" : "absolute"
}
}
},
}
}

View File

@ -0,0 +1,49 @@
{
"summonDemons" : {
"type": "ability",
"targetType" : "CREATURE",
"name": "Summon Demons",
"school" : {},
"level": 2,
"power": 50,
"defaultGainChance": 0,
"gainChance": {},
"animation":{
},
"sounds": {
"cast": "RESURECT"
},
"levels" : {
"base": {
"description" : "",
"aiValue" : 0,
"power" : 40,
"cost" : 1,
"range" : "0",
"battleEffects":{
"demonSummon":{
"id":"demon",
"permanent":true,
"type":"core:demonSummon"
}
}
},
"none" :{},
"basic" :{},
"advanced" :{},
"expert" :{}
},
"flags" : {
"rising": true,
"positive": true
},
"targetCondition" : {
"noneOf" : {
"bonus.NON_LIVING" : "absolute",
"bonus.SIEGE_WEAPON" : "absolute",
"bonus.UNDEAD" : "absolute",
"bonus.GARGOYLE" : "absolute"
}
}
}
}