"Denethor's Sword"
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
package com.gempukku.lotro.cards.set18.gondor;
|
||||||
|
|
||||||
|
import com.gempukku.lotro.cards.AbstractAttachableFPPossession;
|
||||||
|
import com.gempukku.lotro.cards.modifiers.RemoveGameTextModifier;
|
||||||
|
import com.gempukku.lotro.common.Culture;
|
||||||
|
import com.gempukku.lotro.common.Filterable;
|
||||||
|
import com.gempukku.lotro.common.PossessionClass;
|
||||||
|
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.modifiers.Modifier;
|
||||||
|
|
||||||
|
import java.util.Collections;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set: Treachery & Deceit
|
||||||
|
* Side: Free
|
||||||
|
* Culture: Gondor
|
||||||
|
* Twilight Cost: 1
|
||||||
|
* Type: Possession • Hand Weapon
|
||||||
|
* Strength: +2
|
||||||
|
* Game Text: Bearer must be a [GONDOR] Man. While bearer is Denethor, his game text does not apply.
|
||||||
|
*/
|
||||||
|
public class Card18_043 extends AbstractAttachableFPPossession {
|
||||||
|
public Card18_043() {
|
||||||
|
super(1, 2, 0, Culture.GONDOR, PossessionClass.HAND_WEAPON, "Denethor's Sword", true);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected Filterable getValidTargetFilter(String playerId, LotroGame game, PhysicalCard self) {
|
||||||
|
return Filters.and(Culture.GONDOR, Race.MAN);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected List<? extends Modifier> getNonBasicStatsModifiers(PhysicalCard self) {
|
||||||
|
return Collections.singletonList(
|
||||||
|
new RemoveGameTextModifier(self, Filters.and(Filters.name("Denethor"), Filters.hasAttached(self))));
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user