minor specialscoring improvements
This commit is contained in:
@@ -167,7 +167,7 @@ t[#t+1] = Def.ActorFrame {
|
|||||||
};
|
};
|
||||||
if PREFSMAN:GetPreference("ScoringType") == 'ScoringType_Custom' then t[#t+1] = Def.Actor{
|
if PREFSMAN:GetPreference("ScoringType") == 'ScoringType_Custom' then t[#t+1] = Def.Actor{
|
||||||
JudgmentMessageCommand = function(self, params)
|
JudgmentMessageCommand = function(self, params)
|
||||||
SpecialScoring[ReadPrefFromFile("UserPrefSpecialScoringMode")](params, STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player)
|
SpecialScoring[GetUserPref("UserPrefSpecialScoringMode")](params, STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player)
|
||||||
end;
|
end;
|
||||||
};
|
};
|
||||||
return t
|
return t
|
||||||
|
|||||||
@@ -38,6 +38,6 @@ end;
|
|||||||
--DDR SuperNOVA(-esque) scoring
|
--DDR SuperNOVA(-esque) scoring
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
r[4] = function(params, pss)
|
r[4] = function(params, pss)
|
||||||
pss:SetScore(pss:GetPercentDancePoints()*1000000);
|
pss:SetScore(math.round(pss:GetActualDancePoints()/pss:GetPossibleDancePoints()*1000000));
|
||||||
end;
|
end;
|
||||||
SpecialScoring = r;
|
SpecialScoring = r;
|
||||||
|
|||||||
Reference in New Issue
Block a user