diff --git a/Hearthstone Deck Tracker/BobsBuddy/BobsBuddyInvoker.cs b/Hearthstone Deck Tracker/BobsBuddy/BobsBuddyInvoker.cs index 77c912390..643e09692 100644 --- a/Hearthstone Deck Tracker/BobsBuddy/BobsBuddyInvoker.cs +++ b/Hearthstone Deck Tracker/BobsBuddy/BobsBuddyInvoker.cs @@ -746,11 +746,6 @@ private IEnumerable GetAttachedEntities(int entityId) if(_input.isDuos) { DebugLog("---"); - if(_input.PlayerTeammate == null) - DebugLog("PlayerTeammate: null"); - if(_input.OpponentTeammate == null) - DebugLog("OpponentTeammate: null"); - if(_input.PlayerTeammate != null) { DebugLog("---"); @@ -765,35 +760,9 @@ private IEnumerable GetAttachedEntities(int entityId) DebugLog( $"[{quest.QuestCardId} ({quest.QuestProgress}/{quest.QuestProgressTotal}): {quest.RewardCardId}]"); } - - if(_input.OpponentTeammate != null) - { - DebugLog("---"); - DebugLog("OpponentTeammate: heroPower=" + _input.OpponentTeammate.HeroPower.CardId + ", used=" - + _input.OpponentTeammate.HeroPower.IsActivated + ", data=" - + _input.OpponentTeammate.HeroPower.Data); - DebugLog("Hand: " + string.Join(", ", _input.OpponentTeammate.Hand.Select(x => x.ToString()))); - foreach(var minion in _input.OpponentTeammate.Side) - DebugLog(minion.ToString()); - - foreach(var quest in _input.OpponentTeammate.Quests) - DebugLog( - $"[{quest.QuestCardId} ({quest.QuestProgress}/{quest.QuestProgressTotal}): {quest.RewardCardId}]"); - } - - if(_input.PlayerTeammate != null) + else { - DebugLog("---"); - DebugLog("PlayerTeammate: heroPower=" + _input.PlayerTeammate.HeroPower.CardId + ", used=" - + _input.PlayerTeammate.HeroPower.IsActivated + ", data=" - + _input.PlayerTeammate.HeroPower.Data); - DebugLog("Hand: " + string.Join(", ", _input.PlayerTeammate.Hand.Select(x => x.ToString()))); - foreach(var minion in _input.PlayerTeammate.Side) - DebugLog(minion.ToString()); - - foreach(var quest in _input.PlayerTeammate.Quests) - DebugLog( - $"[{quest.QuestCardId} ({quest.QuestProgress}/{quest.QuestProgressTotal}): {quest.RewardCardId}]"); + DebugLog("PlayerTeammate: null"); } if(_input.OpponentTeammate != null) @@ -810,6 +779,10 @@ private IEnumerable GetAttachedEntities(int entityId) DebugLog( $"[{quest.QuestCardId} ({quest.QuestProgress}/{quest.QuestProgressTotal}): {quest.RewardCardId}]"); } + else + { + DebugLog("OpponentTeammate: null"); + } } DebugLog("---");