Skip to content

Commit

Permalink
formatting grr
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 25, 2020
1 parent 020f73a commit eee0b13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2039,15 +2039,16 @@ Hand::InitAdjDiff()
case Skill_Stream:
// jank application of ranman
adj_diff *= CalcClamp(doot[RanMan][i], 1.f, 1.1f);
break;
break;

// test calculating stam for js/hs on max js/hs diff
// we want hs to count against js so they are
// mutually exclusive
case Skill_Jumpstream:
adj_diff /=
max(doot[HS][i], 1.f) * fastsqrt(doot[OHJump][i]);
adj_diff *= CalcClamp(fastsqrt(doot[RanMan][i]), 1.f, 1.05f);
adj_diff *=
CalcClamp(fastsqrt(doot[RanMan][i]), 1.f, 1.05f);
// maybe we should have 2 loops to avoid doing
// math twice
stam_base =
Expand Down

0 comments on commit eee0b13

Please sign in to comment.