v0.3.0: made mimics a bit tougher, rarer, and added a little extra loot to them.

This commit is contained in:
Evan Debenham
2015-04-27 23:52:50 -04:00
parent 06aa051410
commit 2e52491f16
3 changed files with 15 additions and 10 deletions
@@ -49,14 +49,6 @@ public class RatKingPainter extends Painter {
addChest( level, i * Level.WIDTH + room.right - 1, door );
}
while (true) {
Heap chest = level.heaps.get( room.random() );
if (chest != null) {
chest.type = Heap.Type.MIMIC;
break;
}
}
RatKing king = new RatKing();
king.pos = room.random( 1 );
level.mobs.add( king );
@@ -43,7 +43,7 @@ public class TreasuryPainter extends Painter {
do {
pos = room.random();
} while (level.map[pos] != Terrain.EMPTY || level.heaps.get( pos ) != null);
level.drop( new Gold().random(), pos ).type = (i == 0 && heapType == Heap.Type.CHEST ? Heap.Type.MIMIC : heapType);
level.drop( new Gold().random(), pos ).type = (Random.Int(20) == 0 && heapType == Heap.Type.CHEST ? Heap.Type.MIMIC : heapType);
}
if (heapType == Heap.Type.HEAP) {