v3.1.0: fixed hermit crabs not dropping armor when they should
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ public class HermitCrab extends Crab {
|
|||||||
public void rollToDropLoot() {
|
public void rollToDropLoot() {
|
||||||
super.rollToDropLoot();
|
super.rollToDropLoot();
|
||||||
|
|
||||||
if (Dungeon.hero.lvl > maxLvl + 2){
|
if (Dungeon.hero.lvl <= maxLvl + 2){
|
||||||
Dungeon.level.drop(Generator.randomArmor(), pos).sprite.drop();
|
Dungeon.level.drop(Generator.randomArmor(), pos).sprite.drop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user