User:AVS/Secondary skill format

From VCMI Project Wiki
< User:AVS
Revision as of 14:27, 7 January 2014 by AVS (talk | contribs)
Jump to: navigation, search
{
	"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
		}

	}
}