Skip to content

Commit

Permalink
we don't really need this high resolution on calc
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Apr 24, 2020
1 parent afee230 commit 8a702ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Calc::CalcMain(const vector<NoteInfo>& NoteInfo,
vector<float> mcbloop(NUM_SkillsetTWO);
// overall and stam will be left as 0.f by this loop
for (int i = 0; i < NUM_SkillsetTWO; ++i)
mcbloop[i] = Chisel(0.1f, 5.12f, score_goal, i, false);
mcbloop[i] = Chisel(0.1f, 10.24f, score_goal, i, false);

// stam is based on which calc produced the highest output without it
size_t highest_base_skillset = std::distance(
Expand All @@ -198,7 +198,7 @@ Calc::CalcMain(const vector<NoteInfo>& NoteInfo,
// rerun all with stam on, optimize by starting at the non-stam adjusted
// base value for each skillset
for (int i = 0; i < NUM_SkillsetTWO; ++i)
mcbloop[i] = Chisel(mcbloop[i] - 1.28f, 0.64f, score_goal, i, true);
mcbloop[i] = Chisel(mcbloop[i] - 0.64f, 1.28f, score_goal, i, true);

// stam jams, stamina should push up the base ratings for files so files
// that are more difficult by virtue of being twice as long for more or less
Expand Down Expand Up @@ -483,7 +483,7 @@ Calc::ProcessFinger(const vector<NoteInfo>& NoteInfo,

if (NoteInfo[i].notes & column) {
AllIntervals[Interval].emplace_back(
CalcClamp(1000 * (scaledtime - last), 40.f, 5000.f));
CalcClamp(1000.f * (scaledtime - last), 40.f, 5000.f));
last = scaledtime;
}

Expand Down

0 comments on commit 8a702ed

Please sign in to comment.