v0.8.2c: the dried rose is no longer sellable with items in it

This commit is contained in:
Evan Debenham 2020-08-25 14:31:31 -04:00
parent fc99ba31e3
commit 71df55ef11

View File

@ -232,6 +232,17 @@ public class DriedRose extends Artifact {
return desc; return desc;
} }
@Override
public int value() {
if (weapon != null){
return -1;
}
if (armor != null){
return -1;
}
return super.value();
}
@Override @Override
public String status() { public String status() {
if (ghost == null && ghostID != 0){ if (ghost == null && ghostID != 0){