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

From VCMI Project Wiki
Jump to: navigation, search
(Full config)
(Format)
Line 6: Line 6:
 
"skillName":
 
"skillName":
 
{
 
{
 +
//required | object
 +
"levels":{
  
"basic":
+
"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":
 
 
{
 
{
 +
//required at least one(???), any name | bonus format | allows overriding by name
 
"firstBonus":{[bonus format]},
 
"firstBonus":{[bonus format]},
 
"secondBonus":{[bonus format]}
 
"secondBonus":{[bonus format]}
}
+
 +
 
 +
},
  
},
+
"advanced":
 +
{
  
"advanced":
+
},
{
 
"premyValue": 20
 
},
 
  
"expert":
+
"expert":
{
+
{
"premyValue": 30
+
 +
}
 
}
 
}
  

Revision as of 16:23, 7 January 2014

Format

{
	"skillName":
	{
		//required | object
		"levels":{

			"basic": 
			{
				//required at least one(???), any name | bonus format | allows overriding by name
				"firstBonus":{[bonus format]},
				"secondBonus":{[bonus format]}
				

			},

			"advanced":
			{

			},

			"expert":
			{
			
			}
		}

	}
}