v0.4.1: fixed upgrade badges not working with armor seal upgrade transfer

This commit is contained in:
Evan Debenham 2016-07-10 05:56:47 -04:00 committed by Evan Debenham
parent f4d5d88150
commit 0da44e62c8

View File

@ -173,6 +173,7 @@ public class Armor extends EquipableItem {
if (seal.level() > 0){
//doesn't trigger upgrading logic such as affecting curses/glyphs
level(level()+1);
Badges.validateItemLevelAquired(this);
}
if (isEquipped(Dungeon.hero)){
Buff.affect(Dungeon.hero, BrokenSeal.WarriorShield.class).setArmor(this);