"Mind Your Own Affairs"

This commit is contained in:
marcins78@gmail.com
2011-10-16 19:30:52 +00:00
parent 37d865ab4a
commit e6eb4f48cc

View File

@@ -0,0 +1,41 @@
package com.gempukku.lotro.cards.set4.shire;
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.AddBurdenEffect;
import com.gempukku.lotro.common.*;
import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.effects.ChooseAndWoundCharactersEffect;
/**
* Set: The Two Towers
* Side: Free
* Culture: Shire
* Twilight Cost: 1
* Type: Event
* Game Text: Skirmish: Spot Frodo and add a burden to wound a minion skirmishing a companion who has the Frodo signet.
*/
public class Card4_312 extends AbstractEvent {
public Card4_312() {
super(Side.FREE_PEOPLE, 1, Culture.SHIRE, "Mind Your Own Affairs", Phase.SKIRMISH);
}
@Override
public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int twilightModifier) {
return super.checkPlayRequirements(playerId, game, self, twilightModifier)
&& PlayConditions.canSpot(game, Filters.name("Frodo"));
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier) {
PlayEventAction action = new PlayEventAction(self);
action.appendCost(
new AddBurdenEffect(self, 1));
action.appendEffect(
new ChooseAndWoundCharactersEffect(action, playerId, 1, 1, Filters.inSkirmishAgainst(CardType.COMPANION, Signet.FRODO)));
return action;
}
}