mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- A more appropriate fix for BoosterGenerator and newer sets (takes into accounts sets like SOI/EMN).
This commit is contained in:
@@ -204,7 +204,11 @@ public class BoosterGenerator {
|
||||
|
||||
boolean foilInThisSlot = hasFoil && (slotType.equals(foilSlot));
|
||||
|
||||
if (foilInThisSlot) {
|
||||
if (foilInThisSlot && !foilAtEndOfPack) {
|
||||
numCards--;
|
||||
}
|
||||
|
||||
if (foilAtEndOfPack && hasFoil && slotType.startsWith(BoosterSlots.COMMON)) {
|
||||
numCards--;
|
||||
}
|
||||
|
||||
@@ -471,4 +475,4 @@ public class BoosterGenerator {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user