diff --git a/Loot-Chests.md b/Loot-Chests.md index 7522639..ae6e505 100644 --- a/Loot-Chests.md +++ b/Loot-Chests.md @@ -76,4 +76,14 @@ Available particle types are HELIX, OFFSET and GALAXY. Available particle names `chance` is the probability for the tier to be chosen when a loot chest is spawned. All of the tier chances should add up to 1 (10% chance is 0.1). -`drops` is the drop table used to fill the loot chest inventory along with `capacity` which is the chest capacity. For more information about how loot table _capacity_ works, please refer to this [wiki page](https://git.lumine.io/mythiccraft/mmocore/-/wikis/Drop%20Tables). Note that you can either specify a drop table ID if your drop table is already setup in your drop tables config folder, or an entire config section if you want to define a new drop table specifically for the chest tier. \ No newline at end of file +`drops` is the drop table used to fill the loot chest inventory, along with `capacity` which is the chest capacity. For more information about how loot table _capacity_ works, please refer to this [wiki page](https://git.lumine.io/mythiccraft/mmocore/-/wikis/Drop%20Tables). You can either directly specify a number using `capacity: 10` or use a scaling formula instead like this: +``` +capacity: + base: 10 # Base value of 10 capacity + scale: 3 # 3 extra capacity for every player level + spread: 0.1 # +/-10% spread in average + max-spread: 0.3 # Relative offset due to the 'spread' option cannot be greater than 30% +``` +The `spread` and `max-spread` options are optional if you're using a scaling formula for the loot capacity. + +For the `drops` option, do note that you can either specify a drop table ID if your drop table is already setup in your drop tables config folder, or an entire config section if you want to define a new drop table specifically for the chest tier. \ No newline at end of file