mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
[CMR] Implemented Briarblade Adept
This commit is contained in:
parent
02a39658bd
commit
9ff1146646
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/b/BriarbladeAdept.java
Normal file
47
Mage.Sets/src/mage/cards/b/BriarbladeAdept.java
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
package mage.cards.b;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.Ability;
|
||||||
|
import mage.abilities.common.AttacksTriggeredAbility;
|
||||||
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||||
|
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||||
|
import mage.abilities.keyword.EncoreAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
import mage.target.common.TargetOpponentsCreaturePermanent;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class BriarbladeAdept extends CardImpl {
|
||||||
|
|
||||||
|
public BriarbladeAdept(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}");
|
||||||
|
|
||||||
|
this.subtype.add(SubType.ELF);
|
||||||
|
this.subtype.add(SubType.ASSASSIN);
|
||||||
|
this.power = new MageInt(3);
|
||||||
|
this.toughness = new MageInt(4);
|
||||||
|
|
||||||
|
// Whenever Briarblade Adept attacks, target creature an opponent controls get -1/-1 until end of turn.
|
||||||
|
Ability ability = new AttacksTriggeredAbility(new BoostTargetEffect(-1, -1), false);
|
||||||
|
ability.addTarget(new TargetOpponentsCreaturePermanent());
|
||||||
|
this.addAbility(ability);
|
||||||
|
|
||||||
|
// Encore {3}{B}
|
||||||
|
this.addAbility(new EncoreAbility(new ManaCostsImpl<>("{3}{B}")));
|
||||||
|
}
|
||||||
|
|
||||||
|
private BriarbladeAdept(final BriarbladeAdept card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BriarbladeAdept copy() {
|
||||||
|
return new BriarbladeAdept(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -28,6 +28,7 @@ public final class CommanderLegends extends ExpansionSet {
|
||||||
this.maxCardNumberInBooster = 361;
|
this.maxCardNumberInBooster = 361;
|
||||||
|
|
||||||
cards.add(new SetCardInfo("Alena, Kessig Trapper", 160, Rarity.UNCOMMON, mage.cards.a.AlenaKessigTrapper.class));
|
cards.add(new SetCardInfo("Alena, Kessig Trapper", 160, Rarity.UNCOMMON, mage.cards.a.AlenaKessigTrapper.class));
|
||||||
|
cards.add(new SetCardInfo("Briarblade Adept", 111, Rarity.COMMON, mage.cards.b.BriarbladeAdept.class));
|
||||||
cards.add(new SetCardInfo("Command Tower", 350, Rarity.COMMON, mage.cards.c.CommandTower.class));
|
cards.add(new SetCardInfo("Command Tower", 350, Rarity.COMMON, mage.cards.c.CommandTower.class));
|
||||||
cards.add(new SetCardInfo("Commander's Sphere", 306, Rarity.COMMON, mage.cards.c.CommandersSphere.class));
|
cards.add(new SetCardInfo("Commander's Sphere", 306, Rarity.COMMON, mage.cards.c.CommandersSphere.class));
|
||||||
cards.add(new SetCardInfo("Confiscate", 62, Rarity.UNCOMMON, mage.cards.c.Confiscate.class));
|
cards.add(new SetCardInfo("Confiscate", 62, Rarity.UNCOMMON, mage.cards.c.Confiscate.class));
|
||||||
|
|
Loading…
Reference in a new issue