added sn2 scoring, misc
This commit is contained in:
@@ -240,7 +240,7 @@ function UserPrefSpecialScoringMode()
|
||||
SelectType = "SelectOne";
|
||||
OneChoiceForAllPlayers = true;
|
||||
ExportOnChange = false;
|
||||
Choices = { 'DDR 1st', 'DDR 3rd', 'DDR 4th', 'DDR SuperNOVA' };
|
||||
Choices = { 'DDR 1stMIX', 'DDR 3rdMIX', 'DDR 4thMIX', 'DDR SuperNOVA', 'DDR SuperNOVA 2' };
|
||||
LoadSelections = function(self, list, pn)
|
||||
if ReadPrefFromFile("UserPrefSpecialScoringMode") ~= nil then
|
||||
list[GetUserPref("UserPrefSpecialScoringMode")] = true;
|
||||
|
||||
@@ -41,6 +41,14 @@ end;
|
||||
r[4] = function(params, pss)
|
||||
local dp = pss:GetPossibleDancePoints();
|
||||
if dp == 0 then pss:SetScore(0) return nil end
|
||||
pss:SetScore(math.round((pss:GetActualDancePoints()/dp)*1000000);
|
||||
pss:SetScore(math.round((pss:GetActualDancePoints()/dp)*1000000));
|
||||
end;
|
||||
-----------------------------------------------------------
|
||||
--DDR SuperNOVA 2(-esque) scoring
|
||||
-----------------------------------------------------------
|
||||
r[5] = function(params, pss)
|
||||
local dp = pss:GetPossibleDancePoints();
|
||||
if dp == 0 then pss:SetScore(0) return nil end
|
||||
pss:SetScore(math.round((pss:GetActualDancePoints()/dp)*100000)*10);
|
||||
end;
|
||||
SpecialScoring = r;
|
||||
|
||||
Reference in New Issue
Block a user