Skip to content

Commit

Permalink
Joymaster Jepetto
Browse files Browse the repository at this point in the history
- Joymaster Jepetto view added
  - 1 Health or 1 Attack minions listed
- Lady Liadrin spell list updated
  - Blessings of Kings reverted to legacy id
  • Loading branch information
batstyx committed Mar 31, 2024
2 parents b6cc793 + 92313ad commit b47d978
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 3 deletions.
1 change: 1 addition & 0 deletions Graveyard/Graveyard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public class Graveyard
OgreGangView.Config,
AzeriteRatView.Config,
LastPlayedView.EndgameConfig,
JepettoView.Config,
};

private readonly FrameworkElement FriendlyView;
Expand Down
1 change: 1 addition & 0 deletions Graveyard/Graveyard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
<Compile Include="FourHorsemenView.cs" />
<Compile Include="HighCultistBasalephView.cs" />
<Compile Include="HoldingEffectView.cs" />
<Compile Include="JepettoView.cs" />
<Compile Include="MenagerieView.cs" />
<Compile Include="MinionsCreatedView.cs" />
<Compile Include="MixtapeView.cs" />
Expand Down
21 changes: 21 additions & 0 deletions Graveyard/JepettoView.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using Hearthstone_Deck_Tracker.API;
using static HearthDb.CardIds.Collectible;

namespace HDT.Plugins.Graveyard
{
internal class JepettoView
{
private static ViewConfig _Config;
internal static ViewConfig Config
{
get => _Config ?? (_Config = new ViewConfig(Neutral.JoymancerJepetto)
{
CreateView = () => new NormalView(),
UpdateOn = GameEvents.OnPlayerPlay,
Condition = card => card.Type == "Minion"
&& (card.Health == 1
|| card.Attack == 1)
});
}
}
}
2 changes: 1 addition & 1 deletion Graveyard/LadyLiadrinView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ internal static ViewConfig Config
Paladin.SealOfBlood,
Paladin.SealOfChampions,
// 4
Paladin.BlessingOfKingsCore,
Paladin.BlessingOfKingsLegacy,
//Paladin.HammerOfWrath,
Paladin.SilvermoonPortalKARA,
// 5
Expand Down
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.14.0.0")]
[assembly: AssemblyFileVersion("1.14.0.0")]
[assembly: AssemblyVersion("1.14.1.0")]
[assembly: AssemblyFileVersion("1.14.1.0")]

0 comments on commit b47d978

Please sign in to comment.