v0.6.2a: reduced the chance for golden chests to appear

This commit is contained in:
Evan Debenham 2017-10-31 03:43:00 -04:00
parent ffe043d5e1
commit 9ad765e256

View File

@ -325,7 +325,7 @@ public abstract class RegularLevel extends Level {
Item toDrop = Generator.random();
if ((toDrop instanceof Artifact && Random.Int(2) == 0) ||
(toDrop.isUpgradable() && Random.Int(3) <= toDrop.level())){
(toDrop.isUpgradable() && Random.Int(4 - toDrop.level()) == 0)){
Heap dropped = drop( toDrop, cell );
if (heaps.get(cell) == dropped) {
dropped.type = Heap.Type.LOCKED_CHEST;