Changes

does this work?
Line 39: Line 39:  
end
 
end
    +
function Stat.players(frame)
 +
    local a = tonumber(frame.args[1])
 +
    local b = tonumber(frame.args[2])
 +
    local sh = tonumber(frame.args[3])
 +
    if a and b and sh then
 +
        return string.format("%.f", ( 1 / ( ( 1 - ( a / b ) ) ^ ( sh ) ) ) )
 +
    else
 +
        return "undefined"
 +
    end
 +
end
 
return Stat
 
return Stat
3

edits