|
6 | 6 | using MelonLoader;
|
7 | 7 | using Object = UnityEngine.Object;
|
8 | 8 |
|
9 |
| -[assembly: MelonInfo(typeof(kg_LastEpoch_Improvements.kg_LastEpoch_Improvements), "kg.LastEpoch.Improvements", "1.3.5", "KG", "https://www.nexusmods.com/lastepoch/mods/8")] |
| 9 | +[assembly: MelonInfo(typeof(kg_LastEpoch_Improvements.kg_LastEpoch_Improvements), "kg.LastEpoch.Improvements", "1.3.6", "KG", "https://www.nexusmods.com/lastepoch/mods/8")] |
10 | 10 |
|
11 | 11 | namespace kg_LastEpoch_Improvements;
|
12 | 12 |
|
@@ -123,17 +123,11 @@ private static class TooltipItemManager_FormatMod_Patch
|
123 | 123 | private static void Postfix(ItemDataUnpacked item, int implicitNumber, ref string __result, bool isComparsionItem)
|
124 | 124 | {
|
125 | 125 | if (item == null || AffixShowRoll.Value is DisplayAffixType.None || item.isSet()) return;
|
126 |
| - ItemDataUnpacked itemToUse = item; |
127 |
| - if (isComparsionItem) |
128 |
| - { |
129 |
| - if (TooltipItemManager.instance.equipedItem == null) return; |
130 |
| - itemToUse = TooltipItemManager.instance.equipedItem; |
131 |
| - } |
132 | 126 | __result = AffixShowRoll.Value switch
|
133 | 127 | {
|
134 |
| - DisplayAffixType.Old_Style => __result.Style1_Implicit(itemToUse, implicitNumber), |
135 |
| - DisplayAffixType.New_Style => __result.Style2_Implicit(itemToUse, implicitNumber), |
136 |
| - DisplayAffixType.Letter_Style => __result.Letter_Style_Implicit(itemToUse, implicitNumber), |
| 128 | + DisplayAffixType.Old_Style => __result.Style1_Implicit(item, implicitNumber), |
| 129 | + DisplayAffixType.New_Style => __result.Style2_Implicit(item, implicitNumber), |
| 130 | + DisplayAffixType.Letter_Style => __result.Letter_Style_Implicit(item, implicitNumber), |
137 | 131 | _ => __result
|
138 | 132 | };
|
139 | 133 | }
|
@@ -239,14 +233,14 @@ public void ShowLegendaryPotential(int lp, int ww)
|
239 | 233 | private void PointerEnter()
|
240 | 234 | {
|
241 | 235 | if (_label != null && _label && _label.tooltipItem) _label.tooltipItem.OnPointerEnter(null);
|
242 |
| - } |
| 236 | + } |
243 | 237 |
|
244 | 238 | private void PointerExit()
|
245 | 239 | {
|
246 | 240 | if (_label != null && _label && _label.tooltipItem) _label.tooltipItem.OnPointerExit(null);
|
247 |
| - } |
| 241 | + } |
248 | 242 |
|
249 |
| - private void FixedUpdate() |
| 243 | + private void FixedUpdate() |
250 | 244 | {
|
251 | 245 | if (!_trackable || !_trackable.activeSelf)
|
252 | 246 | {
|
|
0 commit comments