Fix: event construct with imgID

This commit is contained in:
rubenpirreram
2026-05-06 16:45:44 +02:00
parent 32572ca33a
commit 44c3983a19
5 changed files with 12 additions and 4 deletions
@@ -37,7 +37,7 @@ public class Hunt extends EventCard {
* @param prestigeMultiplier prestige points multiplicator used during the event
*/
public Hunt(String idIMG,int Era, int prestigeMultiplier) {
super(Era, EventType.HUNT);
super(idIMG,Era, EventType.HUNT);
this.foodMultiplier = 1;
this.prestigeMultiplier = prestigeMultiplier;
}
@@ -42,7 +42,7 @@ public class ShamanicRitual extends EventCard {
* @param prestigeToRemove prestige points removed from the player with the fewest icons
*/
public ShamanicRitual(String idIMG,int Era, int prestigeToAdd, int prestigeToRemove) {
super(Era, EventType.SHAMANIC_RITUAL);
super(idIMG,Era, EventType.SHAMANIC_RITUAL);
this.prestigeToAdd = prestigeToAdd;
this.prestigeToRemove = prestigeToRemove;