From 68c9e6a2845e2bd2d52e7cf8a4d8400ee120660b Mon Sep 17 00:00:00 2001 From: marcins78 Date: Thu, 4 Apr 2013 09:46:29 +0000 Subject: [PATCH] - "The Pale Blade, Wraithblade" now can be attached to The Witch-King only (per card text). --- .../gemp-lotr-async/src/main/web/includes/changeLog.html | 1 + .../com/gempukku/lotro/cards/set20/wraith/Card20_298.java | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html b/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html index 6ba4e823a..eead5b71e 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html +++ b/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html @@ -5,6 +5,7 @@ - "Cave Troll of Moria, Monstrous Friend" should now correctly count the number of cards you can discard from hand to play it, when figuring out, if it is playable. - "Herblore of the Shire" now applies the limit the same way "Trust Me As You Once Did" does. +- "The Pale Blade, Wraithblade" now can be attached to The Witch-King only (per card text). 25 Mar. 2013 - Changed all images for set 20 from PNG to JPEG. diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_298.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_298.java index afe02f32b..2117633aa 100644 --- a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_298.java +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_298.java @@ -38,7 +38,7 @@ public class Card20_298 extends AbstractAttachable { @Override protected Filterable getValidTargetFilter(String playerId, LotroGame game, PhysicalCard self) { - return Race.NAZGUL; + return Filters.witchKing; } @Override @@ -47,13 +47,13 @@ public class Card20_298 extends AbstractAttachable { modifiers.add( new StrengthModifier(self, Filters.hasAttached(self), 3)); modifiers.add( - new KeywordModifier(self, Filters.and(Filters.hasAttached(self), Filters.witchKing), Keyword.DAMAGE, 1)); + new KeywordModifier(self, Filters.hasAttached(self), Keyword.DAMAGE, 1)); return modifiers; } @Override public List getRequiredAfterTriggers(LotroGame game, EffectResult effectResult, PhysicalCard self) { - if (TriggerConditions.winsSkirmish(game, effectResult, Filters.hasAttached(self))) { + if (TriggerConditions.winsSkirmish(game, effectResult, Filters.witchKing)) { RequiredTriggerAction action = new RequiredTriggerAction(self); List possibleEffects = new LinkedList(); final String fpPlayer = game.getGameState().getCurrentPlayerId();