Skip to content

Commit

Permalink
Fix Bound Weapon FX Enchantments being used.
Browse files Browse the repository at this point in the history
And Updated Deps.
  • Loading branch information
EzioTheDeadPoet committed Jul 10, 2021
1 parent b298ab8 commit 6961ebe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HalgarisRPGLoot/HalgarisRPGLoot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Mutagen.Bethesda" Version="0.30.3" />
<PackageReference Include="Mutagen.Bethesda.Synthesis" Version="0.19.1" />
<PackageReference Include="Mutagen.Bethesda" Version="0.30.6" />
<PackageReference Include="Mutagen.Bethesda.Synthesis" Version="0.19.2" />
<PackageReference Include="Mutagen.Bethesda.FormKeys.SkyrimSE" Version="2.1.0" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions HalgarisRPGLoot/WeaponAnalyer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6961ebe

Please sign in to comment.