v0.6.2: fixes to armor interaction with warrior's seal
This commit is contained in:
parent
6a7d37b228
commit
3522c275aa
|
@ -95,6 +95,7 @@ public class ArmorKit extends Item {
|
||||||
|
|
||||||
curUser.belongings.armor = classArmor;
|
curUser.belongings.armor = classArmor;
|
||||||
((HeroSprite)curUser.sprite).updateArmor();
|
((HeroSprite)curUser.sprite).updateArmor();
|
||||||
|
classArmor.activate(curUser);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,6 @@ abstract public class ClassArmor extends Armor {
|
||||||
@Override
|
@Override
|
||||||
public ArrayList<String> actions( Hero hero ) {
|
public ArrayList<String> actions( Hero hero ) {
|
||||||
ArrayList<String> actions = super.actions( hero );
|
ArrayList<String> actions = super.actions( hero );
|
||||||
actions.remove( AC_DETACH );
|
|
||||||
if (hero.HP >= 3 && isEquipped( hero )) {
|
if (hero.HP >= 3 && isEquipped( hero )) {
|
||||||
actions.add( AC_SPECIAL );
|
actions.add( AC_SPECIAL );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user