From 6f0e01e64b58dee597f417b19cf35a6d9b96c2a0 Mon Sep 17 00:00:00 2001 From: marcins78 Date: Fri, 15 Mar 2013 17:44:28 +0000 Subject: [PATCH] 20_008 --- .../src/main/web/js/gemp-019/set20.js | 2 +- .../lotro/cards/set20/dunland/Card20_008.java | 31 +++++++------------ 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js index e0da91045..16421e631 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js +++ b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js @@ -6,7 +6,7 @@ var set20 = { '20_5': 'http://lotrtcg.org/coreset/dunland/dunlendingtribesman(r1).png', '20_6': 'http://lotrtcg.org/coreset/dunland/dunlendingclansman(r1).png', '20_7': 'http://lotrtcg.org/coreset/dunland/dunlendingveteran(r1).png', - '20_8': 'http://lotrtcg.org/coreset/dunland/dunlendinghorde.png', + '20_8': 'http://lotrtcg.org/coreset/dunland/dunlendinghorde(r1).png', '20_9': 'http://lotrtcg.org/coreset/dunland/dunlendingplunderer.png', '20_10': 'http://lotrtcg.org/coreset/dunland/dunlendingruffian.png', '20_11': 'http://lotrtcg.org/coreset/dunland/dunlendingbrute.png', diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/dunland/Card20_008.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/dunland/Card20_008.java index 3ad36962a..3c9530af0 100644 --- a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/dunland/Card20_008.java +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/dunland/Card20_008.java @@ -13,36 +13,32 @@ import com.gempukku.lotro.game.PhysicalCard; import com.gempukku.lotro.game.state.LotroGame; import com.gempukku.lotro.logic.actions.OptionalTriggerAction; import com.gempukku.lotro.logic.effects.ChooseAndDiscardCardsFromHandEffect; +import com.gempukku.lotro.logic.modifiers.GameHasCondition; import com.gempukku.lotro.logic.modifiers.KeywordModifier; import com.gempukku.lotro.logic.modifiers.Modifier; -import com.gempukku.lotro.logic.modifiers.SpotCondition; -import com.gempukku.lotro.logic.modifiers.StrengthModifier; import com.gempukku.lotro.logic.timing.EffectResult; import java.util.Collections; -import java.util.LinkedList; import java.util.List; /** - * 5 - * • Dunlending Horde - * Dunland Minion • Man - * 12 2 3 - * While you control a site, Dunlending Horde is fierce. - * When you play Dunlending Horde, you may discard a [Dunland] card from hand. If you do, Dunlending Horde - * is strength +2 and damage +1 until the regroup phase. + * 4 + * Dunlending Horde + * Minion • Man + * 10 2 3 + * While you control a site, this minion is fierce. + * When you play this minion, you may discard a [Dunland] card from hand. If you do, this minion is damage +1 + * until the regroup phase. + * http://lotrtcg.org/coreset/dunland/dunlendinghorde(r1).png */ public class Card20_008 extends AbstractMinion { public Card20_008() { - super(5, 12, 2, 3, Race.MAN, Culture.DUNLAND, "Dunlending Horde"); + super(5, 10, 2, 3, Race.MAN, Culture.DUNLAND, "Dunlending Horde"); } @Override - public List getAlwaysOnModifiers(LotroGame game, PhysicalCard self) { - List modifiers = new LinkedList(); - modifiers.add( - new KeywordModifier(self, self, new SpotCondition(Filters.siteControlled(self.getOwner())), Keyword.FIERCE, 1)); - return modifiers; + public Modifier getAlwaysOnModifier(LotroGame game, PhysicalCard self) { + return new KeywordModifier(self, self, new GameHasCondition(Filters.siteControlled(self.getOwner())), Keyword.FIERCE, 1); } @Override @@ -52,9 +48,6 @@ public class Card20_008 extends AbstractMinion { OptionalTriggerAction action = new OptionalTriggerAction(self); action.appendCost( new ChooseAndDiscardCardsFromHandEffect(action, playerId, false, 1, Culture.DUNLAND)); - action.appendEffect( - new AddUntilStartOfPhaseModifierEffect( - new StrengthModifier(self, self, 2), Phase.REGROUP)); action.appendEffect( new AddUntilStartOfPhaseModifierEffect( new KeywordModifier(self, self, Keyword.DAMAGE, 1), Phase.REGROUP));