v0.6.2a: reduced the chance for golden chests to appear
This commit is contained in:
parent
ffe043d5e1
commit
9ad765e256
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user