- Fixed bug in BoosterGenerator reported by Roujin.

This commit is contained in:
Sloth
2012-02-04 15:29:28 +00:00
parent 1e4b714c5a
commit 68b6d410b6

View File

@@ -190,7 +190,7 @@ public class BoosterGenerator {
final int rollD8 = MyRandom.getRandom().nextInt(8);
final boolean takeMythic = (mythicsSize > 0) && (rollD8 < 1);
if (takeMythic) {
if (indexRares >= raresSize) {
if (indexMythics >= mythicsSize) {
Collections.shuffle(mythics, MyRandom.getRandom());
indexMythics = 0;
}