-
Notifications
You must be signed in to change notification settings - Fork 382
Description
Description
Loot tables:
New editor to create loot tables
In addition to drops, you can assign a loot table to mobs
You can assign a range to an amount of items when adding to NPC
You can assign a % chance of dropping to an item
System will go down the list and go through each drop chance separately
If a loot table hits the dropchance, then it will drop one item out of the loot table -> Loot tables are created in a separate editor
Loot table editor:
Give name
Add items
Give a weight to an item -> This calculates the drop chance. If you have 3 items in the list, with weights: 7,7,6 -> 7/(7+7+6=20) drop chance for first 2 items, 6/20 drop chance for last item
Intended Use-Case
Easy to add general drops like coins, gems, materials to mobs
Full control over how many items will drop
Full control over which items will drop
Before:
Boss NPC -> 1% chance of dropping MAGIC SWORD and 3% chance of dropping SUPER SHIELD and 50% chance of dropping 50 coins -> Possible for boss to drop all 3 items in rare cases
After:
Boss NPC -> 50% chance of dropping 2000-5000 coins and 3% chance to hit UBER LOOT TABLE
Uber loot table:
MAGIC SWORD - Weight 1
SUPER SHIELD - Weight 3
When you hit the 3% chance of UBER LOOT TABLE -> 1/4 chance you get MAGIC SWORD, 3/4 chance you get SUPER SHIELD
Duplicate Check
- This feature request is not a duplicate to the best of my knowledge.