v0.4.0: bug and typo fixes

This commit is contained in:
Evan Debenham
2016-06-09 15:23:56 -04:00
committed by Evan Debenham
parent b8f6881830
commit 4a2b421fd0
3 changed files with 4 additions and 4 deletions
@@ -170,8 +170,8 @@ public class Armor extends EquipableItem {
public void affixSeal(BrokenSeal seal){
this.seal = seal;
if (seal.level() > 0){
//doesn't override existing glyphs, but doesn't create one either
upgrade(glyph != null);
//doesn't trigger upgrading logic such as affecting curses/glyphs
level(level()+1);
}
if (isEquipped(Dungeon.hero)){
Buff.affect(Dungeon.hero, BrokenSeal.WarriorShield.class).setArmor(this);