-- This module converts the names of the tiers to numbers, with high-tier being 3 and powerless being 0
local p = {}
function p.getNumber(frame)
    local tier_name = frame.args[7]
    local tier_lower = tier_name:lower()
    if tier_lower:find("cripple") or tier_lower:find("powerless") then
        return 0
    elseif tier_lower:find("low") then
        return 1
    elseif tier_lower:find("mid") or tier_lower:find("average") then
        return 2
    elseif tier_lower:find("high") then
        return 3
        return -1
return p

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.