Easterling Pikeman

This commit is contained in:
marcins78
2013-11-20 16:19:22 +00:00
parent cd7556677b
commit 1dcdd42148
2 changed files with 12 additions and 27 deletions

View File

@@ -112,7 +112,7 @@ var set20 = {
'20_112': 'http://lotrtcg.org/coreset/fallenrealms/easterlingcaptaincor(r3).jpg',
'20_113': 'http://lotrtcg.org/coreset/fallenrealms/easterlingconscript(r3).jpg',
'20_114': 'http://lotrtcg.org/coreset/fallenrealms/easterlingdetachment(r3).jpg',
'20_116': 'http://lotrtcg.org/coreset/fallenrealms/easterlingpikeman(r1).jpg',
'20_116': 'http://lotrtcg.org/coreset/fallenrealms/easterlingpikeman(r3).jpg',
'20_117': 'http://lotrtcg.org/coreset/fallenrealms/easterlingrecruit.jpg',
'20_118': 'http://lotrtcg.org/coreset/fallenrealms/easterlingregiment.jpg',
'20_119': 'http://lotrtcg.org/coreset/fallenrealms/easterlingscout.jpg',

View File

@@ -1,47 +1,32 @@
package com.gempukku.lotro.cards.set20.fallenRealms;
import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.TriggerConditions;
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.actions.OptionalTriggerAction;
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
import com.gempukku.lotro.logic.effects.ChooseAndHealCharactersEffect;
import com.gempukku.lotro.logic.timing.EffectResult;
import java.util.Collections;
import java.util.List;
import com.gempukku.lotro.logic.modifiers.KeywordModifier;
import com.gempukku.lotro.logic.modifiers.Modifier;
/**
* 4
* Easterling Pikeman
* ❸ Easterling Pikeman [Fal]
* Minion • Man
* 9 2 4
* Strength: 8 Vitality: 2 Roaming: 4
* Easterling.
* When you play this minion, you may heal an Easterling to add (1).
* http://lotrtcg.org/coreset/fallenrealms/easterlingpikeman(r1).png
* While bearing a [Fal] weapon, this minion is damage +1.
* <p/>
* http://lotrtcg.org/coreset/fallenrealms/easterlingpikeman(r3).jpg
*/
public class Card20_116 extends AbstractMinion {
public Card20_116() {
super(4, 9, 2, 4, Race.MAN, Culture.FALLEN_REALMS, "Easterling Pikeman");
super(3, 8, 2, 4, Race.MAN, Culture.FALLEN_REALMS, "Easterling Pikeman");
addKeyword(Keyword.EASTERLING);
}
@Override
public List<OptionalTriggerAction> getOptionalAfterTriggers(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) {
if (TriggerConditions.played(game, effectResult, self)
&& PlayConditions.canHeal(self, game, Keyword.EASTERLING)) {
OptionalTriggerAction action = new OptionalTriggerAction(self);
action.appendCost(
new ChooseAndHealCharactersEffect(action, playerId, Keyword.EASTERLING));
action.appendEffect(
new AddTwilightEffect(self, 1));
return Collections.singletonList(action);
}
return null;
public Modifier getAlwaysOnModifier(LotroGame game, PhysicalCard self) {
return new KeywordModifier(self, Filters.and(self, Filters.hasAttached(Filters.weapon, Culture.FALLEN_REALMS)), Keyword.DAMAGE, 1);
}
}