v0.2.4: improved gold reward from graveyards

This commit is contained in:
Evan Debenham 2015-02-23 09:39:58 -05:00
parent d93016aa4d
commit f3c27fbbd7

View File

@ -127,7 +127,7 @@ public class StandardPainter extends Painter {
int pos = w > h ?
room.left + 1 + shift + i * 2 + (room.top + 2 + Random.Int( h-2 )) * Level.WIDTH :
(room.left + 2 + Random.Int( w-2 )) + (room.top + 1 + shift + i * 2) * Level.WIDTH;
level.drop( i == index ? Generator.random() : new Gold(), pos ).type = Heap.Type.TOMB;
level.drop( i == index ? Generator.random() : new Gold().random(), pos ).type = Heap.Type.TOMB;
}
}