"Nan Curunir" now correctly allows to prevent damage only to mounted minion and does not crash the game when used.
This commit is contained in:
@@ -2,7 +2,6 @@ package com.gempukku.lotro.cards.set5.site;
|
||||
|
||||
import com.gempukku.lotro.cards.AbstractSite;
|
||||
import com.gempukku.lotro.cards.PlayConditions;
|
||||
import com.gempukku.lotro.cards.actions.PlayEventAction;
|
||||
import com.gempukku.lotro.cards.effects.PreventCardEffect;
|
||||
import com.gempukku.lotro.cards.effects.RemoveTwilightEffect;
|
||||
import com.gempukku.lotro.common.Block;
|
||||
@@ -11,6 +10,7 @@ import com.gempukku.lotro.common.Keyword;
|
||||
import com.gempukku.lotro.filters.Filters;
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.effects.ChooseActiveCardEffect;
|
||||
import com.gempukku.lotro.logic.effects.WoundCharactersEffect;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
@@ -35,16 +35,16 @@ public class Card5_119 extends AbstractSite {
|
||||
|
||||
@Override
|
||||
public List<? extends Action> getOptionalBeforeActions(String playerId, LotroGame game, Effect effect, PhysicalCard self) {
|
||||
if (PlayConditions.isGettingWounded(effect, game, CardType.MINION, Filters.owner(playerId))
|
||||
if (PlayConditions.isGettingWounded(effect, game, CardType.MINION, Filters.owner(playerId), Filters.mounted)
|
||||
&& game.getGameState().getTwilightPool() >= 2) {
|
||||
final WoundCharactersEffect woundEffect = (WoundCharactersEffect) effect;
|
||||
final Collection<PhysicalCard> cardsToBeWounded = woundEffect.getAffectedCardsMinusPrevented(game);
|
||||
|
||||
final PlayEventAction action = new PlayEventAction(self);
|
||||
final OptionalTriggerAction action = new OptionalTriggerAction(self);
|
||||
action.appendCost(
|
||||
new RemoveTwilightEffect(2));
|
||||
action.appendEffect(
|
||||
new ChooseActiveCardEffect(self, playerId, "Choose minion", CardType.MINION, Filters.owner(playerId), Filters.in(cardsToBeWounded)) {
|
||||
new ChooseActiveCardEffect(self, playerId, "Choose minion", CardType.MINION, Filters.owner(playerId), Filters.mounted, Filters.in(cardsToBeWounded)) {
|
||||
@Override
|
||||
protected void cardSelected(LotroGame game, PhysicalCard minion) {
|
||||
action.appendEffect(
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
<pre style="font-size:80%">
|
||||
<b>29 Oct. 2011</b>
|
||||
- Added Game History tab allowing to watch your old games.
|
||||
- "Nan Curunir" now correctly allows to prevent damage only to mounted minions and does not crash the game when used.
|
||||
|
||||
|
||||
<b>27 Oct. 2011</b>
|
||||
- "Wizard Staff" is no longer considered an artifact by the game, it's just a mere possession.
|
||||
- Fixed display of minions when they are removed from skirmish (for example by Merry or Pippin effect).
|
||||
|
||||
Reference in New Issue
Block a user