v0.4.0: refactoring for enchant/glyph referencing

This commit is contained in:
Evan Debenham
2016-06-15 03:03:27 -04:00
committed by Evan Debenham
parent 4c8bcade38
commit 912fd447d0
11 changed files with 24 additions and 28 deletions
@@ -75,7 +75,7 @@ public class ScrollOfUpgrade extends InventoryScroll {
a.upgrade();
if (hadCursedGlyph && a.glyph == null){
if (hadCursedGlyph && !a.hasCurseGlyph()){
removeCurse( Dungeon.hero );
} else if (wasCursed && !a.cursed){
weakenCurse( Dungeon.hero );