Add: Building0Test. Fix: Sustenence And CavePainting

This commit is contained in:
GabrieleRadice
2026-03-19 18:03:16 +01:00
parent 677a12a833
commit 07dde9711b
3 changed files with 60 additions and 1 deletions
@@ -40,7 +40,7 @@ public class CavePaintings extends EventCard {
player.removePrestige(NPrestigeRem);
}
else{
player.addPrestige(NPrestigeMul * NUpper);
player.addPrestige(NPrestigeMul * NArtists);
}
}
}
@@ -21,6 +21,7 @@ public class Sustenance extends EventCard {
this.PrestigeDebt = PrestigeDebt;
}
// Sustenence va eseguito per ultimo tra gli eventi
@Override
public void activateEvent (ArrayList <Player> playerList) throws NullPointerException {
for(Player player : playerList){