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.es.js
CHANGED
|
@@ -8244,6 +8244,7 @@ function ItemTooltip(_a) {
|
|
|
8244
8244
|
AddSkillModifiers(tooltipBaseProps.subInfoGroups, item, false, jobstyle);
|
|
8245
8245
|
AddEtchingStones(tooltipBaseProps.subInfoGroups, item);
|
|
8246
8246
|
AddSetBonus(tooltipBaseProps.subInfoGroups, item, jobstyle);
|
|
8247
|
+
AddRandomSubStatCount(tooltipBaseProps.subInfoGroups, item);
|
|
8247
8248
|
if (showUpgrade)
|
|
8248
8249
|
AddItemImprove(tooltipBaseProps.subInfoGroups, item, region, client, offline, debug);
|
|
8249
8250
|
if (showUpgradeEffects) {
|
|
@@ -8332,6 +8333,16 @@ function AddSkillModifiers(subInfoGroups, item, isSetBonus, jobstyle) {
|
|
|
8332
8333
|
],
|
|
8333
8334
|
});
|
|
8334
8335
|
}
|
|
8336
|
+
function AddRandomSubStatCount(subInfoGroups, item) {
|
|
8337
|
+
if (item.randomSubStatCount != null && item.randomSubStatCount > 0)
|
|
8338
|
+
subInfoGroups.push({
|
|
8339
|
+
title: "Random stats:",
|
|
8340
|
+
texts: [React.createElement("div", { className: "00008130.UI.Vital_LightBlue" },
|
|
8341
|
+
"This item has\u00A0",
|
|
8342
|
+
React.createElement("span", { className: "00008130.UI.Label_Green03_12" }, item.randomSubStatCount),
|
|
8343
|
+
"\u00A0random secondary stat(s).")]
|
|
8344
|
+
});
|
|
8345
|
+
}
|
|
8335
8346
|
function AddSetBonus(subInfoGroups, item, jobstyle) {
|
|
8336
8347
|
if (item.setBonus == null)
|
|
8337
8348
|
return;
|
|
@@ -9023,7 +9034,8 @@ var ServerRegion;
|
|
|
9023
9034
|
(function (ServerRegion) {
|
|
9024
9035
|
ServerRegion["EUNA"] = "EUNA";
|
|
9025
9036
|
ServerRegion["Korea"] = "Korea";
|
|
9026
|
-
ServerRegion["
|
|
9037
|
+
ServerRegion["NEOKR"] = "NEOKR";
|
|
9038
|
+
ServerRegion["NEOEU"] = "NEOEU";
|
|
9027
9039
|
})(ServerRegion || (ServerRegion = {}));
|
|
9028
9040
|
|
|
9029
9041
|
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}";
|