User:AVS/Secondary skill format
From VCMI Project Wiki
Format
{
"skillName":
{
"basic":
{
// optional, number
// most of sec skills use SECONDARY_SKILL_PREMY bonus with skillName subtype
// this is value for such case
"premyValue": 10,
//optional object, allows overriding by name
"bonuses":
{
"firstBonus":{[bonus format]},
"secondBonus":{[bonus format]}
}
},
"advanced":
{
"premyValue": 20
},
"expert":
{
"premyValue": 30
}
}
}
Full config
{
"pathfinding":
{
},
"archery":
{
},
"logistics":
{
},
"scouting":
{
},
"diplomacy":
{
},
"navigation":
{
},
"leadership":
{
},
"wisdom":
{
},
"mysticism":
{
},
"luck":
{
},
"ballistics":
{
},
"eagleEye":
{
},
"necromancy":
{
},
"estates":
{
},
"fireMagic":
{
},
"airMagic":
{
},
"waterMagic":
{
},
"earthMagic":
{
},
"scholar":
{
},
"tactics":
{
},
"artillery":
{
},
"learning":
{
},
"offence":
{
},
"armorer":
{
},
"intelligence":
{
},
"sorcery":
{
},
"resistance":
{
},
"firstAid":
{
"basic":
{
},
"advanced":
{
},
"expert":
{
}
}
}