@rian8337/osu-droid-replay-analyzer 4.0.0-beta.77 → 4.0.0-beta.78
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.
- package/dist/index.js +2 -10
- package/package.json +5 -5
- package/typings/index.d.ts +0 -4
package/dist/index.js
CHANGED
|
@@ -737,7 +737,6 @@ class RebalanceSliderCheeseChecker {
|
|
|
737
737
|
return {
|
|
738
738
|
aimPenalty: 1,
|
|
739
739
|
flashlightPenalty: 1,
|
|
740
|
-
visualPenalty: 1,
|
|
741
740
|
};
|
|
742
741
|
}
|
|
743
742
|
const cheesedDifficultyRatings = this.checkSliderCheesing();
|
|
@@ -916,7 +915,6 @@ class RebalanceSliderCheeseChecker {
|
|
|
916
915
|
flashlightPenalty: Math.max(this.difficultyAttributes.flashlightSliderFactor, Math.pow(1 -
|
|
917
916
|
summedDifficultyRating *
|
|
918
917
|
this.difficultyAttributes.flashlightSliderFactor, 2)),
|
|
919
|
-
visualPenalty: 1,
|
|
920
918
|
};
|
|
921
919
|
}
|
|
922
920
|
getCursorPosition(cursor) {
|
|
@@ -983,12 +981,10 @@ class SliderCheeseChecker {
|
|
|
983
981
|
check() {
|
|
984
982
|
if (this.difficultyAttributes.difficultSliders.length === 0 ||
|
|
985
983
|
(this.difficultyAttributes.sliderFactor === 1 &&
|
|
986
|
-
this.difficultyAttributes.flashlightSliderFactor === 1
|
|
987
|
-
this.difficultyAttributes.visualSliderFactor === 1)) {
|
|
984
|
+
this.difficultyAttributes.flashlightSliderFactor === 1)) {
|
|
988
985
|
return {
|
|
989
986
|
aimPenalty: 1,
|
|
990
987
|
flashlightPenalty: 1,
|
|
991
|
-
visualPenalty: 1,
|
|
992
988
|
};
|
|
993
989
|
}
|
|
994
990
|
const cheesedDifficultyRatings = this.checkSliderCheesing();
|
|
@@ -1167,9 +1163,6 @@ class SliderCheeseChecker {
|
|
|
1167
1163
|
flashlightPenalty: Math.max(this.difficultyAttributes.flashlightSliderFactor, Math.pow(1 -
|
|
1168
1164
|
summedDifficultyRating *
|
|
1169
1165
|
this.difficultyAttributes.flashlightSliderFactor, 2)),
|
|
1170
|
-
visualPenalty: Math.max(this.difficultyAttributes.visualSliderFactor, Math.pow(1 -
|
|
1171
|
-
summedDifficultyRating *
|
|
1172
|
-
this.difficultyAttributes.visualSliderFactor, 2)),
|
|
1173
1166
|
};
|
|
1174
1167
|
}
|
|
1175
1168
|
getCursorPosition(cursor) {
|
|
@@ -1712,7 +1705,7 @@ class TwoHandChecker {
|
|
|
1712
1705
|
// );
|
|
1713
1706
|
// }
|
|
1714
1707
|
return {
|
|
1715
|
-
is2Hand: 0 > this.attributes.aimNoteCount * 0.15,
|
|
1708
|
+
is2Hand: false, // 0 > this.attributes.aimNoteCount * 0.15,
|
|
1716
1709
|
twoHandedNoteCount: 0,
|
|
1717
1710
|
};
|
|
1718
1711
|
}
|
|
@@ -2294,7 +2287,6 @@ class ReplayAnalyzer {
|
|
|
2294
2287
|
this.sliderCheesePenalty = {
|
|
2295
2288
|
aimPenalty: 1,
|
|
2296
2289
|
flashlightPenalty: 1,
|
|
2297
|
-
visualPenalty: 1,
|
|
2298
2290
|
};
|
|
2299
2291
|
/**
|
|
2300
2292
|
* Whether this replay has been checked against 3 finger usage.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rian8337/osu-droid-replay-analyzer",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.78",
|
|
4
4
|
"description": "A replay analyzer for analyzing osu!droid replay files.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"osu",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"url": "https://github.com/Rian8337/osu-droid-module/issues"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@rian8337/osu-base": "^4.0.0-beta.
|
|
38
|
-
"@rian8337/osu-difficulty-calculator": "^4.0.0-beta.
|
|
39
|
-
"@rian8337/osu-rebalance-difficulty-calculator": "^4.0.0-beta.
|
|
37
|
+
"@rian8337/osu-base": "^4.0.0-beta.78",
|
|
38
|
+
"@rian8337/osu-difficulty-calculator": "^4.0.0-beta.78",
|
|
39
|
+
"@rian8337/osu-rebalance-difficulty-calculator": "^4.0.0-beta.78",
|
|
40
40
|
"java-deserialization": "^0.1.0",
|
|
41
41
|
"unzipper": "^0.10.11"
|
|
42
42
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "9b8c41ad3aeb0b98cb0818c9169ad3ad4e98b95e"
|
|
50
50
|
}
|
package/typings/index.d.ts
CHANGED
|
@@ -720,10 +720,6 @@ interface SliderCheeseInformation {
|
|
|
720
720
|
* The value used to penalize the flashlight performance value, from 0 to 1.
|
|
721
721
|
*/
|
|
722
722
|
flashlightPenalty: number;
|
|
723
|
-
/**
|
|
724
|
-
* The value used to penalize the visual performance value, from 0 to 1.
|
|
725
|
-
*/
|
|
726
|
-
visualPenalty: number;
|
|
727
723
|
}
|
|
728
724
|
|
|
729
725
|
/**
|