mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[BRO] Implemented Arbalest Engineers
This commit is contained in:
parent
263ce7d115
commit
79408978b7
2 changed files with 65 additions and 0 deletions
64
Mage.Sets/src/mage/cards/a/ArbalestEngineers.java
Normal file
64
Mage.Sets/src/mage/cards/a/ArbalestEngineers.java
Normal file
|
@ -0,0 +1,64 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.constants.SubType;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.game.permanent.token.PowerstoneToken;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class ArbalestEngineers extends CardImpl {
|
||||
|
||||
public ArbalestEngineers(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}{G}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.ARTIFICER);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// When Arbalest Engineers etners the battlefield, choose one --
|
||||
// * Arbalest Engineers deals 1 damage to any target.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(1));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
||||
// * Put a +1/+1 on target creature. It gains trample and haste until end of turn.
|
||||
Mode mode = new Mode(new AddCountersTargetEffect(CounterType.P1P1.createInstance()));
|
||||
mode.addEffect(new GainAbilityTargetEffect(TrampleAbility.getInstance())
|
||||
.setText("It gains trample"));
|
||||
mode.addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance())
|
||||
.setText("and haste until end of turn."));
|
||||
mode.addTarget(new TargetCreaturePermanent());
|
||||
ability.addMode(mode);
|
||||
|
||||
// * Create a taped Powerstone token.
|
||||
ability.addMode(new Mode(new CreateTokenEffect(new PowerstoneToken(), 1, true)));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private ArbalestEngineers(final ArbalestEngineers card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArbalestEngineers copy() {
|
||||
return new ArbalestEngineers(this);
|
||||
}
|
||||
}
|
|
@ -25,6 +25,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
this.blockName = "The Brothers' War";
|
||||
this.hasBoosters = false; // temporary
|
||||
|
||||
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));
|
||||
cards.add(new SetCardInfo("Argothian Opportunist", 167, Rarity.COMMON, mage.cards.a.ArgothianOpportunist.class));
|
||||
|
|
Loading…
Reference in a new issue