Skip to content

Commit

Permalink
Merge pull request #32 from Synthesis-Collective/3.2.0
Browse files Browse the repository at this point in the history
fix unplayable items being considered.
  • Loading branch information
EzioTheDeadPoet authored Apr 6, 2024
2 parents c242bbc + 7475985 commit d601f54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## Version 3.2.0 - 06.04.2024
* Fixed unplayable armor and weapon records being used in the patcher

## Version 3.1.1 - 04.04.2024
* Updated Synthesis dependency

Expand Down
2 changes: 2 additions & 0 deletions HalgarisRPGLoot/Analyzers/ArmorAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ protected override void AnalyzeGear()
entry.Data.Reference.FormKey,
out var resolved))
return default;
if (resolved.MajorFlags.HasFlag(Armor.MajorFlag
.NonPlayable)) return default;
return new ResolvedListItem<IArmorGetter>
{
List = lst,
Expand Down
2 changes: 2 additions & 0 deletions HalgarisRPGLoot/Analyzers/WeaponAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ protected override void AnalyzeGear()
entry.Data.Reference.FormKey,
out var resolved))
return default;
if (resolved.MajorFlags.HasFlag(Weapon.MajorFlag
.NonPlayable)) return default;
return new ResolvedListItem<IWeaponGetter>
{
List = lst,
Expand Down

0 comments on commit d601f54

Please sign in to comment.