Skip to content

Commit

Permalink
scale other keymodes to the familiar 4k scale
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Aug 27, 2023
1 parent a5c7b8e commit 3b7a8d8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Etterna/MinaCalc/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,15 @@ Calc::CalcMain(const std::vector<NoteInfo>& NoteInfo,
}
}

// scale the output values to values familiar to the 4k calc
// for other keymodes
if (keycount != 4u) {
const auto scale = 4.F / static_cast<float>(keycount);
for (auto& v : iteration_skillet_values) {
v *= scale;
}
}

/* the final push down, cap ssrs (score specific ratings) to stop vibro
* garbage and calc abuse from polluting leaderboards too much, a "true"
* 38 is still unachieved so a cap of 40 [sic] is _extremely_ generous
Expand Down

0 comments on commit 3b7a8d8

Please sign in to comment.