private function getTotalCardsInSet ($set) { if (!MasterBase::$totalCardsInSet) { // These totals are not computed correctly by counting cards in the masterbase. The masterbase is wrong? MasterBase::$totalCardsInSet = array(); MasterBase::$totalCardsInSet["CS"] = 155; MasterBase::$totalCardsInSet["HL"] = 140; MasterBase::$totalCardsInSet["WL"] = 167; } return @MasterBase::$totalCardsInSet[$set]; }