20_346
This commit is contained in:
@@ -344,7 +344,7 @@ var set20 = {
|
||||
'20_343': 'http://lotrtcg.org/coreset/rohan/snowmaners.png',
|
||||
'20_344': 'http://lotrtcg.org/coreset/rohan/theodenkotgh.png',
|
||||
'20_345': 'http://lotrtcg.org/coreset/rohan/theodenris.png',
|
||||
'20_346': 'http://lotrtcg.org/coreset/rohan/tothesmithy.png',
|
||||
'20_346': 'http://lotrtcg.org/coreset/rohan/tothesmithy(r1).png',
|
||||
'20_347': 'http://lotrtcg.org/coreset/rohan/towhateverend.png',
|
||||
'20_348': 'http://lotrtcg.org/coreset/rohan/wallneverbreached.png',
|
||||
'20_349': 'http://lotrtcg.org/coreset/sauron/baraddurcaptain.png',
|
||||
|
||||
@@ -4,18 +4,20 @@ import com.gempukku.lotro.cards.AbstractEvent;
|
||||
import com.gempukku.lotro.cards.PlayConditions;
|
||||
import com.gempukku.lotro.cards.actions.PlayEventAction;
|
||||
import com.gempukku.lotro.cards.effects.choose.ChooseAndPlayCardFromDiscardEffect;
|
||||
import com.gempukku.lotro.common.CardType;
|
||||
import com.gempukku.lotro.common.Culture;
|
||||
import com.gempukku.lotro.common.Phase;
|
||||
import com.gempukku.lotro.common.PossessionClass;
|
||||
import com.gempukku.lotro.common.Side;
|
||||
import com.gempukku.lotro.filters.Filters;
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
|
||||
/**
|
||||
* 0
|
||||
* To the Smithy!
|
||||
* Rohan Event • Skirmish
|
||||
* Play a [Rohan] possession from your discard pile.
|
||||
* Event • Skirmish
|
||||
* Play a [Rohan] weapon or [Rohan] mount from your discard pile.
|
||||
* http://lotrtcg.org/coreset/rohan/tothesmithy(r1).png
|
||||
*/
|
||||
public class Card20_346 extends AbstractEvent {
|
||||
public Card20_346() {
|
||||
@@ -25,14 +27,14 @@ public class Card20_346 extends AbstractEvent {
|
||||
@Override
|
||||
public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int withTwilightRemoved, int twilightModifier, boolean ignoreRoamingPenalty, boolean ignoreCheckingDeadPile) {
|
||||
return super.checkPlayRequirements(playerId, game, self, withTwilightRemoved, twilightModifier, ignoreRoamingPenalty, ignoreCheckingDeadPile)
|
||||
&& PlayConditions.canPlayFromDiscard(playerId, game, Culture.ROHAN, CardType.POSSESSION);
|
||||
&& PlayConditions.canPlayFromDiscard(playerId, game, Culture.ROHAN, Filters.or(Filters.weapon, PossessionClass.MOUNT));
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
|
||||
PlayEventAction action = new PlayEventAction(self);
|
||||
action.appendEffect(
|
||||
new ChooseAndPlayCardFromDiscardEffect(playerId, game, Culture.ROHAN, CardType.POSSESSION));
|
||||
new ChooseAndPlayCardFromDiscardEffect(playerId, game, Culture.ROHAN, Filters.or(Filters.weapon, PossessionClass.MOUNT)));
|
||||
return action;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user