From 4c4268a0c21d83111a6f54789ae19456b9e6e363 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 20 Jun 2022 15:35:01 -0400 Subject: [PATCH] v1.3.0: nerfed the final reward from crystal path rooms --- .../levels/rooms/special/CrystalPathRoom.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/CrystalPathRoom.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/CrystalPathRoom.java index 267f7d213..62ebd5eb6 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/CrystalPathRoom.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/CrystalPathRoom.java @@ -34,6 +34,7 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.Terrain; import com.shatteredpixel.shatteredpixeldungeon.levels.painters.Painter; import com.shatteredpixel.shatteredpixeldungeon.levels.rooms.Room; import com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard.EmptyRoom; +import com.sun.tools.javac.jvm.Gen; import com.watabou.utils.Point; import com.watabou.utils.Random; @@ -137,10 +138,12 @@ public class CrystalPathRoom extends SpecialRoom { item = Generator.random(Generator.Category.SCROLL); break; case 3: - if (Random.Int(3) == 0){ - item = new ScrollOfTransmutation(); - } else { + if (Random.Int(2) == 0){ + item = Generator.random(Random.oneOf(Generator.Category.POTION, Generator.Category.SCROLL)); + } else if (Random.Int(2) == 0) { item = new PotionOfExperience(); + } else { + item = new ScrollOfTransmutation(); } break; }