1
0
forked from tommy/tommy-bot

soundcloud download fixed (for now) removed youtube download

This commit is contained in:
tommy aka doge
2022-08-24 17:20:44 -04:00
parent 13005db51c
commit c8f5e9c823
6 changed files with 81 additions and 104 deletions

View File

@ -188,7 +188,7 @@ function API:GetMapCompletionCount(MAP_ID,STYLE_ID)
end
return ((pages-1)*200)+#res
end
--cool doggo
--cool doggo, aidan and me
function API:CalculatePoint(rank,count)
return RANK_CONSTANT_A*(math.exp(RANK_CONSTANT_B)-1)/(1-math.exp(math.max(-700, -RANK_CONSTANT_C*count)))*math.exp(math.max(-700, -RANK_CONSTANT_D*rank))+(1-RANK_CONSTANT_E)*(1+2*(count-rank))/(count*count)
end