v0.6.2: reduced droprate of blandfruit seeds
This commit is contained in:
parent
7e1dcec42f
commit
65edd066e3
|
@ -360,7 +360,7 @@ public class Generator {
|
|||
Dreamfoil.Seed.class,
|
||||
Stormvine.Seed.class,
|
||||
Starflower.Seed.class};
|
||||
SEED.probs = new float[]{ 12, 12, 12, 12, 12, 12, 12, 0, 4, 12, 12, 1 };
|
||||
SEED.probs = new float[]{ 12, 12, 12, 12, 12, 12, 12, 0, 3, 12, 12, 1 };
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -130,7 +130,7 @@ public class WandOfRegrowth extends Wand {
|
|||
Plant.Seed seed = (Plant.Seed) Generator.random(Generator.Category.SEED);
|
||||
|
||||
if (seed instanceof BlandfruitBush.Seed) {
|
||||
if (Random.Int(15) - Dungeon.LimitedDrops.BLANDFRUIT_SEED.count >= 0) {
|
||||
if (Random.Int(5) - Dungeon.LimitedDrops.BLANDFRUIT_SEED.count >= 0) {
|
||||
floor.plant(seed, cells.next());
|
||||
Dungeon.LimitedDrops.BLANDFRUIT_SEED.count++;
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ public class HighGrass {
|
|||
Item seed = Generator.random(Generator.Category.SEED);
|
||||
|
||||
if (seed instanceof BlandfruitBush.Seed) {
|
||||
if (Random.Int(15) - Dungeon.LimitedDrops.BLANDFRUIT_SEED.count >= 0) {
|
||||
if (Random.Int(5) - Dungeon.LimitedDrops.BLANDFRUIT_SEED.count >= 0) {
|
||||
level.drop(seed, pos).sprite.drop();
|
||||
Dungeon.LimitedDrops.BLANDFRUIT_SEED.count++;
|
||||
}
|
||||
|
|
|
@ -89,7 +89,7 @@ public abstract class Plant implements Bundlable {
|
|||
Item seed = Generator.random(Generator.Category.SEED);
|
||||
|
||||
if (seed instanceof BlandfruitBush.Seed) {
|
||||
if (Random.Int(15) - Dungeon.LimitedDrops.BLANDFRUIT_SEED.count >= 0) {
|
||||
if (Random.Int(5) - Dungeon.LimitedDrops.BLANDFRUIT_SEED.count >= 0) {
|
||||
Dungeon.level.drop(seed, pos).sprite.drop();
|
||||
Dungeon.LimitedDrops.BLANDFRUIT_SEED.count++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user