"Nasty, Foul Hobbitses"
This commit is contained in:
@@ -31,7 +31,8 @@ public class Card6_038 extends AbstractResponseEvent {
|
||||
|
||||
@Override
|
||||
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);
|
||||
action.appendCost(
|
||||
new AddBurdenEffect(self, 1));
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user