"Rohirrim Doorwarden"
This commit is contained in:
@@ -0,0 +1,56 @@
|
|||||||
|
package com.gempukku.lotro.cards.set15.rohan;
|
||||||
|
|
||||||
|
import com.gempukku.lotro.cards.AbstractFollower;
|
||||||
|
import com.gempukku.lotro.cards.PlayConditions;
|
||||||
|
import com.gempukku.lotro.cards.modifiers.evaluator.CountActiveEvaluator;
|
||||||
|
import com.gempukku.lotro.common.CardType;
|
||||||
|
import com.gempukku.lotro.common.Culture;
|
||||||
|
import com.gempukku.lotro.common.Race;
|
||||||
|
import com.gempukku.lotro.common.Side;
|
||||||
|
import com.gempukku.lotro.filters.Filters;
|
||||||
|
import com.gempukku.lotro.game.PhysicalCard;
|
||||||
|
import com.gempukku.lotro.game.state.LotroGame;
|
||||||
|
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||||
|
import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||||
|
import com.gempukku.lotro.logic.modifiers.StrengthModifier;
|
||||||
|
import com.gempukku.lotro.logic.timing.Effect;
|
||||||
|
|
||||||
|
import java.util.Collections;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set: The Hunters
|
||||||
|
* Side: Free
|
||||||
|
* Culture: Rohan
|
||||||
|
* Twilight Cost: 2
|
||||||
|
* Type: Follower
|
||||||
|
* Game Text: Aid - (2). (At the start of the maneuver phase, you may add (2) to transfer this to a companion.)
|
||||||
|
* To play, spot a [ROHAN] Man. Bearer is strength +1 for each possession he or she bears.
|
||||||
|
*/
|
||||||
|
public class Card15_137 extends AbstractFollower {
|
||||||
|
public Card15_137() {
|
||||||
|
super(Side.FREE_PEOPLE, 2, 0, 0, 0, Culture.ROHAN, "Rohirrim Doorwarden", true);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean canPayAidCost(LotroGame game, PhysicalCard self) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||||
|
return new AddTwilightEffect(self, 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int withTwilightRemoved, int twilightModifier, boolean ignoreRoamingPenalty, boolean ignoreCheckingDeadPile) {
|
||||||
|
return super.checkPlayRequirements(playerId, game, self, withTwilightRemoved, twilightModifier, ignoreRoamingPenalty, ignoreCheckingDeadPile)
|
||||||
|
&& PlayConditions.canSpot(game, Culture.ROHAN, Race.MAN);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected List<? extends Modifier> getNonBasicStatsModifiers(PhysicalCard self) {
|
||||||
|
return Collections.singletonList(
|
||||||
|
new StrengthModifier(self, Filters.hasAttached(self), null, new CountActiveEvaluator(CardType.POSSESSION, Filters.attachedTo(Filters.hasAttached(self)))));
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user