mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Implement shortcut for hero skill specialties
Should make changes to secondary skill bonuses less mod-breaking, and reduce chances of incorrectly defined specialties in mods
This commit is contained in:
@@ -129,8 +129,11 @@ In order to make functional hero you also need:
|
||||
"someBonus" : {Bonus Format},
|
||||
"anotherOne" : {Bonus Format}
|
||||
},
|
||||
// Optional. Shortcut for defining creature specialty, using standard H3 rules
|
||||
"creature" : "griffin"
|
||||
// Shortcut for defining creature specialty, using standard H3 rules
|
||||
"creature" : "griffin",
|
||||
|
||||
// Shortcut for defining specialty in secondary skill, using standard H3 rules
|
||||
"secondary" : "offence"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -26,6 +26,11 @@
|
||||
"advanced": {Skill level format},
|
||||
"expert": {Skill level format},
|
||||
|
||||
// Names of bonuses of the skill that are affected by default secondary skill specialty of a hero
|
||||
"specialty" : [
|
||||
"main"
|
||||
],
|
||||
|
||||
// Chance for the skill to be offered on level-up (heroClass may override)
|
||||
"gainChance" : {
|
||||
// Chance for hero classes with might affinity
|
||||
|
||||
Reference in New Issue
Block a user