bnstooltips 1.18.7 → 1.18.9
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
|
@@ -221,7 +221,7 @@ function ReplaceIconsInHtmlString(htmlString) {
|
|
|
221
221
|
}
|
|
222
222
|
function GetStatDisplayValue(value, percent) {
|
|
223
223
|
if (percent) {
|
|
224
|
-
var percentage = value /
|
|
224
|
+
var percentage = value / 10;
|
|
225
225
|
if (Number.isInteger(percentage)) {
|
|
226
226
|
return percentage.toFixed(1) + "%";
|
|
227
227
|
}
|
|
@@ -2043,6 +2043,7 @@ var ItemImproveEffectOptionDto = /** @class */ (function () {
|
|
|
2043
2043
|
this.effectDescription = _data["effectDescription"];
|
|
2044
2044
|
this.icon = _data["icon"] ? ItemIconDto.fromJS(_data["icon"]) : undefined;
|
|
2045
2045
|
this.isPercentage = _data["isPercentage"];
|
|
2046
|
+
this.additionalDescription = _data["additionalDescription"];
|
|
2046
2047
|
}
|
|
2047
2048
|
};
|
|
2048
2049
|
ItemImproveEffectOptionDto.fromJS = function (data) {
|
|
@@ -2059,6 +2060,7 @@ var ItemImproveEffectOptionDto = /** @class */ (function () {
|
|
|
2059
2060
|
data["effectDescription"] = this.effectDescription;
|
|
2060
2061
|
data["icon"] = this.icon ? this.icon.toJSON() : undefined;
|
|
2061
2062
|
data["isPercentage"] = this.isPercentage;
|
|
2063
|
+
data["additionalDescription"] = this.additionalDescription;
|
|
2062
2064
|
return data;
|
|
2063
2065
|
};
|
|
2064
2066
|
return ItemImproveEffectOptionDto;
|
|
@@ -2841,7 +2843,7 @@ function throwException(message, status, response, headers, result) {
|
|
|
2841
2843
|
var ItemDownloadClient = /** @class */ (function () {
|
|
2842
2844
|
function ItemDownloadClient(region, patch) {
|
|
2843
2845
|
if (patch === void 0) { patch = ""; }
|
|
2844
|
-
this.apiV = "
|
|
2846
|
+
this.apiV = "v22";
|
|
2845
2847
|
this.patch = patch;
|
|
2846
2848
|
this.region = region;
|
|
2847
2849
|
var baseUrl = ItemDownloadClient.GetUrlBase();
|
|
@@ -7242,7 +7244,10 @@ function ItemImproveEffectsTooltip(_a) {
|
|
|
7242
7244
|
subGroupTexts.push(React__default["default"].createElement("div", { className: "ItemImproveEffectsTooltip_entry 00008130.UI.Label_Green03_12" },
|
|
7243
7245
|
React__default["default"].createElement("span", null, GetStatDisplayValue(statValue, effect.isPercentage)),
|
|
7244
7246
|
"\u00A0",
|
|
7245
|
-
React__default["default"].createElement("span", { dangerouslySetInnerHTML: { __html: ReplaceBossAndPvpAp(effect.statName).replace("Max.", "").trim() } })
|
|
7247
|
+
React__default["default"].createElement("span", { dangerouslySetInnerHTML: { __html: ReplaceBossAndPvpAp(effect.statName).replace("Max.", "").trim() } }),
|
|
7248
|
+
effect.additionalDescription && effect.additionalDescription != "" ?
|
|
7249
|
+
React__default["default"].createElement("span", { dangerouslySetInnerHTML: { __html: effect.additionalDescription } })
|
|
7250
|
+
: null));
|
|
7246
7251
|
}
|
|
7247
7252
|
});
|
|
7248
7253
|
var subGroup = {
|