@rian8337/osu-rebalance-difficulty-calculator 1.4.8 → 1.4.9-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -74,11 +74,10 @@ class DifficultyHitObjectCreator {
74
74
  object.overlappingFactor +=
75
75
  // Penalize objects that are too close to the object in both distance
76
76
  // and delta time to prevent stream maps from being overweighted.
77
- Math.max(0, 2 *
78
- (1 -
79
- object.object.stackedPosition.getDistance(hitObject.stackedEndPosition) /
80
- (3 * object.object.radius))) *
81
- (50 /
77
+ Math.max(0, 1 -
78
+ object.object.stackedPosition.getDistance(hitObject.stackedEndPosition) /
79
+ (3 * object.object.radius)) *
80
+ (7.5 /
82
81
  (1 +
83
82
  Math.exp(0.15 *
84
83
  (Math.max(deltaTime, this.minDeltaTime) -
@@ -28,12 +28,12 @@ class DroidVisual extends DroidSkill_1.DroidSkill {
28
28
  // Add density caps for sanity.
29
29
  let strain = Math.min(20, Math.pow(current.noteDensity, 2)) /
30
30
  10 /
31
- (1 + current.overlappingFactor * 2);
31
+ (1 + current.overlappingFactor);
32
32
  if (this.isHidden) {
33
33
  strain +=
34
34
  Math.min(25, Math.pow(current.noteDensity, 1.25)) /
35
35
  10 /
36
- (1 + current.overlappingFactor * 1.5);
36
+ (1 + current.overlappingFactor * 1.25);
37
37
  }
38
38
  // Give bonus for AR higher than 10.33.
39
39
  if (this.preempt < 400) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rian8337/osu-rebalance-difficulty-calculator",
3
- "version": "1.4.8",
3
+ "version": "1.4.9-alpha.0",
4
4
  "description": "A module for calculating osu!standard beatmap difficulty and performance value with respect to the latest osu!lazer difficulty and performance algorithm.",
5
5
  "keywords": [
6
6
  "osu",
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "dd3ffd562dcdd8da4f2b48548b936a6012fdff1a"
38
+ "gitHead": "c2ed550e3d850de8f1aca9d139509687932fcfac"
39
39
  }