Difference between revisions of "Skill Format"

From VCMI Project Wiki
Jump to: navigation, search
(Main format)
(Replaced content with "{{Template:MovedToWebpage|https://vcmi.eu/modders/Entities_Format/Secondary_Skill_Format/}}")
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Main format ==
+
{{Template:MovedToWebpage|https://vcmi.eu/modders/Entities_Format/Secondary_Skill_Format/}}
<syntaxhighlight lang="javascript">
 
{
 
    "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}
 
    }
 
 
 
}
 
</syntaxhighlight>
 
 
 
== 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.
 

Latest revision as of 16:25, 16 July 2024

Logo256.png    Page moved to VCMI-Homepage