Fix AdventurePlayer.bonusDeckCards() to properly cap out at 3.

This commit is contained in:
Eric
2022-08-28 12:53:16 -05:00
parent 0c3536a561
commit c9bf08f0d2

View File

@@ -539,7 +539,7 @@ public class AdventurePlayer implements Serializable, SaveFileContent {
if(blessing != null) {
if(blessing.cardRewardBonus > 0) result += blessing.cardRewardBonus;
}
return Math.max(result, 3);
return Math.min(result, 3);
}
public DifficultyData getDifficulty() {