1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-31 00:07:39 +02:00

Add missing hero specialty fields to docs

These properties are already supported in 1.7, but undocumented
This commit is contained in:
Ivan Savenko
2025-10-24 17:55:47 +03:00
parent 6b4179af86
commit cf5133f285

View File

@@ -130,10 +130,21 @@ In order to make functional hero you also need:
"anotherOne" : {Bonus Format}
},
// Shortcut for defining creature specialty, using standard H3 rules
// Can be combined with bonuses-based specialty if desired
"creature" : "griffin",
// Shortcut for defining specialty in secondary skill, using standard H3 rules
"secondary" : "offence"
// Can be combined with bonuses-based specialty if desired
"secondary" : "offence",
// Optional, only applicable to creature specialties
// Overrides creature level to specific value for purposes of computing growth of h3-like creature specialty
"creatureLevel" : 5
// Optional, only applicable to creature and secondary skill specialties
// Overrides default (5% for vanilla H3 specialties) growth of specialties per level to a specified value
// Default value can be modified globally using specialtySecondarySkillGrowth and specialtyCreatureGrowth game settings
"stepSize" : 5
}
}
```