Skip to content

Commit

Permalink
dampen wrr for js | 422
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jul 12, 2020
1 parent aac8702 commit 74eed96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ Calc::InitAdjDiff(Calc& calc, const int& hi)
TheThing2,
WideRangeBalance,
WideRangeJumptrill,
WideRangeRoll,
// WideRangeRoll,
OHTrill,
VOHTrill,
RanMan,
Expand Down Expand Up @@ -717,6 +717,11 @@ Calc::InitAdjDiff(Calc& calc, const int& hi)
*adj_diff /=
fastsqrt(calc.doot.at(hi).at(OHJumpMod).at(i) * 0.95F);

*adj_diff *=
min(1.F,
fastsqrt(calc.doot.at(hi).at(WideRangeRoll).at(i) +
0.1F));

auto a = *adj_diff;
auto b = calc.soap.at(hi).at(NPSBase).at(i) *
tp_mods[Skill_Handstream];
Expand Down Expand Up @@ -837,7 +842,7 @@ MinaSDCalcDebug(const vector<NoteInfo>& NoteInfo,
}
}

int mina_calc_version = 421;
int mina_calc_version = 422;
auto
GetCalcVersion() -> int
{
Expand Down
2 changes: 1 addition & 1 deletion src/Etterna/Globals/MinaCalc/UlbuAcolytes.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* patterns have lower enps than streams, streams default to 1 and chordstreams
* start lower, stam is a special case and may use normalizers again */
static const std::array<float, NUM_Skillset> basescalers = {
0.F, 0.93F, 0.89F, 0.82F, 0.925F, 0.98F, 0.8F, 0.84F
0.F, 0.93F, 0.885F, 0.82F, 0.925F, 0.98F, 0.8F, 0.84F
};

static const std::string calc_params_xml = "Save/calc params.xml";
Expand Down

0 comments on commit 74eed96

Please sign in to comment.