diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/spells/MagicalInfusion.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/spells/MagicalInfusion.java index 585b74d31..13c2e78c6 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/spells/MagicalInfusion.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/spells/MagicalInfusion.java @@ -52,9 +52,9 @@ public class MagicalInfusion extends InventorySpell { Degrade.detach( curUser, Degrade.class ); - if (item instanceof Weapon && ((Weapon) item).enchantment != null && !((Weapon) item).hasCurseEnchant()) { + if (item instanceof Weapon && ((Weapon) item).enchantment != null) { ((Weapon) item).upgrade(true); - } else if (item instanceof Armor && ((Armor) item).glyph != null && !((Armor) item).hasCurseGlyph()) { + } else if (item instanceof Armor && ((Armor) item).glyph != null) { ((Armor) item).upgrade(true); } else { item.upgrade(); diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/Weapon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/Weapon.java index b3e32e39a..e5d1c537f 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/Weapon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/Weapon.java @@ -242,7 +242,7 @@ abstract public class Weapon extends KindOfWeapon { public Item upgrade(boolean enchant ) { if (enchant){ - if (enchantment == null || hasCurseEnchant()){ + if (enchantment == null){ enchant(Enchantment.random()); } } else {