1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/config/spells/moats.json
Konstantin d8a237ba46 vcmi: add getTrigger method to obstacles
Fixes advanced remove obstacle spell
2023-03-31 01:01:26 +03:00

732 lines
21 KiB
JSON

{
"castleMoatTrigger" :
{
"targetType" : "CREATURE",
"type": "ability",
"name": "Moat",
"school": {},
"level": 0,
"power": 0,
"gainChance": {},
"levels" : {
"base": {
"power" : 0,
"range" : "0",
"description" : "", //For validation
"cost" : 0, //For validation
"aiValue" : 0, //For validation
"battleEffects" : {
"directDamage" : {
"type":"core:damage"
}
},
"targetModifier":{"smart":false}
},
"none" : {
},
"basic" : {
},
"advanced" : {
},
"expert" : {
}
},
"flags" : {
"damage": true,
"negative": true,
"nonMagical" : true,
"special": true
},
"targetCondition" : {
}
},
"castleMoat": {
"targetType" : "NO_TARGET",
"type": "ability",
"name": "Moat",
"school" : {},
"level": 0,
"power": 0,
"defaultGainChance": 0,
"gainChance": {},
"levels" : {
"base":{
"description" : "",
"aiValue" : 0,
"power" : 0,
"cost" : 0,
"targetModifier":{"smart":false},
"battleEffects":{
"moat":{
"type":"core:moat",
"hidden" : false,
"trap" : true,
"triggerAbility" : "core:castleMoatTrigger",
"dispellable" : false,
"removeOnTrigger" : false,
"moatDamage" : 70,
"moatHexes" : [[11, 28, 44, 61, 77, 111, 129, 146, 164, 181]],
"defender" :{
},
"bonus" :{
"primarySkill" : {
"val" : -3,
"type" : "PRIMARY_SKILL",
"subtype" : "primSkill.defence",
"valueType" : "ADDITIVE_VALUE"
}
}
}
},
"range" : "X"
},
"none" :{
},
"basic" :{
},
"advanced" :{
},
"expert" :{
}
},
"flags" : {
"nonMagical" : true,
"indifferent": true
},
"targetCondition" : {
}
},
"rampartMoatTrigger" :
{
"targetType" : "CREATURE",
"type": "ability",
"name": "Brambles",
"school": {},
"level": 0,
"power": 0,
"gainChance": {},
"levels" : {
"base": {
"power" : 0,
"range" : "0",
"description" : "", //For validation
"cost" : 0, //For validation
"aiValue" : 0, //For validation
"battleEffects" : {
"directDamage" : {
"type":"core:damage"
}
},
"targetModifier":{"smart":false}
},
"none" : {
},
"basic" : {
},
"advanced" : {
},
"expert" : {
}
},
"flags" : {
"damage": true,
"negative": true,
"nonMagical" : true,
"special": true
},
"targetCondition" : {
}
},
"rampartMoat": {
"targetType" : "NO_TARGET",
"type": "ability",
"name": "Brambles",
"school" : {},
"level": 0,
"power": 0,
"defaultGainChance": 0,
"gainChance": {},
"levels" : {
"base":{
"description" : "",
"aiValue" : 0,
"power" : 0,
"cost" : 0,
"targetModifier":{"smart":false},
"battleEffects":{
"moat":{
"type":"core:moat",
"hidden" : false,
"trap" : true,
"triggerAbility" : "core:rampartMoatTrigger",
"dispellable" : false,
"removeOnTrigger" : false,
"moatDamage" : 70,
"moatHexes" : [[11, 28, 44, 61, 77, 111, 129, 146, 164, 181]],
"defender" :{
},
"bonus" :{
"primarySkill" : {
"val" : -3,
"type" : "PRIMARY_SKILL",
"subtype" : "primSkill.defence",
"valueType" : "ADDITIVE_VALUE"
}
}
}
},
"range" : "X"
},
"none" :{
},
"basic" :{
},
"advanced" :{
},
"expert" :{
}
},
"flags" : {
"nonMagical" : true,
"indifferent": true
},
"targetCondition" : {
}
},
"towerMoat": {
"targetType" : "NO_TARGET",
"type": "ability",
"name": "Land Mine",
"school" : {},
"level": 3,
"power": 0,
"defaultGainChance": 0,
"gainChance": {},
"levels" : {
"base":{
"description" : "",
"aiValue" : 0,
"power" : 0,
"cost" : 0,
"targetModifier":{"smart":false},
"battleEffects":{
"moat":{
"type":"core:moat",
"hidden" : true,
"trap" : false,
"triggerAbility" : "core:landMineTrigger",
"dispellable" : true,
"removeOnTrigger" : true,
"moatDamage" : 150,
"moatHexes" : [[11], [28], [44], [61], [77], [111], [129], [146], [164], [181]],
"defender" :{
"animation" : "C09SPF1",
"appearAnimation" : "C09SPF0",
"appearSound" : "LANDMINE"
}
}
},
"range" : "X"
},
"none" :{
},
"basic" :{
},
"advanced" :{
},
"expert" :{
}
},
"flags" : {
"nonMagical" : true,
"indifferent": true
},
"targetCondition" : {
}
},
"infernoMoatTrigger" :
{
"targetType" : "CREATURE",
"type": "ability",
"name": "Lava",
"school": {},
"level": 0,
"power": 0,
"gainChance": {},
"levels" : {
"base": {
"power" : 0,
"range" : "0",
"description" : "", //For validation
"cost" : 0, //For validation
"aiValue" : 0, //For validation
"battleEffects" : {
"directDamage" : {
"type":"core:damage"
}
},
"targetModifier":{"smart":false}
},
"none" : {
},
"basic" : {
},
"advanced" : {
},
"expert" : {
}
},
"flags" : {
"damage": true,
"negative": true,
"nonMagical" : true,
"special": true
},
"targetCondition" : {
}
},
"infernoMoat": {
"targetType" : "NO_TARGET",
"type": "ability",
"name": "Lava",
"school" : {},
"level": 0,
"power": 0,
"defaultGainChance": 0,
"gainChance": {},
"levels" : {
"base":{
"description" : "",
"aiValue" : 0,
"power" : 0,
"cost" : 0,
"targetModifier":{"smart":false},
"battleEffects":{
"moat":{
"type":"core:moat",
"hidden" : false,
"trap" : true,
"triggerAbility" : "core:infernoMoatTrigger",
"dispellable" : false,
"removeOnTrigger" : false,
"moatDamage" : 90,
"moatHexes" : [[11, 28, 44, 61, 77, 111, 129, 146, 164, 181]],
"defender" :{
},
"bonus" :{
"primarySkill" : {
"val" : -3,
"type" : "PRIMARY_SKILL",
"subtype" : "primSkill.defence",
"valueType" : "ADDITIVE_VALUE"
}
}
}
},
"range" : "X"
},
"none" :{
},
"basic" :{
},
"advanced" :{
},
"expert" :{
}
},
"flags" : {
"nonMagical" : true,
"indifferent": true
},
"targetCondition" : {
}
},
"necropolisMoatTrigger" :
{
"targetType" : "CREATURE",
"type": "ability",
"name": "Boneyard",
"school": {},
"level": 0,
"power": 0,
"gainChance": {},
"levels" : {
"base": {
"power" : 0,
"range" : "0",
"description" : "", //For validation
"cost" : 0, //For validation
"aiValue" : 0, //For validation
"battleEffects" : {
"directDamage" : {
"type":"core:damage"
}
},
"targetModifier":{"smart":false}
},
"none" : {
},
"basic" : {
},
"advanced" : {
},
"expert" : {
}
},
"flags" : {
"damage": true,
"negative": true,
"nonMagical" : true,
"special": true
},
"targetCondition" : {
}
},
"necropolisMoat": {
"targetType" : "NO_TARGET",
"type": "ability",
"name": "Boneyard",
"school" : {},
"level": 0,
"power": 0,
"defaultGainChance": 0,
"gainChance": {},
"levels" : {
"base":{
"description" : "",
"aiValue" : 0,
"power" : 0,
"cost" : 0,
"targetModifier":{"smart":false},
"battleEffects":{
"moat":{
"type":"core:moat",
"hidden" : false,
"trap" : true,
"triggerAbility" : "core:necropolisMoatTrigger",
"dispellable" : false,
"removeOnTrigger" : false,
"moatDamage" : 70,
"moatHexes" : [[11, 28, 44, 61, 77, 111, 129, 146, 164, 181]],
"defender" :{
},
"bonus" :{
"primarySkill" : {
"val" : -3,
"type" : "PRIMARY_SKILL",
"subtype" : "primSkill.defence",
"valueType" : "ADDITIVE_VALUE"
}
}
}
},
"range" : "X"
},
"none" :{
},
"basic" :{
},
"advanced" :{
},
"expert" :{
}
},
"flags" : {
"nonMagical" : true,
"indifferent": true
},
"targetCondition" : {
}
},
"dungeonMoatTrigger" :
{
"targetType" : "CREATURE",
"type": "ability",
"name": "Boiling Oil",
"school": {},
"level": 0,
"power": 0,
"gainChance": {},
"levels" : {
"base": {
"power" : 0,
"range" : "0",
"description" : "", //For validation
"cost" : 0, //For validation
"aiValue" : 0, //For validation
"battleEffects" : {
"directDamage" : {
"type":"core:damage"
}
},
"targetModifier":{"smart":false}
},
"none" : {
},
"basic" : {
},
"advanced" : {
},
"expert" : {
}
},
"flags" : {
"damage": true,
"negative": true,
"nonMagical" : true,
"special": true
},
"targetCondition" : {
}
},
"dungeonMoat": {
"targetType" : "NO_TARGET",
"type": "ability",
"name": "Boiling Oil",
"school" : {},
"level": 0,
"power": 0,
"defaultGainChance": 0,
"gainChance": {},
"levels" : {
"base":{
"description" : "",
"aiValue" : 0,
"power" : 0,
"cost" : 0,
"targetModifier":{"smart":false},
"battleEffects":{
"moat":{
"type":"core:moat",
"hidden" : false,
"trap" : true,
"triggerAbility" : "core:dungeonMoatTrigger",
"dispellable" : false,
"removeOnTrigger" : false,
"moatDamage" : 90,
"moatHexes" : [[11, 28, 44, 61, 77, 111, 129, 146, 164, 181]],
"defender" :{
},
"bonus" :{
"primarySkill" : {
"val" : -3,
"type" : "PRIMARY_SKILL",
"subtype" : "primSkill.defence",
"valueType" : "ADDITIVE_VALUE"
}
}
}
},
"range" : "X"
},
"none" :{
},
"basic" :{
},
"advanced" :{
},
"expert" :{
}
},
"flags" : {
"nonMagical" : true,
"indifferent": true
},
"targetCondition" : {
}
},
"strongholdMoatTrigger" :
{
"targetType" : "CREATURE",
"type": "ability",
"name": "Wooden Spikes",
"school": {},
"level": 0,
"power": 0,
"gainChance": {},
"levels" : {
"base": {
"power" : 0,
"range" : "0",
"description" : "", //For validation
"cost" : 0, //For validation
"aiValue" : 0, //For validation
"battleEffects" : {
"directDamage" : {
"type":"core:damage"
}
},
"targetModifier":{"smart":false}
},
"none" : {
},
"basic" : {
},
"advanced" : {
},
"expert" : {
}
},
"flags" : {
"damage": true,
"negative": true,
"nonMagical" : true,
"special": true
},
"targetCondition" : {
}
},
"strongholdMoat": {
"targetType" : "NO_TARGET",
"type": "ability",
"name": "Wooden Spikes",
"school" : {},
"level": 0,
"power": 0,
"defaultGainChance": 0,
"gainChance": {},
"levels" : {
"base":{
"description" : "",
"aiValue" : 0,
"power" : 0,
"cost" : 0,
"targetModifier":{"smart":false},
"battleEffects":{
"moat":{
"type":"core:moat",
"hidden" : false,
"trap" : true,
"triggerAbility" : "core:strongholdMoatTrigger",
"dispellable" : false,
"removeOnTrigger" : false,
"moatDamage" : 70,
"moatHexes" : [[11, 28, 44, 61, 77, 111, 129, 146, 164, 181]],
"defender" :{
},
"bonus" :{
"primarySkill" : {
"val" : -3,
"type" : "PRIMARY_SKILL",
"subtype" : "primSkill.defence",
"valueType" : "ADDITIVE_VALUE"
}
}
}
},
"range" : "X"
},
"none" :{
},
"basic" :{
},
"advanced" :{
},
"expert" :{
}
},
"flags" : {
"nonMagical" : true,
"indifferent": true
},
"targetCondition" : {
}
},
"fortressMoatTrigger" :
{
"targetType" : "CREATURE",
"type": "ability",
"name": "Boiling Tar",
"school": {},
"level": 0,
"power": 0,
"gainChance": {},
"levels" : {
"base": {
"power" : 0,
"range" : "0",
"description" : "", //For validation
"cost" : 0, //For validation
"aiValue" : 0, //For validation
"battleEffects" : {
"directDamage" : {
"type":"core:damage"
}
},
"targetModifier":{"smart":false}
},
"none" : {
},
"basic" : {
},
"advanced" : {
},
"expert" : {
}
},
"flags" : {
"damage": true,
"negative": true,
"nonMagical" : true,
"special": true
},
"targetCondition" : {
}
},
"fortressMoat": {
"targetType" : "NO_TARGET",
"type": "ability",
"name": "Boiling Tar",
"school" : {},
"level": 0,
"power": 0,
"defaultGainChance": 0,
"gainChance": {},
"levels" : {
"base":{
"description" : "",
"aiValue" : 0,
"power" : 0,
"cost" : 0,
"targetModifier":{"smart":false},
"battleEffects":{
"moat":{
"type":"core:moat",
"hidden" : false,
"trap" : true,
"triggerAbility" : "core:fortressMoatTrigger",
"dispellable" : false,
"removeOnTrigger" : false,
"moatDamage" : 90,
"moatHexes" : [[10, 11, 27, 28, 43, 44, 60, 61, 76, 77, 94, 110, 111, 128, 129, 145, 146, 163, 164, 180, 181]],
"defender" :{
},
"bonus" :{
"primarySkill" : {
"val" : -3,
"type" : "PRIMARY_SKILL",
"subtype" : "primSkill.defence",
"valueType" : "ADDITIVE_VALUE"
}
}
}
},
"range" : "X"
},
"none" :{
},
"basic" :{
},
"advanced" :{
},
"expert" :{
}
},
"flags" : {
"nonMagical" : true,
"indifferent": true
},
"targetCondition" : {
}
}
}