Module:ApocalypseBoostedDrop: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

16 October 2024

  • curprev 23:5923:59, 16 October 2024Alex talk contribs 4,281 bytes +4,281 Created page with "local p = {}; local lang = mw.language.getContentLanguage() local rarity_class = { { 1, 'table-bg-blue' }, { 1/25, 'table-bg-green' }, { 1/99.99, 'table-bg-yellow' }, { 1/999.99, 'table-bg-orange' }, { 1/9999999, 'table-bg-red' } } function get_rarity_class(val) for i,v in ipairs(rarity_class) do curr = v if val >= v[1] then break end end return curr[2] end function sigfig(n, f) f = math.floor(f-1) if n == 0 then return 0 end local m = math.floor(m..."