v0.3.0c: fixed a bug with seed probabilities.
This commit is contained in:
parent
dbeff25d2c
commit
69665db104
|
@ -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 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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 --;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user