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.
@@ -31,6 +31,12 @@ export interface Skill {
31
31
  ArcaneInfoDiffText?: string;
32
32
  ShortcutFixed?: boolean;
33
33
  ShortcutEnumValue?: string;
34
+ SecretSkillInfo?: SecretSkillInfo;
35
+ }
36
+ export interface SecretSkillInfo {
37
+ FixedStackCount: number;
38
+ RandomStackCount: number;
39
+ RandomStackMissProbability: number;
34
40
  }
35
41
  export interface SkillArcaneInfo3 {
36
42
  ArcaneScore: number;
package/build/index.es.js CHANGED
@@ -9386,6 +9386,7 @@ function SkillTooltip(_a) {
9386
9386
  AddConditions(tooltipBaseProps.subInfoGroups, skill);
9387
9387
  AddStances(tooltipBaseProps.subInfoGroups, skill);
9388
9388
  AddGcd(tooltipBaseProps.subInfoGroups, skill);
9389
+ AddSecretSkillValue(tooltipBaseProps.subInfoGroups, skill);
9389
9390
  if (debug) {
9390
9391
  AddIds(tooltipBaseProps.subInfoGroups, skill);
9391
9392
  AddRealCastConds(tooltipBaseProps.subInfoGroups, skill);
@@ -9433,6 +9434,28 @@ function AddBreakValue(subInfoGroups, skill) {
9433
9434
  });
9434
9435
  }
9435
9436
  }
9437
+ function AddSecretSkillValue(subInfoGroups, skill) {
9438
+ if (skill.SecretSkillInfo == undefined || skill.SecretSkillInfo == null)
9439
+ return;
9440
+ subInfoGroups.push({
9441
+ title: "Celestial Thunder Info",
9442
+ texts: [
9443
+ React.createElement(React.Fragment, null,
9444
+ React.createElement("div", null,
9445
+ "Fixed stacks:\u00A0",
9446
+ React.createElement("span", { className: "tooltipArg" }, skill.SecretSkillInfo.FixedStackCount)),
9447
+ React.createElement("div", null,
9448
+ "Additional random stacks:\u00A0",
9449
+ React.createElement("span", { className: "tooltipArg" }, skill.SecretSkillInfo.RandomStackCount),
9450
+ "\u00A0",
9451
+ React.createElement("span", { style: { color: "#CACACA" } },
9452
+ "(",
9453
+ 100 - skill.SecretSkillInfo.RandomStackMissProbability,
9454
+ "% chance)")),
9455
+ React.createElement("div", { style: { color: "#CACACA" } }, "At 100 stacks creates 1 orb for Celestial Thunder")),
9456
+ ],
9457
+ });
9458
+ }
9436
9459
  function AddSkillMasteryDiff(subInfoGroups, arcaneInfoDiffText) {
9437
9460
  if (arcaneInfoDiffText == undefined || arcaneInfoDiffText == "")
9438
9461
  return;