private void RollAllAbilities() { var buildTable = TableRepository.GetTypeSortedTableFromString("magic base", Types); if (buildTable.Name != "Table Not Found" && buildTable != null) { var abilitiesVisitor = new GetLootVisitor(); buildTable.Accept(abilitiesVisitor); buildTable.RollCount = 1; appliedAbilities.AddRange(abilitiesVisitor.GetLootBag()); } }