1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/config/spells/other.json
Konstantin b0d2787e86 vcmi: remove DIRECT_DAMAGE_IMMUNITY bonus
Replace by SPELL_DAMAGE_REDUCTION bonus with 100 value
2023-05-05 18:57:40 +03:00

836 lines
14 KiB
JSON

{
"quicksand" : {
"index" : 10,
"targetType" : "NO_TARGET",
"sounds": {
"cast": "" // no casting sound, only obstacle placement sound
},
"levels" : {
"base":{
"range" : "X",
"battleEffects" : {
"obstacle" : {
"type":"core:obstacle",
"hidden" : true,
"passable" : true,
"trap" : true,
"patchCount" : 4,
"turnsRemaining" : -1,
"attacker" :{
"animation" : "C17SPE1",
"appearAnimation" : "C17SPE0",
"appearSound" : "QUIKSAND",
"offsetY" : -42
},
"defender" :{
"animation" : "C17SPE1",
"appearAnimation" : "C17SPE0",
"appearSound" : "QUIKSAND",
"offsetY" : -42
}
}
}
},
"advanced":{
"battleEffects":{
"obstacle":{
"patchCount" : 6
}
}
},
"expert":{
"battleEffects":{
"obstacle":{
"patchCount" : 8
}
}
}
},
"flags" : {
"indifferent": true
}
},
"landMineTrigger" :
{
"targetType" : "CREATURE",
"type": "combat",
"name": "Land Mine",
"school":
{
"air": false,
"earth": false,
"fire": true,
"water": false
},
"level": 3,
"power": 10,
"gainChance": {},
"animation" : {
"hit" : ["C09SPF3"]
},
"sounds" : {
"cast" : "LANDKILL"
},
"levels" : {
"base": {
"power" : 25,
"range" : "0",
"description" : "", //For validation
"cost" : 0, //For validation
"aiValue" : 0, //For validation
"battleEffects" : {
"directDamage" : {
"type":"core:damage"
}
},
"targetModifier":{"smart":false}
},
"none" : {
"power" : 25
},
"basic" : {
"power" : 25
},
"advanced" : {
"power" : 50
},
"expert" : {
"power" : 100
}
},
"flags" : {
"damage": true,
"negative": true,
"special": true
},
"targetCondition" : {
}
},
"landMine" : {
"index" : 11,
"targetType" : "NO_TARGET",
"sounds": {
"cast": "" // no casting sound, only obstacle placement sound
},
"levels" : {
"base":{
"range" : "X",
"battleEffects" : {
"obstacle" : {
"type":"core:obstacle",
"hidden" : true,
"passable" : true,
"trap" : false,
"triggerAbility" : "core:landMineTrigger",
"removeOnTrigger" : true,
"patchCount" : 4,
"turnsRemaining" : -1,
"attacker" :{
"animation" : "C09SPF1",
"appearAnimation" : "C09SPF0",
"appearSound" : "LANDMINE"
},
"defender" :{
"animation" : "C09SPF1",
"appearAnimation" : "C09SPF0",
"appearSound" : "LANDMINE"
}
}
}
},
"advanced":{
"battleEffects":{
"obstacle":{
"patchCount" : 6
}
}
},
"expert":{
"battleEffects":{
"obstacle":{
"patchCount" : 8
}
}
}
},
"flags" : {
"damage": true,
"indifferent": true
},
"targetCondition" : {
}
},
"forceField" : {
"index" : 12,
"targetType" : "LOCATION",
"sounds": {
"cast": "FORCEFLD"
},
"levels" : {
"base":{
"range" : "0",
"targetModifier":{
"clearAffected": true
},
"battleEffects":{
"obstacle":{
"type":"core:obstacle",
"hidden" : false,
"passable" : false,
"trap" : false,
"turnsRemaining" : 2,
"attacker" :{
"range" : [[""]],
"shape" : [[""], ["TR"]],
"animation" : "C15SPE1",
"appearAnimation" : "C15SPE0"
},
"defender" :{
"range" : [[""]],
"shape" : [[""], ["TL"]],
"animation" : "C15SPE4",
"appearAnimation" : "C15SPE0"
}
}
}
},
"advanced":{
"battleEffects":{
"obstacle":{
"attacker" :{
"shape" : [[""], ["TR"], ["TR", "TL"]],
"animation" : "C15SPE10",
"appearAnimation" : "C15SPE9"
},
"defender" :{
"shape" : [[""], ["TL"], ["TL", "TR"]],
"animation" : "C15SPE7",
"appearAnimation" : "C15SPE6"
}
}
}
},
"expert":{
"battleEffects":{
"obstacle":{
"attacker" :{
"shape" : [[""], ["TR"], ["TR", "TL"]],
"animation" : "C15SPE10",
"appearAnimation" : "C15SPE9"
},
"defender" :{
"shape" : [[""], ["TL"], ["TL", "TR"]],
"animation" : "C15SPE7",
"appearAnimation" : "C15SPE6"
}
}
}
}
},
"flags" : {
"indifferent": true
}
},
"fireWallTrigger" : {
"targetType" : "CREATURE",
"type": "combat",
"name": "Fire Wall",
"school":
{
"air": false,
"earth": false,
"fire": true,
"water": false
},
"level": 2,
"power": 10,
"gainChance": {},
"levels" : {
"base": {
"power" : 10,
"range" : "0",
"description" : "", //For validation
"cost" : 0, //For validation
"aiValue" : 0, //For validation
"battleEffects" : {
"directDamage" : {
"type":"core:damage"
}
},
"targetModifier":{"smart":false}
},
"none" : {
"power" : 10
},
"basic" : {
"power" : 10
},
"advanced" : {
"power" : 20
},
"expert" : {
"power" : 50
}
},
"flags" : {
"damage": true,
"negative": true,
"special": true
},
"targetCondition" : {
}
},
"fireWall" : {
"index" : 13,
"targetType" : "LOCATION",
"sounds": {
"cast": "FIREWALL"
},
"levels" : {
"base":{
"range" : "0",
"targetModifier":{
"clearAffected": true
},
"battleEffects":{
"obstacle":{
"type":"core:obstacle",
"hidden" : false,
"passable" : true,
"trap" : false,
"triggerAbility" : "core:fireWallTrigger",
"turnsRemaining" : 2,
"attacker" :{
"shape" : [[""]],
"range" : [[""], ["TR"]],
"animation" : "C07SPF61",
"appearAnimation" : "C07SPF60"
},
"defender" :{
"shape" : [[""]],
"range" : [[""], ["TL"]],
"animation" : "C07SPF61",
"appearAnimation" : "C07SPF60"
}
}
}
},
"advanced":{
"battleEffects":{
"obstacle":{
"attacker" :{
"range" : [[""], ["TR"], ["TR", "TL"]]
},
"defender" :{
"range" : [[""], ["TL"], ["TL", "TR"]]
}
}
}
},
"expert":{
"battleEffects":{
"obstacle":{
"attacker" :{
"range" : [[""], ["TR"], ["TR", "TL"]]
},
"defender" :{
"range" : [[""], ["TL"], ["TL", "TR"]]
}
}
}
}
},
"flags" : {
"damage": true,
"indifferent": true
},
"targetCondition" : {
}
},
"earthquake" : {
"index" : 14,
"targetType" : "NO_TARGET",
"sounds": {
"cast": "ERTHQUAK"
},
"levels" : {
"base":{
"targetModifier":{"smart":true},
"battleEffects":{
"catapult":{
"type":"core:catapult",
"targetsToAttack": 2,
"chanceToCrit" : 0,
"chanceToNormalHit" : 100
}
},
"range" : "X"
},
"advanced":{
"battleEffects":{
"catapult":{
"targetsToAttack": 3
}
}
},
"expert":{
"battleEffects":{
"catapult":{
"targetsToAttack": 4
}
}
}
},
"flags" : {
"indifferent": true
}
},
"dispel" : {
"index" : 35,
"targetType" : "CREATURE",
"animation":{
"affect":["C05SPW"] //C05SPW0
},
"sounds": {
"cast": "DISPELL"
},
"levels" : {
"base":{
"targetModifier":{
"smart":true
},
"battleEffects":{
"dispel":{
"type":"core:dispel",
"optional":false,
"ignoreImmunity" : true,
"dispelNegative":true,
"dispelNeutral":true,
"dispelPositive":true
}
},
"range" : "0"
},
"advanced":{
"targetModifier":{"smart":false}
},
"expert":{
"targetModifier":{"smart":false},
"battleEffects":{
"dispel":{
"optional":true
},
"removeObstacle":{
"optional":true,
"type":"core:removeObstacle",
"removeAllSpells" : true
}
},
"range" : "X"
}
},
"flags" : {
"positive": true
}
},
"cure" : {
"index" : 37,
"targetType" : "CREATURE",
"animation":{
"affect":["C03SPW"]//C03SPW0
},
"sounds": {
"cast": "CURE"
},
"levels" : {
"base":{
"targetModifier":{"smart":true},
"battleEffects":{
"heal":{
"type":"core:heal",
"healLevel":"heal",
"healPower":"permanent",
"optional":true
},
"cure":{
"type":"core:dispel",
"optional":true,
"dispelNegative":true,
"dispelNeutral":false,
"dispelPositive":false
}
},
"range" : "0"
},
"expert":{
"range" : "X"
}
},
"flags" : {
"positive": true
}
},
"resurrection" : {
"index" : 38,
"targetType" : "CREATURE",
"animation":{
"affect":["C01SPE0"]
},
"sounds": {
"cast": "RESURECT"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects":{
"heal":{
"type":"core:heal",
"healLevel":"resurrect",
"healPower":"oneBattle",
"minFullUnits" : 1
},
"cure":{
"type":"core:dispel",
"indirect": true,
"optional":true,
"dispelNegative":true,
"dispelNeutral":false,
"dispelPositive":false
}
},
"targetModifier":{"smart":true}
},
"advanced":{
"battleEffects":{
"heal":{
"healPower":"permanent"
}
}
},
"expert":{
"battleEffects":{
"heal":{
"healPower":"permanent"
}
}
}
},
"flags" : {
"rising": true,
"positive": true
},
"targetCondition" : {
"noneOf" : {
"bonus.NON_LIVING" : "absolute",
"bonus.SIEGE_WEAPON" : "absolute",
"bonus.UNDEAD" : "absolute",
"bonus.GARGOYLE" : "absolute"
}
}
},
"animateDead" : {
"index" : 39,
"targetType" : "CREATURE",
"animation":{
"affect":["C01SPE0"]
},
"sounds": {
"cast": "ANIMDEAD"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects":{
"heal":{
"type":"core:heal",
"healLevel":"resurrect",
"healPower":"permanent",
"minFullUnits" : 1
}
},
"targetModifier":{"smart":true}
}
},
"flags" : {
"rising": true,
"positive": true
},
"targetCondition" : {
"allOf" : {
"bonus.UNDEAD" : "absolute"
}
}
},
"sacrifice" : {
"index" : 40,
"targetType" : "CREATURE",
"animation":{
"affect":["C01SPE0"]
},
"sounds": {
"cast": "SACRIF1"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects":{
"sacrifice":{
"type":"core:sacrifice",
"healLevel":"resurrect",
"healPower":"permanent",
"minFullUnits" : 0
}
},
"targetModifier":{"smart":true}
}
},
"flags" : {
"rising": true,
"positive": true
},
"targetCondition" : {
"noneOf" : {
"bonus.NON_LIVING" : "absolute",
"bonus.SIEGE_WEAPON" : "absolute",
"bonus.UNDEAD" : "absolute",
"bonus.GARGOYLE" : "absolute"
}
}
},
"teleport" : {
"index" : 63,
"targetType" : "CREATURE",
"sounds": {
"cast": "TELPTOUT"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects":{
"teleport":{
"type":"core:teleport"
}
},
"targetModifier":{"smart":true}
},
"advanced" :{
"battleEffects":{
"teleport":{
"isMoatPassable" : true
}
}
},
"expert" : {
"battleEffects":{
"teleport":{
"isWallPassable" : true,
"isMoatPassable" : true
}
}
}
},
"flags" : {
"positive": true
},
"targetCondition" : {
"noneOf" : {
"bonus.SIEGE_WEAPON" : "absolute"
}
}
},
"removeObstacle" : {
"index" : 64,
"targetType" : "OBSTACLE",
"animation":{
"cast":[2]
},
"sounds": {
"cast": "REMOVEOB"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects": {
"removeObstacle" : {
"optional":false,
"type":"core:removeObstacle",
"removeUsual" : true
}
}
},
"advanced" : {
"battleEffects": {
"removeObstacle" : {
"removeSpells" : ["fireWall"]
}
}
},
"expert" : {
"battleEffects": {
"removeObstacle" : {
"removeAllSpells" : true
}
}
}
},
"flags" : {
"indifferent": true
}
},
"clone" : {
"index" : 65,
"targetType" : "CREATURE",
"animation":{
},
"sounds": {
"cast": "CLONE"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects":{
"clone":{
"maxTier":5,
"type":"core:clone"
}
},
"targetModifier":{"smart":true}
},
"advanced":{
"battleEffects":{
"clone":{
"maxTier":6
}
}
},
"expert":{
"battleEffects":{
"clone":{
"maxTier":1000
}
}
}
},
"flags" : {
"positive": true
},
"targetCondition" : {
"noneOf" : {
"bonus.SIEGE_WEAPON" : "absolute"
}
}
},
"fireElemental" : {
"index" : 66,
"targetType" : "NO_TARGET",
"animation":{
},
"sounds": {
"cast": "SUMNELM"
},
"levels" : {
"base":{
"range" : "X",
"battleEffects":{
"summon":{
"exclusive":true,
"id":"fireElemental",
"permanent":false,
"type":"core:summon"
}
}
}
},
"flags" : {
"indifferent": true
}
},
"earthElemental" : {
"index" : 67,
"targetType" : "NO_TARGET",
"animation":{
},
"sounds": {
"cast": "SUMNELM"
},
"levels" : {
"base":{
"range" : "X",
"battleEffects":{
"summon":{
"exclusive":true,
"id":"earthElemental",
"permanent":false,
"type":"core:summon"
}
}
}
},
"flags" : {
"indifferent": true
}
},
"waterElemental" : {
"index" : 68,
"targetType" : "NO_TARGET",
"animation":{
},
"sounds": {
"cast": "SUMNELM"
},
"levels" : {
"base":{
"range" : "X",
"battleEffects":{
"summon":{
"exclusive":true,
"id":"waterElemental",
"permanent":false,
"type":"core:summon"
}
}
}
},
"flags" : {
"indifferent": true
}
},
"airElemental" : {
"index" : 69,
"targetType" : "NO_TARGET",
"animation":{
},
"sounds": {
"cast": "SUMNELM"
},
"levels" : {
"base":{
"range" : "X",
"battleEffects":{
"summon":{
"exclusive":true,
"id":"airElemental",
"permanent":false,
"type":"core:summon"
}
}
}
},
"flags" : {
"indifferent": true
}
}
}