Skip to content

Commit

Permalink
don't forget to like, share, and inscribe | 433
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jul 15, 2020
1 parent d6521cd commit 127d2fb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// bpm flux float precision etc
static const float anchor_spacing_buffer_ms = 10.F;
static const float anchor_speed_increase_cutoff_factor = 2.34F;
static const int len_cap = 6;
static const int len_cap = 5;

enum anch_status
{
Expand Down
12 changes: 8 additions & 4 deletions src/Etterna/MinaCalc/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ Calc::CalcMain(const std::vector<NoteInfo>& NoteInfo,
// so 50%s on 60s don't give 35s
r = downscale_low_accuracy_scores(r, score_goal);
r = CalcClamp(r, r, ssrcap);

if (highest_stam_adjusted_skillset == Skill_JackSpeed) {
r = downscale_low_accuracy_scores(r, score_goal);
}
}
}

Expand Down Expand Up @@ -286,15 +290,15 @@ inline auto
JackStamAdjust(const float x, Calc& calc, const int hi) -> std::vector<float>
{
// Jack stamina Model params (see above)
static const auto stam_ceil = 1.075234F;
static const auto stam_ceil = 1.05234F;
static const auto stam_mag = 23.F;
static const auto stam_fscale = 2150.F;
static const auto stam_prop = 0.49424F;
auto stam_floor = 0.95F;
auto mod = 0.95F;

auto avs2 = 0.F;
const auto super_stam_ceil = 1.11F;
const auto super_stam_ceil = 1.09F;

const auto& diff = calc.jack_diff.at(hi);
std::vector<float> doot(diff.size());
Expand Down Expand Up @@ -499,7 +503,7 @@ Calc::InitializeHands(const std::vector<NoteInfo>& NoteInfo,
* degree above the actual max points as a cheap hack to water down some of the
* absurd scaling hs/js/cj had. Note: do not set these values below 1 */
static const float tech_pbm = 1.F;
static const float jack_pbm = 1.015F;
static const float jack_pbm = 1.0175F;
static const float stream_pbm = 1.01F;
static const float bad_newbie_skillsets_pbm = 1.05F;

Expand Down Expand Up @@ -899,7 +903,7 @@ MinaSDCalcDebug(
}
}

int mina_calc_version = 432;
int mina_calc_version = 433;
auto
GetCalcVersion() -> int
{
Expand Down
2 changes: 1 addition & 1 deletion src/Etterna/MinaCalc/UlbuAcolytes.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,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.885F, 0.84F, 0.925F, 0.88F, 0.8F, 0.83F
0.F, 0.93F, 0.885F, 0.84F, 0.925F, 0.91F, 0.8F, 0.83F
};

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

0 comments on commit 127d2fb

Please sign in to comment.