Fixing loot tables
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
"description": "The default random chance if the level difficulty is not assigned.",
|
||||
"title": "Default chance"
|
||||
},
|
||||
"max_chance": {
|
||||
"title": "Max chance",
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENATED"
|
||||
},
|
||||
"easy": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
|
||||
@@ -13,18 +13,19 @@
|
||||
},
|
||||
"damage": {
|
||||
"oneOf": [
|
||||
{ "type": "integer" },
|
||||
{
|
||||
"type": "integer"
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"min": { "type": "integer" },
|
||||
"max": { "type": "integer" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"min": {
|
||||
"type": "integer"
|
||||
},
|
||||
"max": {
|
||||
"type": "integer"
|
||||
}
|
||||
"min": { "type": "number" },
|
||||
"max": { "type": "number" }
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
"additionalProperties": false,
|
||||
"title": "A single pool",
|
||||
"type": "object",
|
||||
"required": ["rolls"],
|
||||
"properties": {
|
||||
"rolls": {
|
||||
"title": "Rolls",
|
||||
@@ -86,6 +85,11 @@
|
||||
"type": "string",
|
||||
"enum": ["item", "empty", "loot_table"]
|
||||
},
|
||||
"count": {
|
||||
"type": "integer",
|
||||
"title": "Count",
|
||||
"description": "The amount of the item"
|
||||
},
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string",
|
||||
@@ -117,6 +121,29 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tiers": {
|
||||
"title": "Tiers",
|
||||
"description": "TODO description",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"bonus_chance": {
|
||||
"title": "Bonus chance",
|
||||
"description": "TODO description",
|
||||
"type": "number"
|
||||
},
|
||||
"bonus_rolls": {
|
||||
"title": "Bonus rolls",
|
||||
"description": "TODO description",
|
||||
"type": "integer"
|
||||
},
|
||||
"initial_range": {
|
||||
"title": "Initial range",
|
||||
"description": "TODO description",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user