1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/config/commanders.json
DjWarmonger cf45239332 Fixed #1035.
Support for commander artifacts that accumulate bonus after battle.
2012-07-16 16:18:02 +00:00

136 lines
3.4 KiB
JSON

{
//Map faction - commander creature
//Using "attacking creature" from WoG - whatever it means
"factionCreatures":
[
{"faction": 0, "id": 174},
{"faction": 1, "id": 175},
{"faction": 2, "id": 176},
{"faction": 3, "id": 177},
{"faction": 4, "id": 178},
{"faction": 5, "id": 179},
{"faction": 6, "id": 180},
{"faction": 7, "id": 181},
{"faction": 8, "id": 182}
],
//Commander receives these bonuses on level-up
"bonusPerLevel":
[
["CREATURE_DAMAGE", 1, 1, 0 ], //+1 minimum damage
["CREATURE_DAMAGE", 2, 2, 0 ], //+2 maximum damage
["STACK_HEALTH", 5, 0, 0 ] //+5 hp
],
//Value of bonuses given by each skill level
"skillLevels":
[
{"name": "ATTACK", "levels": [2, 5, 9, 15, 25]}, //0
{"name": "DEFENSE", "levels": [4, 10, 18, 30, 50]}, //1
{"name": "HEALTH", "levels": [10, 25, 45, 70, 100]}, //2
{"name": "DAMAGE", "levels": [10, 25, 45, 70, 100]}, //3
{"name": "SPEED", "levels": [1, 2, 3, 4, 6]}, //4
{"name": "SPELL_POWER", "levels": [1, 3, 6, 14, 29]}, //5
{"name": "CASTS", "levels": [1, 2, 3, 4, 5]},
{"name": "RESISTANCE", "levels": [5, 15, 35, 60, 90]}
],
"abilityRequirements":
//Two secondary skills needed for each special ability
[
{"ability": ["ENEMY_DEFENCE_REDUCTION", 50, 0, 0 ], "skills": [0, 1]},
{"ability": ["FEAR", 0, 0, 0 ], "skills": [0, 2]},
{"ability": ["ALWAYS_MAXIMUM_DAMAGE", 0, -1, 0 ], "skills": [0, 3]},
{"ability": ["SHOOTER", 0, 0, 0 ], "skills": [0, 4]},
{"ability": ["BLOCKS_RETALIATION", 0, 1, 0 ], "skills": [0,5]},
{"ability": ["UNLIMITED_RETALIATIONS", 0, 0, 0 ], "skills": [1, 2]},
{"ability": ["ATTACKS_ALL_ADJACENT", 0, 0, 0 ], "skills": [1, 3]},
{"ability": ["BLOCK", 30, 0, 0 ], "skills": [1, 4]},
{"ability": ["FIRE_SHIELD", 1, 1, 0 ], "skills": [1, 5]},
{"ability": ["ADDITIONAL_ATTACK", 1, 0, 0 ], "skills": [2, 3]},
{"ability": ["HP_REGENERATION", 50, 0, 0 ], "skills": [2, 4]},
{"ability": ["SPELL_AFTER_ATTACK", 30, 74, 0 ], "skills": [2, 5]},
{"ability": ["JOUSTING", 0, 0, 0 ], "skills": [3, 4]},
{"ability": ["DEATH_STARE", 1, 1, 0 ], "skills": [3,5]},
{"ability": ["FLYING", 0, 0, 0 ], "skills": [4,5]}
],
"artifacts":
[
{
"id": 146, //axe of smashing
"bonusesPerLevel":
[
{
"level": 6,
"bonus": ["PRIMARY_SKILL", 1, 0, 0]
}
]
},
{
"id": 147, //mithril mail
"bonusesPerLevel":
[
{
"level": 1,
"bonus": ["STACK_HEALTH", 1, 0, 0]
}
]
},
{
"id": 148, //sword of sharpness
"bonusesPerLevel":
[
{
"level": 1,
"bonus": ["CREATURE_DAMAGE", 1, 0, 0]
}
]
},
{
"id": 150, //pendant of sorcery
"bonusesPerLevel":
[
{
"level": 10,
"bonus": ["CREATURE_ENCHANT_POWER", 1, 0, 0]
}
]
},
{
"id": 151, //boots of haste
"bonusesPerLevel":
[
{
"level": 10,
"bonus": ["STACKS_SPEED", 1, 0, 0]
}
]
},
{
"id": 152, //bow of seeking
"thresholdBonuses":
[
{
"level": 5,
"bonus": ["SHOOTER", 0, 0, 0]
},
{
"level": 25,
"bonus": ["NO_WALL_PENALTY", 0, 0, 0]
},
{
"level": 50,
"bonus": ["NO_DISTANCE_PENALTY", 0, 0, 0]
}
]
},
{
"id": 153, //hardened shield
"bonusesPerLevel":
[
{
"level": 6,
"bonus": ["PRIMARY_SKILL", 1, 1, 0]
}
]
}
]
}