@opfr/services 0.27.0 → 0.27.1
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.es.js +9 -8
- package/dist/index.umd.js +1 -1
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -3437,6 +3437,7 @@ const Qt = ((Rs = $) == null ? void 0 : Rs.UserGames) || T("UserGames", ar), Wa
|
|
|
3437
3437
|
if (n >= a.equipments.length / 2)
|
|
3438
3438
|
return a.halfBonus;
|
|
3439
3439
|
}, Va = (t) => {
|
|
3440
|
+
var s;
|
|
3440
3441
|
let a = {
|
|
3441
3442
|
vitality: 0,
|
|
3442
3443
|
strength: 0,
|
|
@@ -3445,17 +3446,17 @@ const Qt = ((Rs = $) == null ? void 0 : Rs.UserGames) || T("UserGames", ar), Wa
|
|
|
3445
3446
|
intelligence: 0,
|
|
3446
3447
|
wisdom: 0
|
|
3447
3448
|
};
|
|
3448
|
-
for (const
|
|
3449
|
-
const
|
|
3450
|
-
|
|
3449
|
+
for (const n of ui) {
|
|
3450
|
+
const r = (s = t.equippedItems) == null ? void 0 : s[n];
|
|
3451
|
+
r && (a = oa(
|
|
3451
3452
|
a,
|
|
3452
|
-
Hs(
|
|
3453
|
-
(
|
|
3453
|
+
Hs(r).characteristics,
|
|
3454
|
+
(i, d) => i + d
|
|
3454
3455
|
));
|
|
3455
3456
|
}
|
|
3456
|
-
for (const
|
|
3457
|
-
const
|
|
3458
|
-
|
|
3457
|
+
for (const n of Gs) {
|
|
3458
|
+
const r = Uu(t, n);
|
|
3459
|
+
r && !("target" in r) && (a = oa(a, r, (i, d) => i + d));
|
|
3459
3460
|
}
|
|
3460
3461
|
return a;
|
|
3461
3462
|
}, Su = (t, a) => {
|