Fix: event construct with imgID
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
|
||||
@@ -176,8 +176,8 @@ public class Board implements Serializable {
|
||||
tribeDeck_temp.addAll(era1);
|
||||
tribeDeck_temp.addAll(era2);
|
||||
tribeDeck_temp.addAll(era3);
|
||||
tribeDeck_temp.add(new Sustenance(3,3));
|
||||
tribeDeck_temp.add(new ShamanicRitual(3,15,7));
|
||||
tribeDeck_temp.add(new Sustenance("95",3,3));
|
||||
tribeDeck_temp.add(new ShamanicRitual("96",3,15,7));
|
||||
return tribeDeck_temp;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user