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

From VCMI Project Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
= Format =
 
<syntaxhighlight lang="javascript">
 
<syntaxhighlight lang="javascript">
  
Line 30: Line 31:
 
{
 
{
 
"premyValue": 30
 
"premyValue": 30
 +
}
 +
 +
}
 +
}
 +
</syntaxhighlight>
 +
 +
= Full config =
 +
 +
<syntaxhighlight lang="javascript">
 +
{
 +
"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":
 +
{
 +
 
}
 
}
  

Revision as of 15:10, 7 January 2014

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

		}

	}
}