- "The Pale Blade, Wraithblade" now can be attached to The Witch-King only (per card text).

This commit is contained in:
marcins78
2013-04-04 09:46:29 +00:00
parent cd1b47c0f9
commit 68c9e6a284
2 changed files with 4 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
- "Cave Troll of Moria, Monstrous Friend" should now correctly count the number of cards you can discard from hand to - "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. 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. - "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).
<b>25 Mar. 2013</b> <b>25 Mar. 2013</b>
- Changed all images for set 20 from PNG to JPEG. - Changed all images for set 20 from PNG to JPEG.

View File

@@ -38,7 +38,7 @@ public class Card20_298 extends AbstractAttachable {
@Override @Override
protected Filterable getValidTargetFilter(String playerId, LotroGame game, PhysicalCard self) { protected Filterable getValidTargetFilter(String playerId, LotroGame game, PhysicalCard self) {
return Race.NAZGUL; return Filters.witchKing;
} }
@Override @Override
@@ -47,13 +47,13 @@ public class Card20_298 extends AbstractAttachable {
modifiers.add( modifiers.add(
new StrengthModifier(self, Filters.hasAttached(self), 3)); new StrengthModifier(self, Filters.hasAttached(self), 3));
modifiers.add( 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; return modifiers;
} }
@Override @Override
public List<RequiredTriggerAction> getRequiredAfterTriggers(LotroGame game, EffectResult effectResult, PhysicalCard self) { public List<RequiredTriggerAction> 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); RequiredTriggerAction action = new RequiredTriggerAction(self);
List<Effect> possibleEffects = new LinkedList<Effect>(); List<Effect> possibleEffects = new LinkedList<Effect>();
final String fpPlayer = game.getGameState().getCurrentPlayerId(); final String fpPlayer = game.getGameState().getCurrentPlayerId();