Skip to content

Commit

Permalink
Whizbang's Workshop
Browse files Browse the repository at this point in the history
- Endgame [Warlock] last demon death view
  • Loading branch information
batstyx committed Mar 18, 2024
2 parents b9d6e8e + 6bb40d2 commit b6cc793
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions Graveyard/Graveyard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public class Graveyard
CultivationView.Config,
OgreGangView.Config,
AzeriteRatView.Config,
LastPlayedView.EndgameConfig,
};

private readonly FrameworkElement FriendlyView;
Expand Down
11 changes: 11 additions & 0 deletions Graveyard/LastPlayedView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,16 @@ internal static ViewConfig LastRiffConfig
Warrior.BridgeRiff,
Warrior.ChorusRiff,
};

internal static ViewConfig EndgameConfig
{
get => _EndgameConfig ?? (_EndgameConfig = new LastCardView.ViewConfig(Warlock.Endgame)
{
Name = "Endgame",
UpdateOn = GameEvents.OnPlayerPlayToGraveyard,
Condition = card => card.Race == "Demon",
});
}
private static ViewConfig _EndgameConfig;
}
}
4 changes: 2 additions & 2 deletions Graveyard/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.13.2.0")]
[assembly: AssemblyFileVersion("1.13.2.0")]
[assembly: AssemblyVersion("1.14.0.0")]
[assembly: AssemblyFileVersion("1.14.0.0")]

0 comments on commit b6cc793

Please sign in to comment.