Skip to content

Commit

Permalink
feat: show Tavern Tier 7 when filtering by minion type
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Sep 3, 2024
1 parent c5c6725 commit d8e88bc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,10 @@ public IEnumerable<CardGroup> Groups
}
else if(ActiveMinionType is Race minionType)
{
foreach(var tierGroup in AvailableTiers)
var tiers = AvailableTiers;
if(ShowTavernTier7)
tiers.Add(7);
foreach(var tierGroup in tiers)
{
var cards = (int)minionType == -1
? _db.Value.GetSpells(tierGroup, IsDuos).OrderBy(x => x.Cost).ThenBy(x => x.LocalizedName).ToList()
Expand Down

0 comments on commit d8e88bc

Please sign in to comment.