v0.8.0: fixed mimics incorrectly being the default heap type
This commit is contained in:
parent
4526445a43
commit
5e69dedbb4
|
@ -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) ||
|
||||
|
|
Loading…
Reference in New Issue
Block a user