v0.9.3: fixed class armor using targeting when it shouldn't
This commit is contained in:
parent
332ab2a6fb
commit
c277f6b50c
|
@ -167,8 +167,10 @@ abstract public class ClassArmor extends Armor {
|
|||
if (hero.armorAbility == null){
|
||||
GameScene.show(new WndChooseAbility(null, this, hero));
|
||||
} else if (!isEquipped( hero )) {
|
||||
usesTargeting = false;
|
||||
GLog.w( Messages.get(this, "not_equipped") );
|
||||
} else if (charge < hero.armorAbility.chargeUse(hero)) {
|
||||
usesTargeting = false;
|
||||
GLog.w( Messages.get(this, "low_charge") );
|
||||
} else {
|
||||
usesTargeting = hero.armorAbility.useTargeting();
|
||||
|
|
Loading…
Reference in New Issue
Block a user