From 53506b9fcbcb1fab4390dc2ecf1c9a72002be236 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Wed, 30 Mar 2011 00:27:13 -0400 Subject: [PATCH] [sm130futures] Fix off by one error. Don't forget the first tap...it's important. --- Themes/_fallback/Scripts/04 SpecialScoring.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Themes/_fallback/Scripts/04 SpecialScoring.lua b/Themes/_fallback/Scripts/04 SpecialScoring.lua index 01203c2450..a93b02c242 100644 --- a/Themes/_fallback/Scripts/04 SpecialScoring.lua +++ b/Themes/_fallback/Scripts/04 SpecialScoring.lua @@ -64,7 +64,7 @@ r['DDR Extreme'] = function(params, pss) local radarValues = steps:GetRadarValues(params.Player); local baseScore = (steps:IsAnEdit() and 5 or steps:GetMeter()) * 1000000; - local currentStep = pss:GetJudgedSegments(); + local currentStep = pss:GetJudgedSegments() + 1; -- increased late. local totalItems = GetTotalItems(radarValues); local singleStep = (1 + totalItems) * totalItems / 2; local stepLast = math.floor(baseScore / singleStep) * (currentStep);