From b69606adc453ae07c1a42e9e22666f60a1c1d084 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Mon, 19 Dec 2011 10:55:00 +0000 Subject: [PATCH] =?UTF-8?q?"Gh=C3=A2n-buri-Gh=C3=A2n"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lotro/cards/set0/gandalf/Card0_056.java | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set0/gandalf/Card0_056.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set0/gandalf/Card0_056.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set0/gandalf/Card0_056.java new file mode 100644 index 000000000..b57d5c197 --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set0/gandalf/Card0_056.java @@ -0,0 +1,45 @@ +package com.gempukku.lotro.cards.set0.gandalf; + +import com.gempukku.lotro.cards.AbstractCompanion; +import com.gempukku.lotro.cards.modifiers.OverwhelmedByMultiplierModifier; +import com.gempukku.lotro.cards.modifiers.conditions.LocationCondition; +import com.gempukku.lotro.common.Culture; +import com.gempukku.lotro.common.Keyword; +import com.gempukku.lotro.common.Race; +import com.gempukku.lotro.filters.Filters; +import com.gempukku.lotro.game.PhysicalCard; +import com.gempukku.lotro.game.state.LotroGame; +import com.gempukku.lotro.logic.modifiers.KeywordModifier; +import com.gempukku.lotro.logic.modifiers.Modifier; +import com.gempukku.lotro.logic.modifiers.SpotCondition; + +import java.util.LinkedList; +import java.util.List; + +/** + * Set: Promotional + * Side: Free + * Culture: Gandalf + * Twilight Cost: 2 + * Type: Companion • Man + * Strength: 6 + * Vitality: 3 + * Resistance: 5 + * Game Text: While you can spot 2 other Men, Ghan-buri-Ghan cannot be overwhelmed unless his strength is tripled. While + * at a forest site, Ghan-buri-Ghan is defender +1. + */ +public class Card0_056 extends AbstractCompanion { + public Card0_056() { + super(2, 6, 3, 5, Culture.GANDALF, Race.MAN, null, "Ghân-buri-Ghân", true); + } + + @Override + public List getAlwaysOnModifiers(LotroGame game, PhysicalCard self) { + List modifiers = new LinkedList(); + modifiers.add( + new OverwhelmedByMultiplierModifier(self, self, new SpotCondition(2, Filters.not(self), Race.MAN), 3)); + modifiers.add( + new KeywordModifier(self, self, new LocationCondition(Keyword.FOREST), Keyword.DEFENDER, 1)); + return modifiers; + } +}