v1.1.0: fixed lucky enchant not triggering at maxLvl instead of maxLvl+2
This commit is contained in:
parent
f4ca0c4234
commit
050b37b346
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user