@rian8337/osu-rebalance-difficulty-calculator 4.0.0-beta.21 → 4.0.0-beta.22
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 +9 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -367,6 +367,15 @@ class DifficultyHitObject {
|
|
|
367
367
|
if (slider.lazyEndPosition) {
|
|
368
368
|
return;
|
|
369
369
|
}
|
|
370
|
+
if (this.mode === osuBase.Modes.droid) {
|
|
371
|
+
// Temporary lazy end position until a real result can be derived.
|
|
372
|
+
slider.lazyEndPosition = slider.getStackedPosition(this.mode);
|
|
373
|
+
// Stop here if the slider has too short duration, allowing the player to essentially
|
|
374
|
+
// complete the slider without movement, making travel distance and time irrelevant.
|
|
375
|
+
if (osuBase.Precision.almostEqualsNumber(slider.startTime, slider.endTime)) {
|
|
376
|
+
return;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
370
379
|
// Not using slider.endTime due to legacy last tick offset.
|
|
371
380
|
slider.lazyTravelTime =
|
|
372
381
|
slider.nestedHitObjects.at(-1).startTime - slider.startTime;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rian8337/osu-rebalance-difficulty-calculator",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.22",
|
|
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",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "d8b62a07a4f862cf83bf106a46f67c6c6562c545"
|
|
42
42
|
}
|