Replies: 1 comment
-
|
Weighted drop tables would be awesome and the standard, having weight tables in the drop list also makes sense: 100% for bones, 50% of coins, 3% to hit weight table. So you will always get bones, sometimes get coins, rarely hit the drop table and on very very rare occasions get all 3 Gem { weight:5, mincount:1, maxcount:1 }, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions