"Nasty, Foul Hobbitses"

This commit is contained in:
marcins78@gmail.com
2011-10-20 19:18:04 +00:00
parent 5f0a709e9b
commit b6b2dcac9f
2 changed files with 43 additions and 1 deletions

View File

@@ -31,7 +31,8 @@ public class Card6_038 extends AbstractResponseEvent {
@Override @Override
public List<PlayEventAction> getOptionalAfterActions(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) { public List<PlayEventAction> getOptionalAfterActions(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) {
if (PlayConditions.winsSkirmish(game, effectResult, Filters.name("Smeagol"))) { if (PlayConditions.winsSkirmish(game, effectResult, Filters.name("Smeagol"))
&& PlayConditions.canPayForShadowCard(game, self, 0)) {
PlayEventAction action = new PlayEventAction(self); PlayEventAction action = new PlayEventAction(self);
action.appendCost( action.appendCost(
new AddBurdenEffect(self, 1)); new AddBurdenEffect(self, 1));

View File

@@ -0,0 +1,41 @@
package com.gempukku.lotro.cards.set6.gollum;
import com.gempukku.lotro.cards.AbstractResponseEvent;
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.Culture;
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;
import com.gempukku.lotro.logic.timing.EffectResult;
import java.util.Collections;
import java.util.List;
/**
* Set: Ents of Fangorn
* Side: Shadow
* Culture: Gollum
* Twilight Cost: 0
* Type: Event
* Game Text: Response: If Gollum wins a skirmish, add a burden.
*/
public class Card6_042 extends AbstractResponseEvent {
public Card6_042() {
super(Side.SHADOW, 0, Culture.GOLLUM, "Nasty, Foul Hobbitses");
}
@Override
public List<PlayEventAction> getOptionalAfterActions(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) {
if (PlayConditions.winsSkirmish(game, effectResult, Filters.name("Gollum"))
&& PlayConditions.canPayForShadowCard(game, self, 0)) {
PlayEventAction action = new PlayEventAction(self);
action.appendEffect(
new AddBurdenEffect(self, 1));
return Collections.singletonList(action);
}
return null;
}
}