Fix: ShamanicRituals, Building13Test. Add: Building11Test

This commit is contained in:
2026-03-19 18:34:58 +01:00
parent 87d4fd47b8
commit b5be22b89d
3 changed files with 27 additions and 3 deletions
@@ -24,11 +24,13 @@ public class ShamanicRitual extends EventCard {
public void activateEvent (ArrayList <Player> playerList){
Map<Player, Integer> playerMap = new HashMap<>();
int tmpIcons = 0;
int tmpCount = 0;
for (Player player : playerList) {
tmpIcons = player.shamans.stream().mapToInt(sh -> sh.getIcon()).sum();
if (player.buildingCards.stream().anyMatch(b -> b.getEffectId() == 5)) {
tmpIcons = tmpIcons+3;
tmpCount = (int) player.buildingCards.stream().filter(b -> b.getEffectId() == 5).count();
if (tmpCount > 1) {
tmpIcons = tmpIcons+(3*tmpCount);
}
playerMap.put(player, tmpIcons);
}