Expert ai death knight ai plays very poorly

he always uses his hero power even if he has card to play and will use attack buffing cards after he attacks or has no minions on board making it useless even when he has 7 or more cards in hand. he just plays really poorly and used to be just fine.