From 27416ee353d0cfc9f346f468c1a20ee79b05989f Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Tue, 6 Dec 2011 22:39:55 +0000 Subject: [PATCH] "Anduin Confluence" --- .../lotro/cards/set11/site/Card11_228.java | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/site/Card11_228.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/site/Card11_228.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/site/Card11_228.java new file mode 100644 index 000000000..f2ad7020b --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/site/Card11_228.java @@ -0,0 +1,38 @@ +package com.gempukku.lotro.cards.set11.site; + +import com.gempukku.lotro.cards.AbstractNewSite; +import com.gempukku.lotro.cards.TriggerConditions; +import com.gempukku.lotro.common.CardType; +import com.gempukku.lotro.common.Keyword; +import com.gempukku.lotro.game.PhysicalCard; +import com.gempukku.lotro.game.state.LotroGame; +import com.gempukku.lotro.logic.actions.RequiredTriggerAction; +import com.gempukku.lotro.logic.effects.DiscardCardsFromPlayEffect; +import com.gempukku.lotro.logic.timing.EffectResult; + +import java.util.Collections; +import java.util.List; + +/** + * Set: Shadows + * Twilight Cost: 1 + * Type: Site + * Game Text: River. When the fellowship moves to this site, discard each ally from play. + */ +public class Card11_228 extends AbstractNewSite { + public Card11_228() { + super("Anduin Confluence", 1, Direction.RIGHT); + addKeyword(Keyword.RIVER); + } + + @Override + public List getRequiredAfterTriggers(LotroGame game, EffectResult effectResult, PhysicalCard self) { + if (TriggerConditions.movesTo(game, effectResult, self)) { + RequiredTriggerAction action = new RequiredTriggerAction(self); + action.appendEffect( + new DiscardCardsFromPlayEffect(self, CardType.ALLY)); + return Collections.singletonList(action); + } + return null; + } +}