forked from External/mage
[LTR] Implement Warg Rider (#11217)
This commit is contained in:
parent
5f7079895f
commit
30118dd515
2 changed files with 72 additions and 0 deletions
71
Mage.Sets/src/mage/cards/w/WargRider.java
Normal file
71
Mage.Sets/src/mage/cards/w/WargRider.java
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
package mage.cards.w;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.BeginningOfCombatTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.effects.keyword.AmassEffect;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class WargRider extends CardImpl {
|
||||
|
||||
private final static FilterControlledCreaturePermanent filterOrcAndGoblins =
|
||||
new FilterControlledCreaturePermanent("Orcs and Goblins");
|
||||
|
||||
static {
|
||||
filterOrcAndGoblins.add(
|
||||
Predicates.or(
|
||||
SubType.ORC.getPredicate(),
|
||||
SubType.GOBLIN.getPredicate()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public WargRider(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}");
|
||||
|
||||
this.subtype.add(SubType.ORC);
|
||||
this.subtype.add(SubType.WARRIOR);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Menace
|
||||
this.addAbility(new MenaceAbility());
|
||||
|
||||
// Other Orcs and Goblins you control have menace.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new GainAbilityControlledEffect(
|
||||
new MenaceAbility(false),
|
||||
Duration.WhileOnBattlefield,
|
||||
filterOrcAndGoblins,
|
||||
true
|
||||
)
|
||||
));
|
||||
|
||||
// At the beginning of combat on your turn, amass Orcs 2.
|
||||
this.addAbility(new BeginningOfCombatTriggeredAbility(
|
||||
new AmassEffect(2, SubType.ORC),
|
||||
TargetController.YOU, false
|
||||
));
|
||||
}
|
||||
|
||||
private WargRider(final WargRider card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public WargRider copy() {
|
||||
return new WargRider(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -477,6 +477,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Voracious Fell Beast", 422, Rarity.UNCOMMON, mage.cards.v.VoraciousFellBeast.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("War of the Last Alliance", 36, Rarity.RARE, mage.cards.w.WarOfTheLastAlliance.class));
|
||||
cards.add(new SetCardInfo("Warbeast of Gorgoroth", 152, Rarity.COMMON, mage.cards.w.WarbeastOfGorgoroth.class));
|
||||
cards.add(new SetCardInfo("Warg Rider", 826, Rarity.RARE, mage.cards.w.WargRider.class));
|
||||
cards.add(new SetCardInfo("Westfold Rider", 37, Rarity.COMMON, mage.cards.w.WestfoldRider.class));
|
||||
cards.add(new SetCardInfo("Willow-Wind", 76, Rarity.COMMON, mage.cards.w.WillowWind.class));
|
||||
cards.add(new SetCardInfo("Witch-king of Angmar", 114, Rarity.MYTHIC, mage.cards.w.WitchKingOfAngmar.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue