v0.8.0: fixed mimics incorrectly being the default heap type

This commit is contained in:
Evan Debenham 2019-12-13 17:15:22 -05:00
parent 4526445a43
commit 5e69dedbb4

View File

@ -302,13 +302,16 @@ public abstract class RegularLevel extends Level {
case 4:
type = Heap.Type.CHEST;
break;
case 5: default:
case 5:
if (Dungeon.depth > 1 && findMob(cell) == null){
mobs.add(Mimic.spawnAt(cell, toDrop));
continue;
}
type = Heap.Type.CHEST;
break;
default:
type = Heap.Type.HEAP;
break;
}
if ((toDrop instanceof Artifact && Random.Int(2) == 0) ||