[Game] Implement total toughness tally (#7252)

This commit is contained in:
RickyRister 2026-09-06 01:46:37 -07:00 committed by GitHub
parent ada774f5cc
commit 0f003eabf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 44 additions and 1 deletions

View file

@ -21,6 +21,8 @@ QList<TallyRow> Tally::compute(const QList<CardItem *> &cards, const TallyType t
return SubtypeTally::countSubtypes(cards);
case TallyType::TotalPower:
return StatsTally::computeTotalPower(cards);
case TallyType::TotalToughness:
return StatsTally::computeTotalToughness(cards);
}
return {};
}