Playability check for healing and wounding is changed. Character has to have at least X wounds to be able to "fully perform an action" of healing it X times, same for vitality and wounding.

This commit is contained in:
marcins78@gmail.com
2012-01-06 23:31:48 +00:00
parent c18717cac7
commit 3625a32ef2
3 changed files with 3 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ public class Card1_206 extends AbstractPermanent {
new SelfDiscardEffect(self) {
@Override
public String getText(LotroGame game) {
return "Exert this condition";
return "Discard this condition";
}
});

View File

@@ -35,11 +35,10 @@ public class ChooseAndHealCharactersEffect extends ChooseActiveCardsEffect {
@Override
protected Filter getExtraFilterForPlayabilityCheck(LotroGame game) {
return Filters.and(
Filters.wounded,
new Filter() {
@Override
public boolean accepts(GameState gameState, ModifiersQuerying modifiersQuerying, PhysicalCard physicalCard) {
return modifiersQuerying.canBeHealed(gameState, physicalCard);
return gameState.getWounds(physicalCard) >= _count && modifiersQuerying.canBeHealed(gameState, physicalCard);
}
});
}

View File

@@ -37,7 +37,7 @@ public class ChooseAndWoundCharactersEffect extends ChooseActiveCardsEffect {
@Override
protected Filter getExtraFilterForPlayabilityCheck(LotroGame game) {
return Filters.canTakeWound;
return Filters.canTakeWounds(_count);
}
@Override