private static void LogDiscardingCard(QuadMistCard card) { String cardName = FF9TextTool.CardName(card.id); String displayInfo = card.ToString(); Int32 arrowCount = MathEx.BitCount(card.arrow); Log.Message($"Discard the card: {cardName} ({displayInfo}, {arrowCount} arrows) [Id: {card.id}, Type: {card.type}, Attack: {card.atk}, P.Def: {card.pdef}, M.Def: {card.mdef}]"); }