Difference between revisions of "User:AVS/Secondary skill format"

From VCMI Project Wiki
Jump to: navigation, search
Line 24: Line 24:
 
"advanced":
 
"advanced":
 
{
 
{
"stdValue": 20
+
"premyValue": 20
 
},
 
},
  
 
"expert":
 
"expert":
 
{
 
{
"stdValue": 30
+
"premyValue": 30
 
}
 
}
  

Revision as of 14:27, 7 January 2014

{
	"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
		}

	}
}