@rian8337/osu-difficulty-calculator 4.0.0-beta.100 → 4.0.0-beta.101
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 +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2099,7 +2099,7 @@ class DroidPerformanceCalculator extends PerformanceCalculator {
|
|
|
2099
2099
|
}
|
|
2100
2100
|
handleOptions(options) {
|
|
2101
2101
|
var _a, _b;
|
|
2102
|
-
this._tapPenalty =
|
|
2102
|
+
this._tapPenalty = Math.max((_a = options === null || options === void 0 ? void 0 : options.tapPenalty) !== null && _a !== void 0 ? _a : 1, 1);
|
|
2103
2103
|
this._sliderCheesePenalty = osuBase.MathUtils.clamp((_b = options === null || options === void 0 ? void 0 : options.sliderCheesePenalty) !== null && _b !== void 0 ? _b : 1, 0, 1);
|
|
2104
2104
|
this._totalScore =
|
|
2105
2105
|
(options === null || options === void 0 ? void 0 : options.totalScore) !== undefined
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rian8337/osu-difficulty-calculator",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.101",
|
|
4
4
|
"description": "A module for calculating osu!standard beatmap difficulty and performance value with respect to the current difficulty and performance algorithm.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"osu",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "6a51736ff25bfe58cbe19a121df333c4484d7c61"
|
|
42
42
|
}
|