"East Wall of Rohan"

This commit is contained in:
marcins78@gmail.com
2011-10-16 20:11:02 +00:00
parent be62ca64fd
commit f138c0ab23

View File

@@ -0,0 +1,36 @@
package com.gempukku.lotro.cards.set4.site;
import com.gempukku.lotro.cards.AbstractSite;
import com.gempukku.lotro.common.Block;
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.AddTwilightEffect;
import com.gempukku.lotro.logic.timing.EffectResult;
import java.util.Collections;
import java.util.List;
/**
* Set: The Two Towers
* Type: Site
* Site: 1T
* Game Text: When the fellowship moves from East Wall of Rohan, add (2).
*/
public class Card4_323 extends AbstractSite {
public Card4_323() {
super("East Wall of Rohan", Block.TWO_TOWERS, 1, 0, Direction.LEFT);
}
@Override
public List<RequiredTriggerAction> getRequiredAfterTriggers(LotroGame game, EffectResult effectResult, PhysicalCard self) {
if (effectResult.getType() == EffectResult.Type.WHEN_MOVE_FROM
&& game.getGameState().getCurrentSite() == self) {
RequiredTriggerAction action = new RequiredTriggerAction(self);
action.appendEffect(
new AddTwilightEffect(self, 2));
return Collections.singletonList(action);
}
return null;
}
}