public override void doAction(Action cause, Card user, HearthstoneBoard board, List <Card> alwaysUse) { board.printDebugMessage("Performing action: bomb deathrattle: " + user, HearthstoneBoard.OutputPriority.EFFECTTRIGGERS); BoardSide opponentBoard = board.getOpponentBoardFromMinion(user); List <Card> targets = new List <Card>(); for (int i = 0; i < times; i++) { if (opponentBoard.Count == 0) { return; } Card target = opponentBoard.getRandomCardAlive(board); if (target == null) { return; } user.causeDamageToTarget(target, board, 4); targets.Add(target); } foreach (Card c in targets) { c.deathCheck(board); } }