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|}}}Spawn_Goldwaterpot_N_Spawn_Treasuretrinkets_N|datasets={"labels":[0, 50, 100, 150, 200, 250, 300, 350, 400, 450, 500],"datasets":[{"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"}]}|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>Misc<br>100</th></tr> | |||
<tr><td style="background-color:#EEE3; font-weight:bold;"><span class="colorrarity1">Poor<br>75%</span></td><td><span class="colorrarity1">75%</span></td></tr> | |||
<tr><td style="background-color:#EEE3; font-weight:bold;"><span class="colorrarity2">Common<br>25%</span></td><td><span class="colorrarity2">25%</span></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="2">{{Iconbox|Gold Waterpot|image=Gold Waterpot.png|size=x60px|rarity=1}}</td><td>[[Misc]]</td><td><span class="colorrarity1"> | <tr style="border-top: 2.5px solid #b4bbc2;"><td rowspan="2">{{Iconbox|Gold Waterpot|image=Gold Waterpot.png|size=x60px|rarity=1}}</td><td>[[Misc]]</td><td><span class="colorrarity1">1</span></td><td><span class="colorrarity1">Poor</span></td><td>1</td><td>75.0%</td></tr> | ||
<tr><td>[[Misc]]</td><td><span class="colorrarity2"> | <tr><td>[[Misc]]</td><td><b><span class="colorrarity2">2</span></b></td><td><span class="colorrarity2">Common</span></td><td>1</td><td>25.0%</td></tr></table><br> |