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><br><!--
-->|<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:50%;{{#ifeq:Junk|{{#var:active}}|| display:none;}}"><!--
-->|<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:50%;{{#ifeq:Poor|{{#var:active}}|| display:none;}}"><!--
-->|<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:50%;{{#ifeq:Common|{{#var:active}}|| display:none;}}"><!--
-->|<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:50%;{{#ifeq:Uncommon|{{#var:active}}|| display:none;}}"><!--
-->|<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:50%;{{#ifeq:Rare|{{#var:active}}|| display:none;}}"><!--
-->|<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:50%;{{#ifeq:Epic|{{#var:active}}|| display:none;}}"><!--
-->|<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:50%;{{#ifeq:Legendary|{{#var:active}}|| display:none;}}"><!--
-->|<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:50%;{{#ifeq:Unique|{{#var:active}}|| display:none;}}"><!--
-->|<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
Drop Source Table
NameSorted by Total Expected Value in Descending Order
Sum of all (Count * Probability)
TypeCountProbability
Monster15.4208%
Monster14.0888%
Loose Loot12.2222%
Monster11.8071%
Monster11.8071%
Monster11.8071%
Monster11.8071%
Monster11.8071%
Monster11.8071%
Monster11.4596%
Monster10.8743%
Monster10.8743%
Monster10.8743%
Monster10.8743%
Monster10.8743%
Monster10.8743%
Containers10.37%
Containers10.37%
Containers10.37%
Containers10.37%
Monster10.3464%
Monster10.3163%
Containers10.3153%
Containers10.3153%
Containers10.28%
Containers10.28%
Containers10.28%
Containers10.28%
Containers10.28%
Monster10.2515%
Monster10.2459%
Containers10.2432%
Containers10.216%
Containers10.2158%
Containers10.2158%
Containers10.2158%
Containers10.2158%
Containers10.2158%
Containers10.2158%
Monster10.153%
Containers10.1464%
Containers10.1464%
Containers10.1081%

Example

{{GenerateDropTables|Armet}}

#if:1111111

Example

Only displays the rarity it can drop

{{GenerateDropTables|Bone}}

Template:GenerateDropTables

Example

Doesn't display anything if there are no drops

{{GenerateDropTables|Potion of Luck}}

Template:GenerateDropTables