Skill Format

From VCMI Project Wiki
Revision as of 21:38, 1 September 2017 by Hkoehler (talk | contribs) (Main format)
Jump to: navigation, search

Main format

{
    "skillName":
    {
        //optional base format, will be merged with basic/advanced/expert
        "base":     {Skill level base format},
        //configuration for different skill levels
        "basic":    {Skill level format},
        "advanced": {Skill level format},
        "expert":   {Skill level format}
    }

}

Skill level base format

Json object with data common for all levels can be put here. These configuration parameters will be default for all levels. All mandatory level fields become optional if they equal "base" configuration.