v0.4.1: fixed items being incorrectly generated on the final shop floor
This commit is contained in:
parent
d300038244
commit
28fdc38a73
|
@ -196,7 +196,7 @@ public abstract class Level implements Bundlable {
|
|||
mapped = new boolean[LENGTH];
|
||||
Arrays.fill( mapped, false );
|
||||
|
||||
if (!Dungeon.bossLevel()) {
|
||||
if (!(Dungeon.bossLevel() || Dungeon.depth == 21) /*final shop floor*/) {
|
||||
addItemToSpawn( Generator.random( Generator.Category.FOOD ) );
|
||||
if (Dungeon.posNeeded()) {
|
||||
addItemToSpawn( new PotionOfStrength() );
|
||||
|
|
Loading…
Reference in New Issue
Block a user