@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 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 s of ui) {
3449
- const n = t.equippedItems[s];
3450
- n && (a = oa(
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(n).characteristics,
3453
- (r, i) => r + i
3453
+ Hs(r).characteristics,
3454
+ (i, d) => i + d
3454
3455
  ));
3455
3456
  }
3456
- for (const s of Gs) {
3457
- const n = Uu(t, s);
3458
- n && !("target" in n) && (a = oa(a, n, (r, i) => r + i));
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) => {