mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Merge pull request #5768 from IvanSavenko/skill_shortcut
Implement shortcut for hero skill specialties
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