v0.6.2: fixes to armor interaction with warrior's seal

This commit is contained in:
Evan Debenham 2017-10-24 18:20:12 -04:00
parent 6a7d37b228
commit 3522c275aa
2 changed files with 1 additions and 1 deletions

View File

@ -95,6 +95,7 @@ public class ArmorKit extends Item {
curUser.belongings.armor = classArmor;
((HeroSprite)curUser.sprite).updateArmor();
classArmor.activate(curUser);
} else {

View File

@ -97,7 +97,6 @@ abstract public class ClassArmor extends Armor {
@Override
public ArrayList<String> actions( Hero hero ) {
ArrayList<String> actions = super.actions( hero );
actions.remove( AC_DETACH );
if (hero.HP >= 3 && isEquipped( hero )) {
actions.add( AC_SPECIAL );
}