Fixed party counter routine and removed tabbed chars from cpp file.

This commit is contained in:
valfieri
2020-10-01 18:29:20 +02:00
parent 6d872ed176
commit 1b320d5325
2 changed files with 13 additions and 6 deletions
+10 -3
View File
@@ -1044,15 +1044,22 @@ private:
if (card->controller()->game->inPlay->cards[j]->hasType("Cleric") && !found_cleric){
intValue += 1;
found_cleric = true;
} else if (card->controller()->game->inPlay->cards[j]->hasType("Rogue") && !found_rogue){
continue;
}
if (card->controller()->game->inPlay->cards[j]->hasType("Rogue") && !found_rogue){
intValue += 1;
found_rogue = true;
} else if (card->controller()->game->inPlay->cards[j]->hasType("Wizard") && !found_wizard){
continue;
}
if (card->controller()->game->inPlay->cards[j]->hasType("Wizard") && !found_wizard){
intValue += 1;
found_wizard = true;
} else if (card->controller()->game->inPlay->cards[j]->hasType("Warrior") && !found_warrior){
continue;
}
if (card->controller()->game->inPlay->cards[j]->hasType("Warrior") && !found_warrior){
intValue += 1;
found_warrior = true;
continue;
}
}
}