v0.9.1: fixed health potion limits not triggering for warlocks

This commit is contained in:
Evan Debenham 2020-12-01 14:31:03 -05:00
parent a24cc62cb5
commit 457b943a2e

View File

@ -135,7 +135,7 @@ public class Warlock extends Mob implements Callback {
// 1/6 chance for healing, scaling to 0 over 8 drops
if (Random.Int(2) == 0 && Random.Int(8) > Dungeon.LimitedDrops.WARLOCK_HP.count ){
Dungeon.LimitedDrops.WARLOCK_HP.drop();
Dungeon.LimitedDrops.WARLOCK_HP.count++;
return new PotionOfHealing();
} else {
Item i = Generator.random(Generator.Category.POTION);