minor specialscoring improvements

This commit is contained in:
Flameshadowxeroshin
2010-12-21 10:15:25 -06:00
parent ccf9a7f91f
commit 3df8a05963
2 changed files with 2 additions and 2 deletions
@@ -167,7 +167,7 @@ t[#t+1] = Def.ActorFrame {
};
if PREFSMAN:GetPreference("ScoringType") == 'ScoringType_Custom' then t[#t+1] = Def.Actor{
JudgmentMessageCommand = function(self, params)
SpecialScoring[ReadPrefFromFile("UserPrefSpecialScoringMode")](params, STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player)
SpecialScoring[GetUserPref("UserPrefSpecialScoringMode")](params, STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player)
end;
};
return t
+1 -1
View File
@@ -38,6 +38,6 @@ end;
--DDR SuperNOVA(-esque) scoring
-----------------------------------------------------------
r[4] = function(params, pss)
pss:SetScore(pss:GetPercentDancePoints()*1000000);
pss:SetScore(math.round(pss:GetActualDancePoints()/pss:GetPossibleDancePoints()*1000000));
end;
SpecialScoring = r;