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.es.js CHANGED
@@ -8244,6 +8244,7 @@ function ItemTooltip(_a) {
8244
8244
  AddSkillModifiers(tooltipBaseProps.subInfoGroups, item, false, jobstyle);
8245
8245
  AddEtchingStones(tooltipBaseProps.subInfoGroups, item);
8246
8246
  AddSetBonus(tooltipBaseProps.subInfoGroups, item, jobstyle);
8247
+ AddRandomSubStatCount(tooltipBaseProps.subInfoGroups, item);
8247
8248
  if (showUpgrade)
8248
8249
  AddItemImprove(tooltipBaseProps.subInfoGroups, item, region, client, offline, debug);
8249
8250
  if (showUpgradeEffects) {
@@ -8332,6 +8333,16 @@ function AddSkillModifiers(subInfoGroups, item, isSetBonus, jobstyle) {
8332
8333
  ],
8333
8334
  });
8334
8335
  }
8336
+ function AddRandomSubStatCount(subInfoGroups, item) {
8337
+ if (item.randomSubStatCount != null && item.randomSubStatCount > 0)
8338
+ subInfoGroups.push({
8339
+ title: "Random stats:",
8340
+ texts: [React.createElement("div", { className: "00008130.UI.Vital_LightBlue" },
8341
+ "This item has\u00A0",
8342
+ React.createElement("span", { className: "00008130.UI.Label_Green03_12" }, item.randomSubStatCount),
8343
+ "\u00A0random secondary stat(s).")]
8344
+ });
8345
+ }
8335
8346
  function AddSetBonus(subInfoGroups, item, jobstyle) {
8336
8347
  if (item.setBonus == null)
8337
8348
  return;