bnstooltips 1.18.11 → 1.18.13
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/Models.d.ts +2 -1
- package/build/index.es.js +13 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +13 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -8252,6 +8252,7 @@ function ItemTooltip(_a) {
|
|
|
8252
8252
|
AddSkillModifiers(tooltipBaseProps.subInfoGroups, item, false, jobstyle);
|
|
8253
8253
|
AddEtchingStones(tooltipBaseProps.subInfoGroups, item);
|
|
8254
8254
|
AddSetBonus(tooltipBaseProps.subInfoGroups, item, jobstyle);
|
|
8255
|
+
AddRandomSubStatCount(tooltipBaseProps.subInfoGroups, item);
|
|
8255
8256
|
if (showUpgrade)
|
|
8256
8257
|
AddItemImprove(tooltipBaseProps.subInfoGroups, item, region, client, offline, debug);
|
|
8257
8258
|
if (showUpgradeEffects) {
|
|
@@ -8340,6 +8341,16 @@ function AddSkillModifiers(subInfoGroups, item, isSetBonus, jobstyle) {
|
|
|
8340
8341
|
],
|
|
8341
8342
|
});
|
|
8342
8343
|
}
|
|
8344
|
+
function AddRandomSubStatCount(subInfoGroups, item) {
|
|
8345
|
+
if (item.randomSubStatCount != null && item.randomSubStatCount > 0)
|
|
8346
|
+
subInfoGroups.push({
|
|
8347
|
+
title: "Random stats:",
|
|
8348
|
+
texts: [React__default["default"].createElement("div", { className: "00008130.UI.Vital_LightBlue" },
|
|
8349
|
+
"This item has\u00A0",
|
|
8350
|
+
React__default["default"].createElement("span", { className: "00008130.UI.Label_Green03_12" }, item.randomSubStatCount),
|
|
8351
|
+
"\u00A0random secondary stat(s).")]
|
|
8352
|
+
});
|
|
8353
|
+
}
|
|
8343
8354
|
function AddSetBonus(subInfoGroups, item, jobstyle) {
|
|
8344
8355
|
if (item.setBonus == null)
|
|
8345
8356
|
return;
|
|
@@ -9031,7 +9042,8 @@ exports.ServerRegion = void 0;
|
|
|
9031
9042
|
(function (ServerRegion) {
|
|
9032
9043
|
ServerRegion["EUNA"] = "EUNA";
|
|
9033
9044
|
ServerRegion["Korea"] = "Korea";
|
|
9034
|
-
ServerRegion["
|
|
9045
|
+
ServerRegion["NEOKR"] = "NEOKR";
|
|
9046
|
+
ServerRegion["NEOEU"] = "NEOEU";
|
|
9035
9047
|
})(exports.ServerRegion || (exports.ServerRegion = {}));
|
|
9036
9048
|
|
|
9037
9049
|
var css_248z$4 = ".TooltipBase_bns_upgradeRed_color {\n color: #FF2818;\n}\n\n.TooltipBase_bns_downgradeBlue_color {\n color: #28A9F0;\n}\n\n.NpcTooltip_toggleBarContainer {\n display: flex;\n}\n.NpcTooltip_toggleButton {\n flex: 1;\n border: none;\n padding: 0.33rem 0.5rem;\n border-radius: 0;\n background-color: rgba(233, 233, 233, 0.1);\n color: #fff;\n opacity: 0.8;\n cursor: pointer;\n transition: background-color 0.1s;\n}\n.NpcTooltip_toggleButton:hover {\n background-color: rgba(255, 255, 255, 0.2);\n opacity: 1;\n}\n.NpcTooltip_toggleButton-active {\n background-color: rgba(255, 255, 255, 0.3) !important;\n color: #fff;\n opacity: 1;\n}\n.NpcTooltip_storeEntry {\n display: flex;\n align-items: stretch;\n background-color: rgba(233, 233, 233, 0.1);\n padding: 0.33rem;\n font-size: 14px;\n}\n.NpcTooltip_storeEntry:not(:last-child) {\n margin-bottom: 0.2rem;\n}\n.NpcTooltip_storeEntryItemNameLimit {\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n.NpcTooltip_storeEntryItemLimit {\n font-size: 12px;\n}\n.NpcTooltip_storeEntryItemName {\n flex: 1;\n display: flex;\n align-items: center;\n}\n.NpcTooltip_storeEntryItemIconName {\n display: flex;\n align-items: center;\n}\n.NpcTooltip_storeEntryItemIconName img {\n width: 48px;\n height: 48px;\n margin-right: 0.33rem;\n}\n.NpcTooltip_itemBuyPriceEntriesContainer {\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: flex-end;\n justify-content: center;\n padding-left: 2rem;\n}\n.NpcTooltip_itemBuyPriceEntries {\n display: flex;\n}\n.NpcTooltip_itemBuyPriceEntries-moneyMargin {\n margin-bottom: 0.2rem;\n}\n.NpcTooltip_itemBuyPriceEntry:not(:first-child) {\n margin-left: 0.33rem;\n}\n.NpcTooltip_itemBuyPriceEntryContainer {\n position: relative;\n height: 32px;\n}\n.NpcTooltip_itemBuyPriceEntryContainer img {\n width: 32px;\n height: 32px;\n}\n.NpcTooltip_itemBuyPriceEntryContainer-shadow {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-shadow: inset 0 0 2px 0px #000000;\n}\n.NpcTooltip_itemBuyPriceEntryCount {\n position: absolute;\n bottom: 0;\n left: 0;\n color: #ffffff;\n background-color: rgba(0, 0, 0, 0.4);\n width: 32px;\n line-height: 12px;\n text-align: center;\n}\n.NpcTooltip_moneyContainer {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n}\n.NpcTooltip_moneyContainer_center {\n justify-content: center;\n}\n.NpcTooltip_moneyContainer > span {\n display: flex;\n align-items: center;\n}\n.NpcTooltip_moneyContainer > span:not(:first-child) {\n margin-left: 0.1rem;\n}\n.NpcTooltip_moneyContainer > span > img {\n width: 16px;\n height: 16px;\n}";
|