Fixing loot tables
This commit is contained in:
@@ -17,6 +17,11 @@
|
|||||||
"description": "The default random chance if the level difficulty is not assigned.",
|
"description": "The default random chance if the level difficulty is not assigned.",
|
||||||
"title": "Default chance"
|
"title": "Default chance"
|
||||||
},
|
},
|
||||||
|
"max_chance": {
|
||||||
|
"title": "Max chance",
|
||||||
|
"type": "number",
|
||||||
|
"description": "UNDOCUMENATED"
|
||||||
|
},
|
||||||
"easy": {
|
"easy": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
|
|||||||
@@ -13,18 +13,19 @@
|
|||||||
},
|
},
|
||||||
"damage": {
|
"damage": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
{ "type": "integer" },
|
||||||
{
|
{
|
||||||
"type": "integer"
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"min": { "type": "integer" },
|
||||||
|
"max": { "type": "integer" }
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"min": {
|
"min": { "type": "number" },
|
||||||
"type": "integer"
|
"max": { "type": "number" }
|
||||||
},
|
|
||||||
"max": {
|
|
||||||
"type": "integer"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"title": "A single pool",
|
"title": "A single pool",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["rolls"],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"rolls": {
|
"rolls": {
|
||||||
"title": "Rolls",
|
"title": "Rolls",
|
||||||
@@ -86,6 +85,11 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["item", "empty", "loot_table"]
|
"enum": ["item", "empty", "loot_table"]
|
||||||
},
|
},
|
||||||
|
"count": {
|
||||||
|
"type": "integer",
|
||||||
|
"title": "Count",
|
||||||
|
"description": "The amount of the item"
|
||||||
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"title": "Name",
|
"title": "Name",
|
||||||
"type": "string",
|
"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