fix some small errors

This commit is contained in:
AJ Kelly
2010-12-21 16:31:52 -06:00
parent 628afdd7d8
commit 237a6c3c51
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ end;
r[2] = function(params, pss)
local totalSteps = GAMESTATE:GetCurrentSteps(params.Player):GetRadarValues():GetValue('RadarCategory_TapsAndHolds');
local baseScore = math.round(1000000/((totalSteps*(totalSteps+1))/2));
local curStep = pss:GetRadarActual:GetValue('RadarCategory_TapsAndHolds');
local curStep = pss:GetRadarActual():GetValue('RadarCategory_TapsAndHolds');
local endBonus = (curStep == totalSteps) and (1000000-math.round(1000000/(totalSteps*(totalSteps+1)/2))*(totalSteps*(totalSteps+1)/2)) or 0;
local multLookup = { ['TapNoteScore_W1']=10, ['TapNoteScore_W2']=10, ['TapNoteScore_W3']=5 };
setmetatable(multLookup, ZeroIfNotFound);
+1 -1
View File
@@ -831,7 +831,7 @@ LineNames="gNotePos,gAuto,gScore,gSScore,gSDisp,gOpts,gLongFail,gComboUnderField
#,gAuto
LinegNotePos="lua,GamePrefNotePosition()"
LinegScore="lua,UserPrefGameplayShowScore()"
LinegSScore"lua,UserPrefSpecialScoringMode()"
LinegSScore="lua,UserPrefSpecialScoringMode()"
LinegSDisp="lua,UserPrefGameplayShowStepsDisplay()"
LinegOpts="lua,UserPrefShowLotsaOptions()"
LinegAuto="lua,GamePrefAutoSetStyle()"