User:GuyPerfect
Chances for Things
Graves
Graves use the following algorithm for determining what you dig up:
Rolling a non-trinket or a trinket each has a 45% chance, since it's 50% of the remaining 90%.
There's only the one kind of Ghost, so it spawns every time when a Ghost is rolled:
Prefab Chance Global Ghost 100.00% 10.00%
Ghost formula:
100% * 10% global
Non-trinkets are weighted:
Prefab Weight Chance Global Nightmare Fuel 1 7.69% 3.46% Life Giving Amulet 1 7.69% 3.46% Gears 1 7.69% 3.46% Red Gem 5 38.46% 17.30% Blue Gem 5 38.46% 17.30%
The total of the weights is 13, so the formula is as follows:
weight / 13 * 45% global
Trinkets are not weighted:
Prefab Chance Global Ball and Cup 8.33% 3.75% Dessicated Tentacle 8.33% 3.75% Fake Kazoo 8.33% 3.75% Frazzled Wires 8.33% 3.75% Gord's Knot 8.33% 3.75% Gnome 8.33% 3.75% Hardened Rubber Bung 8.33% 3.75% Lying Robot 8.33% 3.75% Melty Marbles 8.33% 3.75% Mismatched Buttons 8.33% 3.75% Second-Hand Dentures 8.33% 3.75% Tiny Rocketship 8.33% 3.75%
There are 12 trinkets, so the formula is as follows:
1 / 12 * 45% global
Large Ornate Chest
Defeating an Ancient Guardian will spawn a Large Ornate Chest and populate it with items. Items go into the chest following this algorithm:
- A list of slot fillers is processed according to the chest's capacity
- The list contains 10 entries, which specify one or more items
- The chest can hold 9 items
- One of the entries is eliminated from the list
- Each entry in the list is added to the chest if a random roll passes
- If the entry specified more than one item, only one of them is selected at random
The source list of entries for slot fillers is as follows:
Count | Chance | Items | |||||||
---|---|---|---|---|---|---|---|---|---|
Prefab | Chance | Global | |||||||
1 | 33.00% | Thulecite Suit | 100.00% | 29.70% | |||||
1 | 33.00% | Thulecite Crown | 100.00% | 29.70% | |||||
3 | 25.00% | Thulecite Club | 33.33% | 7.50% | |||||
The Lazy Explorer | 33.33% | 7.50% | |||||||
Star Caller's Staff | 33.33% | 7.50% | |||||||
4 | 50.00% | Fire Staff | 25.00% | 11.25% | |||||
Ice Staff | 25.00% | 11.25% | |||||||
Telelocator Staff | 25.00% | 11.25% | |||||||
Pick/Axe | 25.00% | 11.25% | |||||||
1 | 75.00% | Thulecite | 100.00% | 67.50% | |||||
1 | 50.00% | Thulecite Fragments | 100.00% | 45.00% | |||||
1 | 75.00% | Nightmare Fuel | 100.00% | 67.50% | |||||
3 | 66.00% | Red Gem | 33.33% | 19.80% | |||||
Blue Gem | 33.33% | 19.80% | |||||||
Purple Gem | 33.33% | 19.80% | |||||||
3 | 45.00% | Yellow Gem | 33.33% | 13.50% | |||||
Orange Gem | 33.33% | 13.50% | |||||||
Green Gem | 33.33% | 13.50% | |||||||
1 | 33.00% | Gears | 100.00% | 29.70% |
There are 10 entries in the list, but only 9 of them can be selected to fill the slots of the Large Ornate Chest. Therefore, each entry's likelihood of even being considered for any given Chest is 90%. Within them, for entries with more than one item, the item is selected randomly from the group available.
Putting it all together, each individual item's likelihood for appearing within a Large Ornate Chest can be calcualted with the following formula:
90% * chance * (1 / count)