mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Fix AdventurePlayer.bonusDeckCards() to properly cap out at 3.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user