1
0
forked from tommy/tommy-bot

fix whatever i fucked up lol

This commit is contained in:
tommy aka doge
2022-09-10 19:29:30 -04:00
parent 6dda6334b6
commit 6aa464cafb
2 changed files with 4 additions and 4 deletions

View File

@ -189,7 +189,7 @@ function API:GetMapCompletionCount(MAP_ID,STYLE_ID)
return ((pages-1)*200)+#res
end
--cool doggo, aidan and me
function API.CalculatePoint(rank,count)
function API.CalculatePoint(self,rank,count) --??wtf
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