mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Minor fix (mythics)
This commit is contained in:
@@ -53,7 +53,7 @@ public final class BoosterUtils {
|
||||
|
||||
int nRares = numRare, nMythics = 0;
|
||||
Predicate<CardPrinted> filterMythics = Predicate.and(filter, CardPrinted.Predicates.Presets.isMythicRare);
|
||||
boolean haveMythics = false;//filterMythics.any(cardpool);
|
||||
boolean haveMythics = filterMythics.any(cardpool);
|
||||
for(int iSlot = 0; haveMythics && iSlot < numRare; iSlot++) {
|
||||
if (MyRandom.random.nextInt(7) < 1) { // a bit higher chance to get a mythic
|
||||
nRares--;
|
||||
|
||||
Reference in New Issue
Block a user