v1.1.0: fixed lucky enchant not triggering at maxLvl instead of maxLvl+2

This commit is contained in:
Evan Debenham 2021-09-20 22:51:12 -04:00
parent f4ca0c4234
commit 050b37b346

View File

@ -741,7 +741,7 @@ public abstract class Mob extends Char {
} }
//lucky enchant logic //lucky enchant logic
if (Dungeon.hero.lvl <= maxLvl && buff(Lucky.LuckProc.class) != null){ if (buff(Lucky.LuckProc.class) != null){
Dungeon.level.drop(Lucky.genLoot(), pos).sprite.drop(); Dungeon.level.drop(Lucky.genLoot(), pos).sprite.drop();
Lucky.showFlare(sprite); Lucky.showFlare(sprite);
} }