From 4117ec89a16de3ea6c510814b7e58a14b3247d09 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sun, 5 Jun 2011 03:03:16 -0400 Subject: [PATCH] Allow double/triple scores for longs/marathons. This only targets the Extreme scoring system for now. --- Themes/_fallback/Scripts/04 Scoring.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Themes/_fallback/Scripts/04 Scoring.lua b/Themes/_fallback/Scripts/04 Scoring.lua index 120177cd4d..27a1d6155a 100644 --- a/Themes/_fallback/Scripts/04 Scoring.lua +++ b/Themes/_fallback/Scripts/04 Scoring.lua @@ -86,6 +86,13 @@ r['DDR Extreme'] = function(params, pss) local radarValues = steps:GetRadarValues(params.Player); local baseScore = (steps:IsAnEdit() and 5 or steps:GetMeter()) * 1000000; + if (GAMESTATE:GetCurrentSong():IsMarathon()) then + baseScore = baseScore * 3; + else + if (GAMESTATE:GetCurrentSong():IsLong()) then + baseScore = baseScore * 2; + end; + end; local totalItems = GetTotalItems(radarValues); local singleStep = (1 + totalItems) * totalItems / 2; if (not Shared.CurrentStep) then