From 6961ebeb2256c3ad8faf10e8360fbb470e4c5cb6 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 10 Jul 2021 14:35:48 +0200 Subject: [PATCH] Fix `Bound Weapon FX` Enchantments being used. And Updated Deps. --- HalgarisRPGLoot/HalgarisRPGLoot.csproj | 4 ++-- HalgarisRPGLoot/WeaponAnalyer.cs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HalgarisRPGLoot/HalgarisRPGLoot.csproj b/HalgarisRPGLoot/HalgarisRPGLoot.csproj index a4e41b0..419f644 100644 --- a/HalgarisRPGLoot/HalgarisRPGLoot.csproj +++ b/HalgarisRPGLoot/HalgarisRPGLoot.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/HalgarisRPGLoot/WeaponAnalyer.cs b/HalgarisRPGLoot/WeaponAnalyer.cs index 82bfe82..c1d46f8 100644 --- a/HalgarisRPGLoot/WeaponAnalyer.cs +++ b/HalgarisRPGLoot/WeaponAnalyer.cs @@ -74,6 +74,7 @@ public void Analyze() AllEnchantedItems = AllListItems.Where(e => !e.Resolved.ObjectEffect.IsNull).ToArray(); AllObjectEffects = State.LoadOrder.PriorityOrder.ObjectEffect().WinningOverrides() + .Where(k => !k.Name.ToString().EndsWith("FX")) // Excluding Bound Weapon FX Object Effects as they don't do a thing on non bound weapons. .ToDictionary(k => k.FormKey); AllEnchantments = AllEnchantedItems