bnstooltips 1.18.12 → 1.18.13

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/build/index.js CHANGED
@@ -8252,6 +8252,7 @@ function ItemTooltip(_a) {
8252
8252
  AddSkillModifiers(tooltipBaseProps.subInfoGroups, item, false, jobstyle);
8253
8253
  AddEtchingStones(tooltipBaseProps.subInfoGroups, item);
8254
8254
  AddSetBonus(tooltipBaseProps.subInfoGroups, item, jobstyle);
8255
+ AddRandomSubStatCount(tooltipBaseProps.subInfoGroups, item);
8255
8256
  if (showUpgrade)
8256
8257
  AddItemImprove(tooltipBaseProps.subInfoGroups, item, region, client, offline, debug);
8257
8258
  if (showUpgradeEffects) {
@@ -8340,6 +8341,16 @@ function AddSkillModifiers(subInfoGroups, item, isSetBonus, jobstyle) {
8340
8341
  ],
8341
8342
  });
8342
8343
  }
8344
+ function AddRandomSubStatCount(subInfoGroups, item) {
8345
+ if (item.randomSubStatCount != null && item.randomSubStatCount > 0)
8346
+ subInfoGroups.push({
8347
+ title: "Random stats:",
8348
+ texts: [React__default["default"].createElement("div", { className: "00008130.UI.Vital_LightBlue" },
8349
+ "This item has\u00A0",
8350
+ React__default["default"].createElement("span", { className: "00008130.UI.Label_Green03_12" }, item.randomSubStatCount),
8351
+ "\u00A0random secondary stat(s).")]
8352
+ });
8353
+ }
8343
8354
  function AddSetBonus(subInfoGroups, item, jobstyle) {
8344
8355
  if (item.setBonus == null)
8345
8356
  return;