Skip to content

Commit

Permalink
calc updates and more support for technical
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Dec 27, 2016
1 parent cb726d3 commit 58bb603
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ local skillsets = {
Speed = 0,
Stam = 0,
Jack = 0,
Technical = 0
}


Expand All @@ -44,6 +45,7 @@ if GAMESTATE:IsPlayerEnabled(PLAYER_1) then
skillsets.Speed = profile:GetPlayerSpeedRating()
skillsets.Stam = profile:GetPlayerStamRating()
skillsets.Jack = profile:GetPlayerJackRating()
skillsets.Technical = 1
end
end

Expand Down
Binary file modified extern/MinaCalc/MinaCalc.lib
Binary file not shown.
4 changes: 2 additions & 2 deletions src/Profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ void Profile::ResetSSRs(bool OnlyOld) {
HighScoresForASteps& zz = j->second;
vector<HighScore>& hsv = zz.hsl.vHighScores;
for (size_t i = 0; i < hsv.size(); i++) {
if (OnlyOld && hsv[i].GetSSRCalcVersion() == 1.f)
if (OnlyOld && hsv[i].GetSSRCalcVersion() == 1.1f)
continue;

hsv[i].SetSSR(0.f);
Expand Down Expand Up @@ -2148,7 +2148,7 @@ void Profile::RecalculateSSRs(bool OnlyOld) {
if (wifescore == 0.f || hsv[i].GetGrade() == Grade_Failed)
hsv[i].SetSSR(0.f);
else {
if (OnlyOld && hsv[i].GetSSRCalcVersion() == 1.f)
if (OnlyOld && hsv[i].GetSSRCalcVersion() == 1.1f)
continue;

Song* psong = id.ToSong();
Expand Down

0 comments on commit 58bb603

Please sign in to comment.