v0.4.0: refactoring for enchant/glyph referencing
This commit is contained in:
committed by
Evan Debenham
parent
4c8bcade38
commit
912fd447d0
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user