Skip to content

Commit

Permalink
Merge pull request #12 from Synthesis-Collective/FX-Only-Enchantment-Fix
Browse files Browse the repository at this point in the history
Fix `Bound Weapon FX` Enchantments being used.
  • Loading branch information
EzioTheDeadPoet authored Jul 10, 2021
2 parents b298ab8 + 6961ebe commit 59eb101
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 59eb101

Please sign in to comment.