Skip to content

Commit

Permalink
scale avg nps with rate
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jan 19, 2017
1 parent 118833c commit d51f154
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ t[#t+1] = LoadFont("Common Normal")..{
if steps ~= nil and song ~= nil and update then
length = song:GetStepsSeconds()
notecount = steps:GetRadarValues(pn):GetValue("RadarCategory_Notes")
self:settext(string.format("%0.2f Average NPS",notecount/length))
self:settext(string.format("%0.2f Average NPS",notecount/length * getCurRateValue()))
self:diffuse(Saturation(getDifficultyColor(GetCustomDifficulty(steps:GetStepsType(),steps:GetDifficulty())),0.3))
else
self:settext("0.00 Average NPS")
Expand Down

0 comments on commit d51f154

Please sign in to comment.