v0.8.2c: the dried rose is no longer sellable with items in it
This commit is contained in:
parent
fc99ba31e3
commit
71df55ef11
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue
Block a user