diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/men/Card15_079.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/men/Card15_079.java new file mode 100644 index 000000000..39db90c20 --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/men/Card15_079.java @@ -0,0 +1,56 @@ +package com.gempukku.lotro.cards.set15.men; + +import com.gempukku.lotro.cards.AbstractMinion; +import com.gempukku.lotro.common.CardType; +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.GameState; +import com.gempukku.lotro.game.state.LotroGame; +import com.gempukku.lotro.logic.modifiers.*; + +import java.util.LinkedList; +import java.util.List; + +/** + * Set: The Hunters + * Side: Shadow + * Culture: Men + * Twilight Cost: 5 + * Type: Minion • Man + * Strength: 12 + * Vitality: 3 + * Site: 4 + * Game Text: While you can spot more companions than minions, each [MEN] hunter is strength +2 and is an archer. + */ +public class Card15_079 extends AbstractMinion { + public Card15_079() { + super(5, 12, 3, 4, Race.MAN, Culture.MEN, "Enraged Herdsman"); + } + + @Override + public List getAlwaysOnModifiers(LotroGame game, PhysicalCard self) { + List modifiers = new LinkedList(); + modifiers.add( + new StrengthModifier(self, Filters.and(Culture.MEN, Keyword.HUNTER), + new Condition() { + @Override + public boolean isFullfilled(GameState gameState, ModifiersQuerying modifiersQuerying) { + return Filters.countSpottable(gameState, modifiersQuerying, CardType.COMPANION) + > Filters.countSpottable(gameState, modifiersQuerying, CardType.MINION); + } + }, 2)); + modifiers.add( + new KeywordModifier(self, Filters.and(Culture.MEN, Keyword.HUNTER), + new Condition() { + @Override + public boolean isFullfilled(GameState gameState, ModifiersQuerying modifiersQuerying) { + return Filters.countSpottable(gameState, modifiersQuerying, CardType.COMPANION) + > Filters.countSpottable(gameState, modifiersQuerying, CardType.MINION); + } + }, Keyword.ARCHER, 1)); + return modifiers; + } +}