- "Strength of Spirit" no longer cancels an effect if the exertion was a cost.
This commit is contained in:
@@ -13,10 +13,13 @@ import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.results.ExertResult;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
public class ExertCharactersEffect extends AbstractPreventableCardEffect {
|
||||
private Action _action;
|
||||
private PhysicalCard _source;
|
||||
private Set<PhysicalCard> _placeNoWound = new HashSet<PhysicalCard>();
|
||||
|
||||
public ExertCharactersEffect(Action action, PhysicalCard source, Filterable... filter) {
|
||||
super(filter);
|
||||
@@ -58,8 +61,13 @@ public class ExertCharactersEffect extends AbstractPreventableCardEffect {
|
||||
game.getGameState().sendMessage(getAppendedNames(cards) + " exert" + GameUtils.s(cards) + " due to " + GameUtils.getCardLink(_source));
|
||||
|
||||
for (PhysicalCard woundedCard : cards) {
|
||||
game.getGameState().addWound(woundedCard);
|
||||
if (!_placeNoWound.contains(woundedCard))
|
||||
game.getGameState().addWound(woundedCard);
|
||||
game.getActionsEnvironment().emitEffectResult(new ExertResult(_action, woundedCard));
|
||||
}
|
||||
}
|
||||
|
||||
public void placeNoWoundOn(PhysicalCard physicalCard) {
|
||||
_placeNoWound.add(physicalCard);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ import com.gempukku.lotro.cards.AbstractResponseOldEvent;
|
||||
import com.gempukku.lotro.cards.TriggerConditions;
|
||||
import com.gempukku.lotro.cards.actions.PlayEventAction;
|
||||
import com.gempukku.lotro.cards.effects.ExertCharactersEffect;
|
||||
import com.gempukku.lotro.cards.effects.PreventCardEffect;
|
||||
import com.gempukku.lotro.common.CardType;
|
||||
import com.gempukku.lotro.common.Culture;
|
||||
import com.gempukku.lotro.common.Keyword;
|
||||
@@ -50,8 +49,7 @@ public class Card1_085 extends AbstractResponseOldEvent {
|
||||
new ChooseActiveCardEffect(self, playerId, "Choose character", CardType.COMPANION, Filters.in(exertedCharacters)) {
|
||||
@Override
|
||||
protected void cardSelected(LotroGame game, PhysicalCard card) {
|
||||
action.appendEffect(
|
||||
new PreventCardEffect(exertEffect, card));
|
||||
exertEffect.placeNoWoundOn(card);
|
||||
}
|
||||
});
|
||||
return Collections.singletonList(action);
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
<pre style="font-size:80%">
|
||||
<b>12 Dec. 2012</b>
|
||||
- "Strength of Spirit" no longer cancels an effect if the exertion was a cost.
|
||||
|
||||
<b>27 Nov. 2012</b>
|
||||
- "Cliffs of Emyn Muil" should have a default value of 2 for removing burdens.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user