Skip to content

Commit 2f3542a

Browse files
committed
feat: update for 34.2.0
1 parent 3026855 commit 2f3542a

3 files changed

Lines changed: 28 additions & 1 deletion

File tree

Hearthstone Deck Tracker/BobsBuddy/BobsBuddyInvoker.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,13 @@ bool friendly
565565
var pUndeadBonus = playerAttached.FirstOrDefault(x => x.CardId == NonCollectible.Neutral.NerubianDeathswarmer_UndeadBonusAttackPlayerEnchantDnt);
566566
if(pUndeadBonus != null)
567567
inputPlayer.UndeadAttackBonus = pUndeadBonus.GetTag(GameTag.TAG_SCRIPT_DATA_NUM_1);
568+
var pBeastBonus = playerAttached.FirstOrDefault(x => x.CardId == NonCollectible.Neutral.TimewarpedGoldrinn_TimewarpedGoldrinnPlayerEnchantDnt);
569+
if(pBeastBonus != null)
570+
{
571+
inputPlayer.BeastAttackBonus = pBeastBonus.GetTag(GameTag.TAG_SCRIPT_DATA_NUM_1);
572+
inputPlayer.BeastHealthBonus = pBeastBonus.GetTag(GameTag.TAG_SCRIPT_DATA_NUM_2);
573+
Log.Info($"pBeastAttack={inputPlayer.BeastAttackBonus}, pBeastHealth={inputPlayer.BeastHealthBonus}, friendly={friendly}");
574+
}
568575
var pAncestralAutomaton = playerAttached.FirstOrDefault(x => x.CardId == NonCollectible.Neutral.AncestralAutomaton_AncestralAutomatonPlayerEnchantDnt);
569576
if(pAncestralAutomaton != null)
570577
inputPlayer.AncestralAutomatonCounter = pAncestralAutomaton.GetTag(GameTag.TAG_SCRIPT_DATA_NUM_1);
@@ -574,6 +581,20 @@ bool friendly
574581
inputPlayer.BeetlesAtkBuff = pBeetle.GetTag(GameTag.TAG_SCRIPT_DATA_NUM_1);
575582
inputPlayer.BeetlesHealthBuff = pBeetle.GetTag(GameTag.TAG_SCRIPT_DATA_NUM_2);
576583
}
584+
var pDeepBlues = playerAttached.FirstOrDefault(x => x.CardId == NonCollectible.Neutral.DeepBlueCrooner_DeepBluesEnchantment);
585+
if(pDeepBlues != null)
586+
{
587+
inputPlayer.DeepBluesAtkBuff = pDeepBlues.GetTag(GameTag.TAG_SCRIPT_DATA_NUM_1);
588+
inputPlayer.DeepBluesHealthBuff = pDeepBlues.GetTag(GameTag.TAG_SCRIPT_DATA_NUM_2);
589+
Log.Info($"pDeepBluesAtk={inputPlayer.DeepBluesAtkBuff}, pDeepBluesHealth={inputPlayer.DeepBluesHealthBuff}, friendly={friendly}");
590+
}
591+
var pVolumizer = playerAttached.FirstOrDefault(x => x.CardId == NonCollectible.Neutral.AutoAccelerator_VolumizerPlayerEnchantDnt);
592+
if(pVolumizer != null)
593+
{
594+
inputPlayer.VolumizerAtkBuff = pVolumizer.GetTag(GameTag.TAG_SCRIPT_DATA_NUM_1);
595+
inputPlayer.VolumizerHealthBuff = pVolumizer.GetTag(GameTag.TAG_SCRIPT_DATA_NUM_2);
596+
Log.Info($"pVolumizerAtk={inputPlayer.VolumizerAtkBuff}, pVolumizerHealth={inputPlayer.VolumizerHealthBuff}, friendly={friendly}");
597+
}
577598

578599
inputPlayer.ElementalPlayCounter = playerEntity.GetTag((GameTag)2878);
579600

Hearthstone Deck Tracker/BobsBuddy/BobsBuddyUtils.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ internal static Minion GetMinionFromEntity(Simulator sim, bool player, Entity en
9595
case NonCollectible.Neutral.Brukan_ElementEarth:
9696
minion.AdditionalDeathrattles.Add(GenericDeathrattles.EarthInvocationDeathrattle);
9797
break;
98+
case NonCollectible.Neutral.SurfnSurf_CrabRidingEnchantment:
99+
minion.AdditionalDeathrattles.Add(GenericDeathrattles.Crab);
100+
break;
101+
case NonCollectible.Neutral.SurfnSurf_CrabRiding:
102+
minion.AdditionalDeathrattles.Add(GenericDeathrattles.CrabGolden);
103+
break;
98104
case NonCollectible.Neutral.Brukan_EarthRecollection:
99105
minion.AdditionalDeathrattles.Add(BrukanInvocationDeathrattles.Earth);
100106
break;

Hearthstone Deck Tracker/Controls/Overlay/Battlegrounds/Minions/BattlegroundsMinionsViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public IEnumerable<CardGroup> Groups
456456
public void OnHeroPowers(IEnumerable<string> heroPowers)
457457
{
458458
IsThorimRelevant = heroPowers.Any(
459-
x => x is HearthDb.CardIds.NonCollectible.Neutral.ThorimStormlord_ChooseYourChampion or HearthDb.CardIds.NonCollectible.Neutral.ThorimStormlord_ThorimsChampion
459+
x => x is HearthDb.CardIds.NonCollectible.Neutral.ThorimStormlord_ChooseYourChampion
460460
);
461461
}
462462

0 commit comments

Comments
 (0)