Skip to content

Commit

Permalink
blop
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Apr 20, 2020
1 parent 0d78b38 commit 90fe712
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,25 +174,21 @@ Calc::CalcMain(const vector<NoteInfo>& NoteInfo,
tech = CalcClamp((tech / techbase) * tech, tech * 0.85f, tech);

float stam;

// stam is based which calc produced the highest output on base
if (stream > tech || js > tech || hs > tech)
if (stream > js && stream > hs)
stam = Chisel(stream - 0.1f,
2.56f,
score_goal,
true,
false,
true,
false,
false);
10.56f, score_goal, true, false, true, false, false);
else if (js > hs)
stam = Chisel(
js - 0.1f, 2.56f, score_goal, true, false, true, true, false);
js - 0.1f, 10.56f, score_goal, true, false, true, true, false);
else
stam = Chisel(
hs - 0.1f, 2.56f, score_goal, true, false, true, false, true);
hs - 0.1f, 10.56f, score_goal, true, false, true, false, true);
else
stam = Chisel(
tech - 0.1f, 2.56f, score_goal, true, false, false, false, false);
tech - 0.1f, 10.56f, score_goal, true, false, false, false, false);

float chordjack = jack * 0.75f;

Expand Down Expand Up @@ -231,13 +227,13 @@ Calc::CalcMain(const vector<NoteInfo>& NoteInfo,
case 4:
if (stream > tech || js > tech || hs > tech)
if (stream > js && stream > hs)
Chisel(stream - 0.1f, 2.56f, score_goal, true, false, true, false, false, true);
Chisel(stream - 0.1f, 10.56f, score_goal, true, false, true, false, false, true);
else if (js > hs)
Chisel(js - 0.1f, 2.56f, score_goal, true, false, true, true, false, true);
Chisel(js - 0.1f, 10.56f, score_goal, true, false, true, true, false, true);
else
Chisel(hs - 0.1f, 2.56f, score_goal, true, false, true, false, true, true);
Chisel(hs - 0.1f, 10.56f, score_goal, true, false, true, false, true, true);
else
Chisel(tech - 0.1f, 2.56f, score_goal, true, false, false, false, false, true);
Chisel(tech - 0.1f, 10.56f, score_goal, true, false, false, false, false, true);
break;
case 5:
Chisel(
Expand Down

0 comments on commit 90fe712

Please sign in to comment.