bnstooltips 1.8.7 → 1.9.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/Utilities/ISkill.d.ts +17 -0
- package/build/index.es.js +66 -0
- package/build/index.es.js.map +1 -1
- package/build/index.js +66 -0
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6986,6 +6986,7 @@ function SkillTooltip(_a) {
|
|
|
6986
6986
|
AddStances(tooltipBaseProps.subInfoGroups, skill);
|
|
6987
6987
|
if (debug) {
|
|
6988
6988
|
AddIds(tooltipBaseProps.subInfoGroups, skill);
|
|
6989
|
+
AddRealCastConds(tooltipBaseProps.subInfoGroups, skill);
|
|
6989
6990
|
}
|
|
6990
6991
|
}
|
|
6991
6992
|
return React__default["default"].createElement(TooltipBase, __assign({}, tooltipBaseProps));
|
|
@@ -7070,6 +7071,71 @@ function AddIds(subInfoGroups, skill) {
|
|
|
7070
7071
|
"Variation: ",
|
|
7071
7072
|
skill.Variation)],
|
|
7072
7073
|
});
|
|
7074
|
+
}
|
|
7075
|
+
function AddRealCastConds(subInfoGroups, skill) {
|
|
7076
|
+
var realCastCondition = skill.RealCastCondition;
|
|
7077
|
+
if (realCastCondition == undefined || realCastCondition == null)
|
|
7078
|
+
return;
|
|
7079
|
+
var subInfoGroup = {
|
|
7080
|
+
title: "Real cast conditions",
|
|
7081
|
+
texts: [
|
|
7082
|
+
React__default["default"].createElement("div", null,
|
|
7083
|
+
"Stance: ",
|
|
7084
|
+
React__default["default"].createElement(ColoredText, { text: realCastCondition.Stance })),
|
|
7085
|
+
React__default["default"].createElement("div", null,
|
|
7086
|
+
"Required Weapon: ",
|
|
7087
|
+
React__default["default"].createElement(ColoredText, { text: realCastCondition.RequiredWeaponType })),
|
|
7088
|
+
React__default["default"].createElement("div", null,
|
|
7089
|
+
"MoveType: ",
|
|
7090
|
+
React__default["default"].createElement(ColoredText, { text: realCastCondition.MoveType }))
|
|
7091
|
+
],
|
|
7092
|
+
};
|
|
7093
|
+
if (realCastCondition.PrevComboIds != null && realCastCondition.PrevComboIds.length > 0) {
|
|
7094
|
+
var subInfoGroup2 = {
|
|
7095
|
+
title: "Prev combo Ids",
|
|
7096
|
+
texts: []
|
|
7097
|
+
};
|
|
7098
|
+
realCastCondition.PrevComboIds.forEach(function (prevComboId) {
|
|
7099
|
+
subInfoGroup2.texts.push(prevComboId);
|
|
7100
|
+
});
|
|
7101
|
+
}
|
|
7102
|
+
if (realCastCondition.SuccessRecycles != null && realCastCondition.SuccessRecycles.length > 0) {
|
|
7103
|
+
var subInfoGroup3 = {
|
|
7104
|
+
title: "SuccessRecycles",
|
|
7105
|
+
texts: []
|
|
7106
|
+
};
|
|
7107
|
+
realCastCondition.SuccessRecycles.forEach(function (recycle) {
|
|
7108
|
+
subInfoGroup3.texts.push("Group: " + recycle.item1 + ", Id: " + recycle.item2);
|
|
7109
|
+
});
|
|
7110
|
+
}
|
|
7111
|
+
if (realCastCondition.FailRecycles != null && realCastCondition.FailRecycles.length > 0) {
|
|
7112
|
+
var subInfoGroup4 = {
|
|
7113
|
+
title: "FailRecycles",
|
|
7114
|
+
texts: []
|
|
7115
|
+
};
|
|
7116
|
+
realCastCondition.FailRecycles.forEach(function (recycle) {
|
|
7117
|
+
subInfoGroup4.texts.push("Group: " + recycle.item1 + ", Id: " + recycle.item2);
|
|
7118
|
+
});
|
|
7119
|
+
}
|
|
7120
|
+
if (realCastCondition.UnnecessaryAcquired) {
|
|
7121
|
+
subInfoGroup.texts.push(React__default["default"].createElement("div", null,
|
|
7122
|
+
React__default["default"].createElement(ColoredText, { text: "UnnecessaryAcquired true" })));
|
|
7123
|
+
}
|
|
7124
|
+
if (realCastCondition.NoFlagsAndFilters) {
|
|
7125
|
+
subInfoGroup.texts.push(React__default["default"].createElement("div", null,
|
|
7126
|
+
React__default["default"].createElement(ColoredText, { text: "NoFlagsAndFilters" })));
|
|
7127
|
+
}
|
|
7128
|
+
subInfoGroups.push(subInfoGroup);
|
|
7129
|
+
if (subInfoGroup2 != null)
|
|
7130
|
+
subInfoGroups.push(subInfoGroup2);
|
|
7131
|
+
if (subInfoGroup3 != null)
|
|
7132
|
+
subInfoGroups.push(subInfoGroup3);
|
|
7133
|
+
if (subInfoGroup4 != null)
|
|
7134
|
+
subInfoGroups.push(subInfoGroup4);
|
|
7135
|
+
}
|
|
7136
|
+
function ColoredText(_a) {
|
|
7137
|
+
var text = _a.text;
|
|
7138
|
+
return (React__default["default"].createElement("span", { className: "tooltipArg" }, text));
|
|
7073
7139
|
}
|
|
7074
7140
|
|
|
7075
7141
|
var css_248z$3 = ".tippy-box {\n max-width: none !important;\n background-color: transparent !important;\n box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;\n transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; }\n .tippy-box:hover {\n box-shadow: rgba(0, 0, 0, 0.8) 0px 20px 60px 0px !important; }\n\n.tippy-content {\n padding: 0 !important; }\n\n.tippy-box[data-theme~=\"grade1\"][data-placement^=\"bottom\"]\n.tippy-arrow::before {\n border-bottom-color: #6c6c6c !important; }\n\n.tippy-box[data-theme~=\"grade1\"][data-placement^=\"top\"]\n.tippy-arrow::before {\n border-top-color: #6c6c6c !important; }\n\n.tippy-box[data-theme~=\"grade1\"][data-placement^=\"left\"]\n.tippy-arrow::before {\n border-left-color: #6c6c6c !important; }\n\n.tippy-box[data-theme~=\"grade1\"][data-placement^=\"right\"]\n.tippy-arrow::before {\n border-right-color: #6c6c6c !important; }\n\n.tippy-box[data-theme~=\"grade2\"][data-placement^=\"bottom\"]\n.tippy-arrow::before {\n border-bottom-color: #ffffff !important; }\n\n.tippy-box[data-theme~=\"grade2\"][data-placement^=\"top\"]\n.tippy-arrow::before {\n border-top-color: #ffffff !important; }\n\n.tippy-box[data-theme~=\"grade2\"][data-placement^=\"left\"]\n.tippy-arrow::before {\n border-left-color: #ffffff !important; }\n\n.tippy-box[data-theme~=\"grade2\"][data-placement^=\"right\"]\n.tippy-arrow::before {\n border-right-color: #ffffff !important; }\n\n.tippy-box[data-theme~=\"grade3\"][data-placement^=\"bottom\"]\n.tippy-arrow::before {\n border-bottom-color: #58ff77 !important; }\n\n.tippy-box[data-theme~=\"grade3\"][data-placement^=\"top\"]\n.tippy-arrow::before {\n border-top-color: #58ff77 !important; }\n\n.tippy-box[data-theme~=\"grade3\"][data-placement^=\"left\"]\n.tippy-arrow::before {\n border-left-color: #58ff77 !important; }\n\n.tippy-box[data-theme~=\"grade3\"][data-placement^=\"right\"]\n.tippy-arrow::before {\n border-right-color: #58ff77 !important; }\n\n.tippy-box[data-theme~=\"grade4\"][data-placement^=\"bottom\"]\n.tippy-arrow::before {\n border-bottom-color: #46bee1 !important; }\n\n.tippy-box[data-theme~=\"grade4\"][data-placement^=\"top\"]\n.tippy-arrow::before {\n border-top-color: #46bee1 !important; }\n\n.tippy-box[data-theme~=\"grade4\"][data-placement^=\"left\"]\n.tippy-arrow::before {\n border-left-color: #46bee1 !important; }\n\n.tippy-box[data-theme~=\"grade4\"][data-placement^=\"right\"]\n.tippy-arrow::before {\n border-right-color: #46bee1 !important; }\n\n.tippy-box[data-theme~=\"grade5\"][data-placement^=\"bottom\"]\n.tippy-arrow::before {\n border-bottom-color: #d739ff !important; }\n\n.tippy-box[data-theme~=\"grade5\"][data-placement^=\"top\"]\n.tippy-arrow::before {\n border-top-color: #d739ff !important; }\n\n.tippy-box[data-theme~=\"grade5\"][data-placement^=\"left\"]\n.tippy-arrow::before {\n border-left-color: #d739ff !important; }\n\n.tippy-box[data-theme~=\"grade5\"][data-placement^=\"right\"]\n.tippy-arrow::before {\n border-right-color: #d739ff !important; }\n\n.tippy-box[data-theme~=\"grade6\"][data-placement^=\"bottom\"]\n.tippy-arrow::before {\n border-bottom-color: #f1b248 !important; }\n\n.tippy-box[data-theme~=\"grade6\"][data-placement^=\"top\"]\n.tippy-arrow::before {\n border-top-color: #f1b248 !important; }\n\n.tippy-box[data-theme~=\"grade6\"][data-placement^=\"left\"]\n.tippy-arrow::before {\n border-left-color: #f1b248 !important; }\n\n.tippy-box[data-theme~=\"grade6\"][data-placement^=\"right\"]\n.tippy-arrow::before {\n border-right-color: #f1b248 !important; }\n\n.tippy-box[data-theme~=\"grade7\"][data-placement^=\"bottom\"]\n.tippy-arrow::before {\n border-bottom-color: #ff770a !important; }\n\n.tippy-box[data-theme~=\"grade7\"][data-placement^=\"top\"]\n.tippy-arrow::before {\n border-top-color: #ff770a !important; }\n\n.tippy-box[data-theme~=\"grade7\"][data-placement^=\"left\"]\n.tippy-arrow::before {\n border-left-color: #ff770a !important; }\n\n.tippy-box[data-theme~=\"grade7\"][data-placement^=\"right\"]\n.tippy-arrow::before {\n border-right-color: #ff770a !important; }\n\n.tippy-box[data-theme~=\"grade8\"][data-placement^=\"bottom\"]\n.tippy-arrow::before {\n border-bottom-color: #ff0084 !important; }\n\n.tippy-box[data-theme~=\"grade8\"][data-placement^=\"top\"]\n.tippy-arrow::before {\n border-top-color: #ff0084 !important; }\n\n.tippy-box[data-theme~=\"grade8\"][data-placement^=\"left\"]\n.tippy-arrow::before {\n border-left-color: #ff0084 !important; }\n\n.tippy-box[data-theme~=\"grade8\"][data-placement^=\"right\"]\n.tippy-arrow::before {\n border-right-color: #ff0084 !important; }\n";
|