Add character levels and permanent player titles
This commit is contained in:
+18
-1
@@ -38,11 +38,28 @@
|
||||
"entity": {"$ref": "#/definitions/Entity"},
|
||||
"inventory": {"type": "object", "additionalProperties": {"type": "integer"}},
|
||||
"skills": {"type": "object", "additionalProperties": {"type": "integer"}},
|
||||
"level": {"type": "integer"}, "experience": {"type": "integer"},
|
||||
"experienceToNextLevel": {"type": "integer"}, "statPoints": {"type": "integer"},
|
||||
"titles": {"type": "array", "items": {"$ref": "#/definitions/TitleAward"}},
|
||||
"playedSeconds": {"type": "number"}, "remainingSeconds": {"type": "number"},
|
||||
"kills": {"type": "integer"}, "ack": {"type": "integer"},
|
||||
"hasKeystone": {"type": "boolean"}
|
||||
},
|
||||
"required": ["entity", "inventory", "skills", "playedSeconds", "remainingSeconds", "kills", "ack", "hasKeystone"]
|
||||
"required": ["entity", "inventory", "skills", "level", "experience", "experienceToNextLevel", "statPoints", "titles", "playedSeconds", "remainingSeconds", "kills", "ack", "hasKeystone"]
|
||||
},
|
||||
"TitleEffects": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {"damage": {"type": "number"}, "moveSpeed": {"type": "number"}},
|
||||
"required": ["damage", "moveSpeed"]
|
||||
},
|
||||
"TitleAward": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"}, "name": {"type": "string"}, "description": {"type": "string"},
|
||||
"scope": {"type": "string"}, "worldId": {"type": "string"}, "earnedAt": {"type": "string"},
|
||||
"effects": {"$ref": "#/definitions/TitleEffects"}
|
||||
},
|
||||
"required": ["id", "name", "description", "scope", "worldId", "earnedAt", "effects"]
|
||||
},
|
||||
"Chunk": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
|
||||
Reference in New Issue
Block a user