fix method call with CalculatePoint function

This commit is contained in:
tommy aka doge 2022-09-10 22:00:18 -04:00
parent 93b0fffce0
commit 9031d4a301

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(self,rank,count) --??wtf
function API.CalculatePoint(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