v0.9.2b: actually fixed cases of incorrect RC applications
This commit is contained in:
parent
e3e3757dbc
commit
d9457bc01d
|
@ -100,7 +100,7 @@ public class ScrollOfRemoveCurse extends InventoryScroll {
|
|||
public static boolean uncursable( Item item ){
|
||||
if (item.isEquipped(Dungeon.hero) && Dungeon.hero.buff(Degrade.class) != null) {
|
||||
return true;
|
||||
} if ((item instanceof EquipableItem || item instanceof Wand) && (!item.cursedKnown || item.cursed)){
|
||||
} if ((item instanceof EquipableItem || item instanceof Wand) && ((!item.isIdentified() && !item.cursedKnown) || item.cursed)){
|
||||
return true;
|
||||
} else if (item instanceof Weapon){
|
||||
return ((Weapon)item).hasCurseEnchant();
|
||||
|
|
Loading…
Reference in New Issue
Block a user