bnstooltips 1.22.1 → 1.22.2

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
@@ -8951,6 +8951,7 @@ function SkillTooltip(_a) {
8951
8951
  AddBreakValue(tooltipBaseProps.subInfoGroups, skill);
8952
8952
  AddSkillMastery(tooltipBaseProps.subInfoGroups, masteryPoints, skill.ArcaneInfo, showZeroMastery);
8953
8953
  AddSkillMastery2(tooltipBaseProps.subInfoGroups, masteryPoints, skill.ArcaneInfo2, showZeroMastery);
8954
+ AddSkillMasteryDiff(tooltipBaseProps.subInfoGroups, skill.ArcaneInfoDiffText);
8954
8955
  AddPvpModifiers(tooltipBaseProps.subInfoGroups, skill);
8955
8956
  AddBoundaries(tooltipBaseProps.subInfoGroups, skill);
8956
8957
  AddConditions(tooltipBaseProps.subInfoGroups, skill);
@@ -9003,6 +9004,19 @@ function AddBreakValue(subInfoGroups, skill) {
9003
9004
  });
9004
9005
  }
9005
9006
  }
9007
+ function AddSkillMasteryDiff(subInfoGroups, arcaneInfoDiffText) {
9008
+ if (arcaneInfoDiffText == undefined || arcaneInfoDiffText == "")
9009
+ return;
9010
+ subInfoGroups.push({
9011
+ title: "Skill Grandmaster",
9012
+ texts: [
9013
+ React__default["default"].createElement("div", null,
9014
+ React__default["default"].createElement("span", { className: "tooltipArg", style: { fontSize: "14px" } }, "Skill Grandmaster"),
9015
+ React__default["default"].createElement("div", { className: "arcanemark", style: { marginLeft: "5px", marginRight: "5px" } }),
9016
+ React__default["default"].createElement("span", { dangerouslySetInnerHTML: { __html: arcaneInfoDiffText } })),
9017
+ ],
9018
+ });
9019
+ }
9006
9020
  function AddSkillMastery2(subInfoGroups, masteryPoints, arcaneInfo2, showZeroMastery) {
9007
9021
  var _a;
9008
9022
  if (showZeroMastery === void 0) { showZeroMastery = false; }