v0.7.0: corrected the vfx for removing curse not always triggering

This commit is contained in:
Evan Debenham
2018-06-17 02:17:32 -04:00
parent 7c764141fe
commit fb21ae70a3

View File

@@ -75,8 +75,10 @@ public class ScrollOfRemoveCurse extends InventoryScroll {
for (Item item : items) {
if (item != null) {
item.cursedKnown = true;
procced = item.cursed;
item.cursed = false;
if (item.cursed) {
procced = true;
item.cursed = false;
}
}
if (item instanceof Weapon){
Weapon w = (Weapon) item;