From Dark and Darker Wiki
(Scripted loot table update for HF 53) |
(Scripted loot table update for HF53. Uploading a few fixes for existing bugs.) |
||
Line 1: | Line 1: | ||
<div style=" | <div style="display:inline-block; vertical-align:top; min-width:550px; width:55%; margin-right:40px;"> | ||
{{#widget:DatasetsChart|uniqueId={{{1|}}}Ale_Trinkets_HR1|datasets={"labels":[0, 50, 100, 150, 200, 250, 300, 350, 400, 450, 500],"datasets":[{"label":"0","data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],"borderColor":"#323232","backgroundColor":"#323232AA"},{"label":"1","data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],"borderColor":"#646464","backgroundColor":"#646464AA"},{"label":"2","data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],"borderColor":"#DEDEDE","backgroundColor":"#DEDEDEAA"},{"label":"3","data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],"borderColor":"#62BE0B","backgroundColor":"#62BE0BAA"},{"label":"4","data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],"borderColor":"#4A9BD1","backgroundColor":"#4A9BD1AA"},{"label":"5","data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],"borderColor":"#AD5AFF","backgroundColor":"#AD5AFFAA"}]}|title=Effect of a Player's Luck on Each Luck Grade|yAxisLabel=Relative Probability w.r.t. 0 Luck|xAxisLabel=Luck}}</div> | |||
<div style="display:inline-block; margin- | <div style="display:inline-block; max-width:450px"> | ||
<div style="display:flex; flex-direction:row; flex-wrap:wrap; justify-content:space-evenly; font-size:20px"> | |||
<div class="line" style="margin-bottom:5px; margin-top:5px; background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div> | |||
{{TabToggle|0|<b>0</b>|active=yes}} | |||
<div class="line" style="margin-top:5px; background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div> | |||
<div class="0-data"> | |||
<table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="border-collapse:collapse; text-shadow:0px 0px 4px #000; text-align:center; vertical-align:middle;"> | |||
<caption>Loot Summary</caption> | |||
<tr><th>Luck 0 </th><th>Utility<br>59.7</th><th>Nothing<br>40</th></tr> | |||
<tr><td style="background-color:#EEE3; font-weight:bold;"><span class="colorrarity0">Junk<br>40%</span></td><td></td><td><span class="colorrarity0">40%</span></td></tr> | |||
<tr><td style="background-color:#EEE3; font-weight:bold;"><span class="colorrarity1">Poor<br>10%</span></td><td><span class="colorrarity1">10%</span></td><td></td></tr> | |||
<tr><td style="background-color:#EEE3; font-weight:bold;"><span class="colorrarity2">Common<br>30%</span></td><td><span class="colorrarity2">30%</span></td><td></td></tr> | |||
<tr><td style="background-color:#EEE3; font-weight:bold;"><span class="colorrarity3">Uncommon<br>15%</span></td><td><span class="colorrarity3">15%</span></td><td></td></tr> | |||
<tr><td style="background-color:#EEE3; font-weight:bold;"><span class="colorrarity4">Rare<br>4.7%</span></td><td><span class="colorrarity4">4.7%</span></td><td></td></tr></table></div></div></div> | |||
<div class="line" style="margin-bottom:30px; background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div> | <div class="line" style="margin-bottom:30px; background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div> | ||
<table cellspacing="0" class="wikitable sortable jquery-tablesorter mw-collapsible" style="width:100%; border-collapse:collapse; text-align:center; vertical-align:middle;"> | <table cellspacing="0" class="wikitable stripedtable sortable jquery-tablesorter mw-collapsible" style="width:100%; border-collapse:collapse; text-align:center; vertical-align:middle;"> | ||
<caption>Loot Table</caption> | <caption>Loot Table</caption> | ||
<tr><th style="width: | <tr><th style="width:5%">Name</th><th style="width:5%">Category</th><th style="width:5%">Luck Grade</th><th style="width:5%">Rarity</th><th style="width:5%">Item Count</th><th style="width:5%">Probability</th></tr> | ||
<tr style="border-top: 2.5px solid #b4bbc2;"><td rowspan="4">{{Iconbox|Ale|image=Ale.png|size=x60px|rarity=1}}</td><td>[[Utility]]</td><td><span class="colorrarity1"> | <tr style="border-top: 2.5px solid #b4bbc2;"><td rowspan="4">{{Iconbox|Ale|image=Ale.png|size=x60px|rarity=1}}</td><td>[[Utility]]</td><td><span class="colorrarity1">1</span></td><td><span class="colorrarity1">Poor</span></td><td>1</td><td>10.0%</td></tr> | ||
<tr><td>[[Utility]]</td><td><span class="colorrarity2"> | <tr><td>[[Utility]]</td><td><b><span class="colorrarity2">2</span></b></td><td><span class="colorrarity2">Common</span></td><td>1</td><td>30.0%</td></tr> | ||
<tr><td>[[Utility]]</td><td><span class="colorrarity3"> | <tr><td>[[Utility]]</td><td><b><span class="colorrarity3">3</span></b></td><td><span class="colorrarity3">Uncommon</span></td><td>1</td><td>15.0%</td></tr> | ||
<tr><td>[[Utility]]</td><td><span class="colorrarity4"> | <tr><td>[[Utility]]</td><td><b><span class="colorrarity4">4</span></b></td><td><span class="colorrarity4">Rare</span></td><td>1</td><td>4.7%</td></tr></table><br> |