mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Reformatting a comment.
This commit is contained in:
@@ -138,8 +138,7 @@ public class BoosterGenerator {
|
|||||||
boolean replaceCommon = edition != null && !template.getSlots().isEmpty()
|
boolean replaceCommon = edition != null && !template.getSlots().isEmpty()
|
||||||
&& MyRandom.getRandom().nextDouble() < edition.getChanceReplaceCommonWith();
|
&& MyRandom.getRandom().nextDouble() < edition.getChanceReplaceCommonWith();
|
||||||
|
|
||||||
// Default, if no matching slot type is found : equal chance for each
|
// Default, if no matching slot type is found : equal chance for each slot
|
||||||
// slot
|
|
||||||
// should not have effect unless new sets that do not match existing
|
// should not have effect unless new sets that do not match existing
|
||||||
// rarities are added
|
// rarities are added
|
||||||
String foilSlot = Aggregates.random(template.getSlots()).getLeft().split("[ :!]")[0];
|
String foilSlot = Aggregates.random(template.getSlots()).getLeft().split("[ :!]")[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user