Dust
How is the dust salvaged from items calculated?
salvage dust = rarity base (2/5/8/12/25) × depth scale, then dust boost. depth scale is floor(base × (1 + log10(1 + depth/10)) × (1 + 0.12 × log10(1 + depth/100)))
This probably isn't a correct calculation because it doesn't scale correctly (somehow). @grinalda on the Just Loot Discord figured out a cleaner way to solve for the salvaged dust:
I got it to work tho, rounddown((base x depth scale) +(base x depth scale x raid xp % gain),0)
Salvage Dust Table
<div class="controls">
<label for="raidSelect"><strong>Select Raid XP % Gain:</strong> </label>
<select id="raidSelect">
<!-- Options populated by JS -->
</select>
</div>
<table id="dustTable">
<thead>
<tr>
<th>Depth</th>
<th>Common (2)</th>
<th>Magic (5)</th>
<th>Epic (8)</th>
<th>Legendary (12)</th>
<th>Mythic (25)</th>
</tr>
</thead>
<tbody>
<!-- Table rows populated by JS -->
</tbody>
</table>