bnstooltips 3.0.0 → 3.0.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/build/index.js CHANGED
@@ -9394,6 +9394,7 @@ function SkillTooltip(_a) {
9394
9394
  AddConditions(tooltipBaseProps.subInfoGroups, skill);
9395
9395
  AddStances(tooltipBaseProps.subInfoGroups, skill);
9396
9396
  AddGcd(tooltipBaseProps.subInfoGroups, skill);
9397
+ AddSecretSkillValue(tooltipBaseProps.subInfoGroups, skill);
9397
9398
  if (debug) {
9398
9399
  AddIds(tooltipBaseProps.subInfoGroups, skill);
9399
9400
  AddRealCastConds(tooltipBaseProps.subInfoGroups, skill);
@@ -9441,6 +9442,28 @@ function AddBreakValue(subInfoGroups, skill) {
9441
9442
  });
9442
9443
  }
9443
9444
  }
9445
+ function AddSecretSkillValue(subInfoGroups, skill) {
9446
+ if (skill.SecretSkillInfo == undefined || skill.SecretSkillInfo == null)
9447
+ return;
9448
+ subInfoGroups.push({
9449
+ title: "Celestial Thunder Info",
9450
+ texts: [
9451
+ React__default["default"].createElement(React__default["default"].Fragment, null,
9452
+ React__default["default"].createElement("div", null,
9453
+ "Fixed stacks:\u00A0",
9454
+ React__default["default"].createElement("span", { className: "tooltipArg" }, skill.SecretSkillInfo.FixedStackCount)),
9455
+ React__default["default"].createElement("div", null,
9456
+ "Additional random stacks:\u00A0",
9457
+ React__default["default"].createElement("span", { className: "tooltipArg" }, skill.SecretSkillInfo.RandomStackCount),
9458
+ "\u00A0",
9459
+ React__default["default"].createElement("span", { style: { color: "#CACACA" } },
9460
+ "(",
9461
+ 100 - skill.SecretSkillInfo.RandomStackMissProbability,
9462
+ "% chance)")),
9463
+ React__default["default"].createElement("div", { style: { color: "#CACACA" } }, "At 100 stacks creates 1 orb for Celestial Thunder")),
9464
+ ],
9465
+ });
9466
+ }
9444
9467
  function AddSkillMasteryDiff(subInfoGroups, arcaneInfoDiffText) {
9445
9468
  if (arcaneInfoDiffText == undefined || arcaneInfoDiffText == "")
9446
9469
  return;