[BRO] Implement Ambush Paratrooper

This commit is contained in:
Evan Kranzler 2022-11-02 08:42:34 -04:00
parent ceae3462d9
commit 8747f47696
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,50 @@
package mage.cards.a;
import mage.MageInt;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.keyword.FlashAbility;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class AmbushParatrooper extends CardImpl {
public AmbushParatrooper(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.SOLDIER);
this.power = new MageInt(1);
this.toughness = new MageInt(2);
// Flash
this.addAbility(FlashAbility.getInstance());
// Flying
this.addAbility(FlyingAbility.getInstance());
// {5}: Creatures you control get +1/+1 until end of turn.
this.addAbility(new SimpleActivatedAbility(
new BoostControlledEffect(1, 1, Duration.EndOfTurn), new GenericManaCost(5)
));
}
private AmbushParatrooper(final AmbushParatrooper card) {
super(card);
}
@Override
public AmbushParatrooper copy() {
return new AmbushParatrooper(this);
}
}

View file

@ -25,6 +25,7 @@ public final class TheBrothersWar extends ExpansionSet {
this.blockName = "The Brothers' War";
this.hasBoosters = false; // temporary
cards.add(new SetCardInfo("Ambush Paratrooper", 3, Rarity.COMMON, mage.cards.a.AmbushParatrooper.class));
cards.add(new SetCardInfo("Arbalest Engineers", 206, Rarity.UNCOMMON, mage.cards.a.ArbalestEngineers.class));
cards.add(new SetCardInfo("Arcane Proxy", 75, Rarity.MYTHIC, mage.cards.a.ArcaneProxy.class));
cards.add(new SetCardInfo("Argoth, Sanctum of Nature", "256a", Rarity.RARE, mage.cards.a.ArgothSanctumOfNature.class));