v0.9.1: fixed health potion limits not triggering for warlocks
This commit is contained in:
parent
a24cc62cb5
commit
457b943a2e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user