mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
changes in hero class format:
- new property: affinity (might/magic) since in mods it is impossible to rely on odd/even numeric indexes - property commander is now part of hero class
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
"description": "Json format for defining new faction (aka towns) in VCMI",
|
||||
"required" : [ "name", "alignment", "creatureBackground" ],
|
||||
"dependencies" : {
|
||||
"town" : [ "puzzleMap", "commander" ]
|
||||
"town" : [ "puzzleMap" ]
|
||||
},
|
||||
|
||||
"additionalProperties" : false,
|
||||
@@ -51,10 +51,6 @@
|
||||
"enum" : [ "good", "neutral", "evil" ],
|
||||
"description": "Town alignment, good, neutral or evil"
|
||||
},
|
||||
"commander": {
|
||||
"type":"string",
|
||||
"description": "Identifier of creature that is used as commander by heroes"
|
||||
},
|
||||
"creatureBackground": {
|
||||
"type":"object",
|
||||
"additionalProperties" : false,
|
||||
|
||||
Reference in New Issue
Block a user