Updated
This commit is contained in:
@@ -5,9 +5,32 @@
|
|||||||
"title": "Health 1.8.0",
|
"title": "Health 1.8.0",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
|
"dependencies": { "max": ["value"] },
|
||||||
"properties": {
|
"properties": {
|
||||||
"value": { "type": "integer", "description": "Current health of the entity", "title": "Value" },
|
"max": { "type": "integer", "description": "The maximum health the entity can heal", "title": "Maximum" },
|
||||||
"max": { "type": "integer", "description": "The maximum health the entity can heal", "title": "Maximum" }
|
"value": {
|
||||||
},
|
"description": "Current health of the entity",
|
||||||
"dependencies": { "max": ["value"] }
|
"title": "Value",
|
||||||
|
"oneOf": [
|
||||||
|
{ "type": "integer" },
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": ["range_min", "range_max"],
|
||||||
|
"properties": {
|
||||||
|
"range_min": {
|
||||||
|
"title": "Range minimum",
|
||||||
|
"description": "UNDOCUMANTED",
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"range_max": {
|
||||||
|
"title": "Range maximum",
|
||||||
|
"description": "UNDOCUMANTED",
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user