Difference between revisions of "User:AVS/Secondary skill format"
From VCMI Project Wiki
< User:AVS
(Created page with "<syntaxhighlight lang="javascript"> { "skillName": { "basic": { }, "advanced": { }, "expert": { } } } </syntaxhighlight>") |
|||
Line 8: | Line 8: | ||
"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": | ||
+ | { | ||
+ | "firstBonus":{[bonus format]}, | ||
+ | "secondBonus":{[bonus format]} | ||
+ | } | ||
}, | }, | ||
Line 13: | Line 24: | ||
"advanced": | "advanced": | ||
{ | { | ||
− | + | "stdValue": 20 | |
}, | }, | ||
"expert": | "expert": | ||
{ | { | ||
− | + | "stdValue": 30 | |
} | } | ||
Revision as of 14:23, 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":
{
"stdValue": 20
},
"expert":
{
"stdValue": 30
}
}
}