v0.9.1: tweaked pillars room slightly, always spawns 4 pillars if large

This commit is contained in:
Evan Debenham 2020-10-31 15:06:48 -04:00
parent 0efe174eec
commit 3ac006700e

View File

@ -55,7 +55,7 @@ public class PillarsRoom extends StandardRoom {
int minDim = Math.min(width(), height());
//2 pillars
if (minDim == 7 || (minDim <= 10 && Random.Int(2) == 0)){
if (minDim == 7 || (sizeCat == SizeCategory.NORMAL && Random.Int(2) == 0)){
int pillarInset = minDim >= 11 ? 2 : 1;
int pillarSize = ((minDim-3)/2) - pillarInset;