From 71df55ef11d4877561ab869d961ae65bd2bdb911 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 25 Aug 2020 14:31:31 -0400 Subject: [PATCH] v0.8.2c: the dried rose is no longer sellable with items in it --- .../items/artifacts/DriedRose.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java index 6ee12a204..180ab9498 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java @@ -232,6 +232,17 @@ public class DriedRose extends Artifact { return desc; } + @Override + public int value() { + if (weapon != null){ + return -1; + } + if (armor != null){ + return -1; + } + return super.value(); + } + @Override public String status() { if (ghost == null && ghostID != 0){