mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[BRO] Implement Artificer's Dragon
This commit is contained in:
parent
211bfa07db
commit
6209d9586d
2 changed files with 52 additions and 0 deletions
51
Mage.Sets/src/mage/cards/a/ArtificersDragon.java
Normal file
51
Mage.Sets/src/mage/cards/a/ArtificersDragon.java
Normal file
|
@ -0,0 +1,51 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.UnearthAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ArtificersDragon extends CardImpl {
|
||||
|
||||
public ArtificersDragon(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{6}");
|
||||
|
||||
this.subtype.add(SubType.DRAGON);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// {R}: Artifact creatures you control get +1/+0 until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(new BoostControlledEffect(
|
||||
1, 0, Duration.EndOfTurn,
|
||||
StaticFilters.FILTER_PERMANENTS_ARTIFACT_CREATURE, false
|
||||
), new ManaCostsImpl<>("{R}")));
|
||||
|
||||
// Unearth {3}{R}{R}
|
||||
this.addAbility(new UnearthAbility(new ManaCostsImpl<>("{3}{R}{R}")));
|
||||
}
|
||||
|
||||
private ArtificersDragon(final ArtificersDragon card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArtificersDragon copy() {
|
||||
return new ArtificersDragon(this);
|
||||
}
|
||||
}
|
|
@ -34,6 +34,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
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));
|
||||
cards.add(new SetCardInfo("Argothian Sprite", 168, Rarity.COMMON, mage.cards.a.ArgothianSprite.class));
|
||||
cards.add(new SetCardInfo("Artificer's Dragon", 291, Rarity.RARE, mage.cards.a.ArtificersDragon.class));
|
||||
cards.add(new SetCardInfo("Ashnod's Harvester", 117, Rarity.UNCOMMON, mage.cards.a.AshnodsHarvester.class));
|
||||
cards.add(new SetCardInfo("Ashnod, Flesh Mechanist", 84, Rarity.RARE, mage.cards.a.AshnodFleshMechanist.class));
|
||||
cards.add(new SetCardInfo("Audacity", 169, Rarity.UNCOMMON, mage.cards.a.Audacity.class));
|
||||
|
|
Loading…
Reference in a new issue