Skip to content

Commit

Permalink
Tyr Horizontal Alignment
Browse files Browse the repository at this point in the history
- #28
  • Loading branch information
batstyx committed Feb 22, 2024
2 parents 0a5381f + 63e5233 commit 810e819
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Graveyard/TyrView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ internal static ViewConfig Config
{
CreateView = () => new TyrView(),
UpdateOn = GameEvents.OnPlayerPlayToGraveyard,
Condition = card => card.Type == "Minion"
&& card.Attack >= 2
&& card.Attack <= 4,
Condition = card => card.CardClass == CardClass.PALADIN
&& card.Type == "Minion"
&& card.Attack >= 2
&& card.Attack <= 4,
});
}

Expand Down Expand Up @@ -74,7 +75,7 @@ public TitledListView(string name)
VerticalAlignment = VerticalAlignment.Top,
MinHeight = 30,
MinWidth = 30,
Margin = new Thickness(-15,0,0,0),
Margin = new Thickness(-14,0,0,0),
Text = name,
};
Children.Add(Title);
Expand Down

0 comments on commit 810e819

Please sign in to comment.