From 4695f8d3c53b7987739b49c848cb513695046b62 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 21 Dec 2014 21:01:53 -0500 Subject: [PATCH] v0.2.3: fixed a bug where petals would spawn for a cursed rose --- src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java index cf2ec4384..b642bdab6 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java @@ -215,7 +215,7 @@ public abstract class Level implements Bundlable { } DriedRose rose = Dungeon.hero.belongings.getItem( DriedRose.class ); - if (rose != null){ + if (rose != null && !rose.cursed){ //this way if a rose is dropped later in the game, player still has a chance to max it out. int petalsNeeded = (int) Math.ceil((float)((Dungeon.depth / 2) - rose.droppedPetals) / 3);