Skip to content

Commit

Permalink
ban gripwarrior
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 30, 2020
1 parent 2504dba commit e8fc017
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2690,16 +2690,19 @@ struct OHJumpMods
// ohjumps in cj can be either easier or harder
// depending on context.. so we have to pull back a
// bit so it doesn't swing too far when it shouldn't
max_seq_component = pow(
hand_taps / (floatymcfloatface * cj_ohj_max_seq_jump_scaler),
cj_ohj_pow);
max_seq_component =
pow(hand_taps / (floatymcfloatface *
(cj_ohj_max_seq_jump_scaler + 0.4f)),
cj_ohj_pow);

pmod =
CalcClamp(max_seq_component, cj_ohj_min_mod, cj_ohj_max_mod);
doot[CJOHJump][i] = pmod;
doot[CJOHJSeqComp][i] = max_seq_component;

doot[OHJMaxSeq][i] = floatymcfloatface;
doot[OHJCCTaps][i] = cc_taps;
doot[OHJHTaps][i] = hand_taps;
return true;
} else {
neutral_set(doot, i);
Expand Down Expand Up @@ -2780,6 +2783,7 @@ struct OHJumpMods

// reset any interval stuff here
cc_taps = 0;
max_ohjump_seq = 0;
}
};
struct RunningManMod
Expand Down

0 comments on commit e8fc017

Please sign in to comment.