1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/config/commanders.json
DjWarmonger d491bc1c3a Commanders can level up. It's non-interactive yet.
Printing secondary skills for Commanders.
2012-05-18 14:02:27 +00:00

55 lines
2.2 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]}
]
}