From 69665db104542c0679af51d142c13304d680a840 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 6 Jun 2015 02:05:29 -0400 Subject: [PATCH] v0.3.0c: fixed a bug with seed probabilities. --- .../shatteredpixel/shatteredpixeldungeon/items/Generator.java | 2 +- .../shatteredpixeldungeon/items/wands/WandOfRegrowth.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java index 0016d33ad..ec4e9edd8 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java @@ -210,7 +210,7 @@ public class Generator { BlandfruitBush.Seed.class, Dreamfoil.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 }; } diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfRegrowth.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfRegrowth.java index 8f691d18b..31550840e 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfRegrowth.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfRegrowth.java @@ -124,7 +124,7 @@ public class WandOfRegrowth extends Wand { floor.plant(seed, cells.next()); Dungeon.limitedDrops.blandfruitSeed.count++; } - } else if (seed != null) + } else floor.plant(seed, cells.next()); numPlants --;