v0.3.1: fixed a bug where potions of healing would not spawn from alchemy, made spawn rate less generous.
This commit is contained in:
parent
b2d0ed63d8
commit
0845c41a44
|
@ -422,7 +422,7 @@ public class Heap implements Bundlable {
|
||||||
if (Random.Int(1000/bonus) == 0)
|
if (Random.Int(1000/bonus) == 0)
|
||||||
return new PotionOfExperience();
|
return new PotionOfExperience();
|
||||||
|
|
||||||
while (potion instanceof PotionOfHealing && Random.Int(15) - Dungeon.limitedDrops.cookingHP.count >= 0)
|
while (potion instanceof PotionOfHealing && Random.Int(10) < Dungeon.limitedDrops.cookingHP.count)
|
||||||
potion = Generator.random( Generator.Category.POTION );
|
potion = Generator.random( Generator.Category.POTION );
|
||||||
|
|
||||||
if (potion instanceof PotionOfHealing)
|
if (potion instanceof PotionOfHealing)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user