Skip to content

Commit

Permalink
tune cj
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 11, 2020
1 parent 883f4cf commit 762ceb7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 4 additions & 6 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static const float stam_prop =
// 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.97F, 0.92F, 0.83F, 0.94F, 0.95F, 0.73F, 1.F
0.F, 0.97F, 0.92F, 0.83F, 0.94F, 0.95F, 0.83F, 1.F
};

void
Expand Down Expand Up @@ -869,7 +869,7 @@ Hand::InitAdjDiff()
},

// chordjack
{ CJ, CJDensity, WideRangeAnchor },
{ CJ, CJDensity },

// tech, duNNO wat im DOIN
{
Expand Down Expand Up @@ -967,10 +967,8 @@ Hand::InitAdjDiff()
max(fastpow(doot[CJ][i], 2.F), 1.F);
break;
case Skill_Chordjack:
adj_diff =
soap[CJBase][i] * tp_mods[Skill_Chordjack] *
basescalers[ss] *
CalcClamp(fastsqrt(doot[OHJumpMod][i]) + 0.06F, 0.F, 1.F);
adj_diff = soap[CJBase][i] * tp_mods[Skill_Chordjack] *
basescalers[ss];
break;
case Skill_Technical:
adj_diff =
Expand Down
12 changes: 6 additions & 6 deletions src/Etterna/Globals/MinaCalc/Agnostic/HA_PatternMods/CJDensity.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ struct CJDensityMod

#pragma region params

float min_mod = 0.9F;
float max_mod = 1.3F;
float base = 0.1F;
float min_mod = 0.98F;
float max_mod = 1.08F;
float base = 0.F;

float jump_scaler = 1.F;
float hand_scaler = 1.33F;
float quad_scaler = 2.F;
float jump_scaler = 1.25F;
float hand_scaler = 0.9F;
float quad_scaler = 1.15F;

const vector<pair<std::string, float*>> _params{
{ "min_mod", &min_mod },
Expand Down

0 comments on commit 762ceb7

Please sign in to comment.