From Dark and Darker Wiki
(Fixed update status) |
(Made the tables slightly wider.) |
||
Line 50: | Line 50: | ||
If the item has no drop tables, display nothing. | If the item has no drop tables, display nothing. | ||
-->{{#if:{{#var:Junk}}{{#var:Poor}}{{#var:Common}}{{#var:Uncommon}}{{#var:Rare}}{{#var:Epic}}{{#var:Legendary}}{{#var:Unique}}<!-- | -->{{#if:{{#var:Junk}}{{#var:Poor}}{{#var:Common}}{{#var:Uncommon}}{{#var:Rare}}{{#var:Epic}}{{#var:Legendary}}{{#var:Unique}}<!-- | ||
-->|<span style="width:100%; display:inline-block;"><h2>Dropped By</h2 | -->|<span style="width:100%; display:inline-block;"><h2>Dropped By</h2><!-- | ||
--><p style="width:fit-content; border:1px solid #DD952A; text-align:center; padding:5px; font-weight:bold; margin:9px; border-radius:10px;">Drop Tables last updated for {{#explode:{{:TODO|DropTables}}|$|0|2}}</p><br><!-- | --><p style="width:fit-content; border:1px solid #DD952A; text-align:center; padding:5px; font-weight:bold; margin:9px; border-radius:10px;">Drop Tables last updated for {{#explode:{{:TODO|DropTables}}|$|0|2}}</p><br><!-- | ||
-->{{#if:{{#var:Junk}}<!-- If the item has a drop table for the rarity, display the tab for it. | -->{{#if:{{#var:Junk}}<!-- If the item has a drop table for the rarity, display the tab for it. | ||
Line 70: | Line 70: | ||
-->{{#if:{{#var:Junk}}<!-- | -->{{#if:{{#var:Junk}}<!-- | ||
-->|<div class="Junk-data" style="width: | -->|<div class="Junk-data" style="width:75%;{{#ifeq:Junk|{{#var:active}}|| display:none;}}"><!-- | ||
-->{{:DropTable:{{{1|{{PAGENAME}}}}} 0}}</div>}}<!-- | -->{{:DropTable:{{{1|{{PAGENAME}}}}} 0}}</div>}}<!-- | ||
-->{{#if:{{#var:Poor}}<!-- | -->{{#if:{{#var:Poor}}<!-- | ||
-->|<div class="Poor-data" style="width: | -->|<div class="Poor-data" style="width:75%;{{#ifeq:Poor|{{#var:active}}|| display:none;}}"><!-- | ||
-->{{:DropTable:{{{1|{{PAGENAME}}}}} 1}}</div>}}<!-- | -->{{:DropTable:{{{1|{{PAGENAME}}}}} 1}}</div>}}<!-- | ||
-->{{#if:{{#var:Common}}<!-- | -->{{#if:{{#var:Common}}<!-- | ||
-->|<div class="Common-data"style="width: | -->|<div class="Common-data"style="width:75%;{{#ifeq:Common|{{#var:active}}|| display:none;}}"><!-- | ||
-->{{:DropTable:{{{1|{{PAGENAME}}}}} 2}}</div>}}<!-- | -->{{:DropTable:{{{1|{{PAGENAME}}}}} 2}}</div>}}<!-- | ||
-->{{#if:{{#var:Uncommon}}<!-- | -->{{#if:{{#var:Uncommon}}<!-- | ||
-->|<div class="Uncommon-data"style="width: | -->|<div class="Uncommon-data"style="width:75%;{{#ifeq:Uncommon|{{#var:active}}|| display:none;}}"><!-- | ||
-->{{:DropTable:{{{1|{{PAGENAME}}}}} 3}}</div>}}<!-- | -->{{:DropTable:{{{1|{{PAGENAME}}}}} 3}}</div>}}<!-- | ||
-->{{#if:{{#var:Rare}}<!-- | -->{{#if:{{#var:Rare}}<!-- | ||
-->|<div class="Rare-data"style="width: | -->|<div class="Rare-data"style="width:75%;{{#ifeq:Rare|{{#var:active}}|| display:none;}}"><!-- | ||
-->{{:DropTable:{{{1|{{PAGENAME}}}}} 4}}</div>}}<!-- | -->{{:DropTable:{{{1|{{PAGENAME}}}}} 4}}</div>}}<!-- | ||
-->{{#if:{{#var:Epic}}<!-- | -->{{#if:{{#var:Epic}}<!-- | ||
-->|<div class="Epic-data"style="width: | -->|<div class="Epic-data"style="width:75%;{{#ifeq:Epic|{{#var:active}}|| display:none;}}"><!-- | ||
-->{{:DropTable:{{{1|{{PAGENAME}}}}} 5}}</div>}}<!-- | -->{{:DropTable:{{{1|{{PAGENAME}}}}} 5}}</div>}}<!-- | ||
-->{{#if:{{#var:Legendary}}<!-- | -->{{#if:{{#var:Legendary}}<!-- | ||
-->|<div class="Legendary-data"style="width: | -->|<div class="Legendary-data"style="width:75%;{{#ifeq:Legendary|{{#var:active}}|| display:none;}}"><!-- | ||
-->{{:DropTable:{{{1|{{PAGENAME}}}}} 6}}</div>}}<!-- | -->{{:DropTable:{{{1|{{PAGENAME}}}}} 6}}</div>}}<!-- | ||
-->{{#if:{{#var:Unique}}<!-- | -->{{#if:{{#var:Unique}}<!-- | ||
-->|<div class="Unique-data"style="width: | -->|<div class="Unique-data"style="width:75%;{{#ifeq:Unique|{{#var:active}}|| display:none;}}"><!-- | ||
If the item has a artifact variant display the DropTable for it. Else display the DropTable for the item itself. | If the item has a artifact variant display the DropTable for it. Else display the DropTable for the item itself. | ||
-->{{:DropTable:{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|artifactname}}<!-- | -->{{:DropTable:{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|artifactname}}<!-- |
Revision as of 00:17, 23 June 2024
Generate Drop Tables
Example
{{GenerateDropTables|Longbow}}
Dropped By
Drop Tables last updated for Patch:6.6#Patch 6
Common
Uncommon
Rare
Epic
Legendary
Artifact
NameSorted by Total Expected Value in Descending Order Sum of all (Count * Probability) | Type | Count | Probability |
---|---|---|---|
Monster | 1 | 5.4208% | |
Monster | 1 | 4.0888% | |
Loose Loot | 1 | 2.2222% | |
Monster | 1 | 1.8071% | |
Monster | 1 | 1.8071% | |
Monster | 1 | 1.8071% | |
Monster | 1 | 1.8071% | |
Monster | 1 | 1.8071% | |
Monster | 1 | 1.8071% | |
Monster | 1 | 1.4596% | |
Monster | 1 | 0.8743% | |
Monster | 1 | 0.8743% | |
Monster | 1 | 0.8743% | |
Monster | 1 | 0.8743% | |
Monster | 1 | 0.8743% | |
Monster | 1 | 0.8743% | |
Containers | 1 | 0.37% | |
Containers | 1 | 0.37% | |
Containers | 1 | 0.37% | |
Containers | 1 | 0.37% | |
Monster | 1 | 0.3464% | |
Monster | 1 | 0.3163% | |
Containers | 1 | 0.3153% | |
Containers | 1 | 0.3153% | |
Containers | 1 | 0.28% | |
Containers | 1 | 0.28% | |
Containers | 1 | 0.28% | |
Containers | 1 | 0.28% | |
Containers | 1 | 0.28% | |
Monster | 1 | 0.2515% | |
Monster | 1 | 0.2459% | |
Containers | 1 | 0.2432% | |
Containers | 1 | 0.216% | |
Containers | 1 | 0.2158% | |
Containers | 1 | 0.2158% | |
Containers | 1 | 0.2158% | |
Containers | 1 | 0.2158% | |
Containers | 1 | 0.2158% | |
Containers | 1 | 0.2158% | |
Monster | 1 | 0.153% | |
Containers | 1 | 0.1464% | |
Containers | 1 | 0.1464% | |
Containers | 1 | 0.1081% |
Example
{{GenerateDropTables|Armet}}
Example
Only displays the rarity it can drop
{{GenerateDropTables|Bone}}
Example
Doesn't display anything if there are no drops
{{GenerateDropTables|Potion of Luck}}