mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +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 != null) {
|
||||||
if(blessing.cardRewardBonus > 0) result += blessing.cardRewardBonus;
|
if(blessing.cardRewardBonus > 0) result += blessing.cardRewardBonus;
|
||||||
}
|
}
|
||||||
return Math.max(result, 3);
|
return Math.min(result, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
public DifficultyData getDifficulty() {
|
public DifficultyData getDifficulty() {
|
||||||
|
|||||||
Reference in New Issue
Block a user