From 78fd89cb01edc1aa7086df33dc06a96f64b09faa Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 26 Jan 2015 00:30:24 -0500 Subject: [PATCH] v0.2.3f: tweaked behaviour of last shop level, also fixed bug involving shop generation. --- .../shatteredpixeldungeon/levels/LastShopLevel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/LastShopLevel.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/LastShopLevel.java index a9145a309..e7dd3de74 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/LastShopLevel.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/LastShopLevel.java @@ -52,6 +52,7 @@ public class LastShopLevel extends RegularLevel { protected boolean build() { feeling = Feeling.CHASM; + viewDistance = 4; initRooms(); @@ -113,8 +114,7 @@ public class LastShopLevel extends RegularLevel { } } - if (roomShop == null || shopSquare < 30 - || ((roomShop.width()-1)*(roomShop.height()-1) < ShopPainter.spaceNeeded())) { + if (roomShop == null || shopSquare < 54) { return false; } else { roomShop.type = Imp.Quest.isCompleted() ? Room.Type.SHOP : Room.Type.STANDARD;