Skip to content

Commit

Permalink
Reduce log "Attribute unknown" & fix rare highlight exception
Browse files Browse the repository at this point in the history
  • Loading branch information
hguy committed Aug 19, 2023
1 parent 632b023 commit 528c05e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/TQVaultAE.Data/ItemProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,14 @@ public class ItemProvider : IItemProvider
"CONTAGIONMAXSPREAD",
"CONTAGIONRADIUS",
"NOHIGHLIGHTDEFAULTCOLORA", // AMS: New property on most EE items
"FORCEIGNORERUNSPEEDCAPS" // hguy: New property on EE "Potion of Speed"
"FORCEIGNORERUNSPEEDCAPS", // hguy: New property on EE "Potion of Speed"
"LOOTRANDOMIZERSCALE",
"PROJECTILEFRAGMENTSLAUNCHNUMBERMAX",
"PROJECTILEFRAGMENTSLAUNCHNUMBERMIN",
"SPAWNOBJECTSRANDOMROTATION",
"SKILLPROJECTILETARGETGROUNDONLY",
"OFFENSIVETOTALDAMAGEGLOBAL",
"OFFENSIVETOTALDAMAGEXOR",
};

internal static readonly string[] requirementTags =
Expand Down
2 changes: 1 addition & 1 deletion src/TQVaultAE.Domain/Entities/SessionContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public void FindHighlight()
availableItems = availableItems.Where(i => i.FriendlyNames.ItemSet != null);
}

this.HighlightedItems.AddRange(availableItems.Select(i => i.Item));
this.HighlightedItems.AddRange(availableItems.Select(i => i.Item).ToList());
return;
}
ResetHighlight();
Expand Down

0 comments on commit 528c05e

Please sign in to comment.