Skip to content

Commit bdb4c47

Browse files
committed
1.3.6
1 parent 84b9b8e commit bdb4c47

File tree

4 files changed

+8
-13
lines changed

4 files changed

+8
-13
lines changed

Diff for: kg_LastEpoch_Improvements.sln.DotSettings.user

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CStuff_005CRiderProjects_005Ckg_005FLastEpoch_005FImprovements_005Ckg_005FLastEpoch_005FImprovements_005CLibs_005CIl2CppLE_002Edll/@EntryIndexedValue">True</s:Boolean>
23
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CStuff_005CRiderProjects_005Ckg_005FLastEpoch_005FImprovements_005Ckg_005FLastEpoch_005FImprovements_005CLibs_005CIl2CppLE_002EUI_002EControls_002Edll/@EntryIndexedValue">True</s:Boolean>
34
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CStuff_005CRiderProjects_005Ckg_005FLastEpoch_005FImprovements_005Ckg_005FLastEpoch_005FImprovements_005CLibs_005CUnityEngine_002EIMGUIModule_002Edll/@EntryIndexedValue">True</s:Boolean>
45
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=D_003A_005CRiderProjects_005Ckg_005FLastEpoch_005FFilterIcons_005Ckg_005FLastEpoch_005FFilterIcons_005FMelon_005CLibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
512 Bytes
Binary file not shown.

Diff for: kg_LastEpoch_Improvements/Libs/Il2CppLE.dll

131 KB
Binary file not shown.

Diff for: kg_LastEpoch_Improvements/kg_LastEpoch_Improvements.cs

+7-13
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using MelonLoader;
77
using Object = UnityEngine.Object;
88

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")]
1010

1111
namespace kg_LastEpoch_Improvements;
1212

@@ -123,17 +123,11 @@ private static class TooltipItemManager_FormatMod_Patch
123123
private static void Postfix(ItemDataUnpacked item, int implicitNumber, ref string __result, bool isComparsionItem)
124124
{
125125
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-
}
132126
__result = AffixShowRoll.Value switch
133127
{
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),
137131
_ => __result
138132
};
139133
}
@@ -239,14 +233,14 @@ public void ShowLegendaryPotential(int lp, int ww)
239233
private void PointerEnter()
240234
{
241235
if (_label != null && _label && _label.tooltipItem) _label.tooltipItem.OnPointerEnter(null);
242-
}
236+
}
243237

244238
private void PointerExit()
245239
{
246240
if (_label != null && _label && _label.tooltipItem) _label.tooltipItem.OnPointerExit(null);
247-
}
241+
}
248242

249-
private void FixedUpdate()
243+
private void FixedUpdate()
250244
{
251245
if (!_trackable || !_trackable.activeSelf)
252246
{

0 commit comments

Comments
 (0)