- "Galadriel, Lady of the Golden Wood" should play the next site correctly now in non-numbered formats.

This commit is contained in:
marcins78@gmail.com
2012-03-28 01:52:03 +00:00
parent 52463ae76f
commit acda07b20d
2 changed files with 6 additions and 8 deletions

View File

@@ -4,7 +4,6 @@ import com.gempukku.lotro.cards.AbstractAlly;
import com.gempukku.lotro.cards.PlayConditions; import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.effects.SelfExertEffect; import com.gempukku.lotro.cards.effects.SelfExertEffect;
import com.gempukku.lotro.common.*; import com.gempukku.lotro.common.*;
import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard; import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame; import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.actions.ActivateCardAction; import com.gempukku.lotro.logic.actions.ActivateCardAction;
@@ -14,7 +13,6 @@ import com.gempukku.lotro.logic.effects.PlaySiteEffect;
import com.gempukku.lotro.logic.timing.Action; import com.gempukku.lotro.logic.timing.Action;
import com.gempukku.lotro.logic.timing.EffectResult; import com.gempukku.lotro.logic.timing.EffectResult;
import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;
@@ -53,11 +51,8 @@ public class Card3_017 extends AbstractAlly {
ActivateCardAction action = new ActivateCardAction(self); ActivateCardAction action = new ActivateCardAction(self);
action.appendCost( action.appendCost(
new SelfExertEffect(self)); new SelfExertEffect(self));
Collection<PhysicalCard> nextSites = Filters.filter(game.getGameState().getAdventureDeck(playerId), game.getGameState(), game.getModifiersQuerying(), Filters.siteNumber(game.getGameState().getCurrentSiteNumber() + 1)); action.appendEffect(
if (nextSites.size() > 0 && game.getModifiersQuerying().hasKeyword(game.getGameState(), nextSites.iterator().next(), Keyword.FOREST)) { new PlaySiteEffect(action, playerId, null, game.getGameState().getCurrentSiteNumber() + 1, Keyword.FOREST));
action.appendEffect(
new PlaySiteEffect(action, playerId, null, game.getGameState().getCurrentSiteNumber() + 1));
}
return Collections.singletonList(action); return Collections.singletonList(action);
} }
return null; return null;

View File

@@ -1,7 +1,10 @@
<pre style="font-size:80%"> <pre style="font-size:80%">
<b>28 Mar. 2012</b>
- "Galadriel, Lady of the Golden Wood" should play the next site correctly now in non-numbered formats.
<b>27 Mar. 2012</b> <b>27 Mar. 2012</b>
- Roaming penalty is separate from twilight cost modifiers and applies after them. - Roaming penalty is separate from twilight cost modifiers and applies after them.
- "Uruviel" no longer affects assignments when copying "Caras Galadhon". - "Uruviel" no longer affects assignments when copying "Caras Galadhon".
<b>26 Mar. 2012</b> <b>26 Mar. 2012</b>
- "Pillage of Rohan" and other similar cards should be active at the right time now (only on your turn). - "Pillage of Rohan" and other similar cards should be active at the right time now (only on your turn).