v0.3.0c: fixed a bug with seed probabilities.

This commit is contained in:
Evan Debenham 2015-06-06 02:05:29 -04:00
parent dbeff25d2c
commit 69665db104
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ public class Generator {
BlandfruitBush.Seed.class, BlandfruitBush.Seed.class,
Dreamfoil.Seed.class, Dreamfoil.Seed.class,
Stormvine.Seed.class, Stormvine.Seed.class,
Starflower.class}; Starflower.Seed.class};
Category.SEED.probs = new float[]{ 12, 12, 12, 12, 12, 12, 12, 0, 4, 12, 12, 1 }; Category.SEED.probs = new float[]{ 12, 12, 12, 12, 12, 12, 12, 0, 4, 12, 12, 1 };
} }

View File

@ -124,7 +124,7 @@ public class WandOfRegrowth extends Wand {
floor.plant(seed, cells.next()); floor.plant(seed, cells.next());
Dungeon.limitedDrops.blandfruitSeed.count++; Dungeon.limitedDrops.blandfruitSeed.count++;
} }
} else if (seed != null) } else
floor.plant(seed, cells.next()); floor.plant(seed, cells.next());
numPlants --; numPlants --;