You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
depending on the current progress in the dungeon, i.e. how far inside you are, there are calculated probabilities for certain item "classes" (see down below).
Upon either generating or opening a chest (yet to be decided), one of these classes is randomly chosen. Depending on the balancing, there might also be more than one item in a chest - in that case, the process is simply repeated for the second item.
Once an item class has been chosen, an item will be chosen from the respective loot table. For simplicity, items in these loot tables will all have the same probability.
Item classes (the % is a possible distribution on level 1, the -/=/+ indicates whether the probability for this class decreases, increases or stays the same upon further advancing into the dungeon (i.e. > level 1):
basic items (30%, --)
advanced items (10%, +)
theme-dependent items (15%, +)
gold (25%, =)
gold amount will increase on higher levels
consumables (20%, =)
consumables will be more powerful (i.e. stronger health potions) or more numerous on higher levels
Example for a loot calculation:
A chest on level 1 is discovered. It's contents are calculated as follows:
probability calculation: generate number between 0 and 100 => e.g. a "23" is generated => this corresponds to item class "basic items".
from the basic items loot table, an item is randomly chosen => e.g. the player receives a shortsword
I hope my ideas came across clearly. If there are any question, feel free to ask.
//edit: Monster drops could be calculated similarly, with an additional item class specific for the monster. Possibly also with fewer classes than chests, i.e. monsters might only drop gold, consumables or their specific loot.
We're gonna be needing some sort of algorithm that decides which items etc. can be found in chests or dropped from bosses.
Hence, post any ideas on how to do so as a reply to this issue.
The text was updated successfully, but these errors were encountered: