From 1f5210dbba4d5a88e4e886687c5d914b1f979b69 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Wed, 30 Mar 2011 00:43:17 -0400 Subject: [PATCH] [sm130futures] Revert, use lua counter. Still choking on hold judgments though. --- Themes/_fallback/Scripts/04 SpecialScoring.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Themes/_fallback/Scripts/04 SpecialScoring.lua b/Themes/_fallback/Scripts/04 SpecialScoring.lua index 0cc2103a86..ea58cc68b0 100644 --- a/Themes/_fallback/Scripts/04 SpecialScoring.lua +++ b/Themes/_fallback/Scripts/04 SpecialScoring.lua @@ -63,12 +63,12 @@ r['DDR Extreme'] = function(params, pss) local steps = GAMESTATE:GetCurrentSteps(params.Player); local radarValues = steps:GetRadarValues(params.Player); local baseScore = (steps:IsAnEdit() and - 5 or steps:GetMeter()) * 10000000; - if not Shared.CurrentStep then Shared.CurrentStep = -1 end; + 5 or steps:GetMeter()) * 1000000; + if not Shared.CurrentStep then Shared.CurrentStep = 0 end; Shared.CurrentStep = Shared.CurrentStep + 1; local totalItems = GetTotalItems(radarValues); local singleStep = (1 + totalItems) * totalItems / 2; - local stepLast = math.floor(baseScore / singleStep) * (Shared.CurrentStep + 1); + local stepLast = math.floor(baseScore / singleStep) * (Shared.CurrentStep); local judgeScore = 0; if (params.HoldNoteScore == 'HoldNoteScore_Held') then judgeScore = judgmentBase['TapNoteScore_W1'];