Module:RarityHandler: Difference between revisions

No edit summary
No edit summary
Line 33: Line 33:
function p.getCleanValue(frame)
function p.getCleanValue(frame)
     local rarity = clean(frame.args[1])
     local rarity = clean(frame.args[1])
     return rarity or "Unknown"
     if not rarity then return "Unknown" end
 
    if rarity == "1" then
        return "Always"
    end
 
    return rarity
end
end