mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[STX] Implemented Callous Bloodmage
This commit is contained in:
parent
2f4a00e972
commit
9a06c31aa2
2 changed files with 58 additions and 0 deletions
57
Mage.Sets/src/mage/cards/c/CallousBloodmage.java
Normal file
57
Mage.Sets/src/mage/cards/c/CallousBloodmage.java
Normal file
|
@ -0,0 +1,57 @@
|
|||
package mage.cards.c;
|
||||
|
||||
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.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect;
|
||||
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.WitherbloomToken;
|
||||
import mage.target.TargetPlayer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CallousBloodmage extends CardImpl {
|
||||
|
||||
public CallousBloodmage(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}");
|
||||
|
||||
this.subtype.add(SubType.VAMPIRE);
|
||||
this.subtype.add(SubType.WARLOCK);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// When Callous Bloodmage enters the battlefield, choose one —
|
||||
// • Create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life."
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new WitherbloomToken()));
|
||||
|
||||
// • You draw a card and you lose 1 life.
|
||||
Mode mode = new Mode(new DrawCardSourceControllerEffect(1).setText("you draw a card"));
|
||||
mode.addEffect(new LoseLifeSourceControllerEffect(1).concatBy("and"));
|
||||
ability.addMode(mode);
|
||||
|
||||
// • Exile target player's graveyard.
|
||||
mode = new Mode(new ExileGraveyardAllTargetPlayerEffect());
|
||||
mode.addTarget(new TargetPlayer());
|
||||
ability.addMode(mode);
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private CallousBloodmage(final CallousBloodmage card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CallousBloodmage copy() {
|
||||
return new CallousBloodmage(this);
|
||||
}
|
||||
}
|
|
@ -52,6 +52,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Body of Research", 168, Rarity.MYTHIC, mage.cards.b.BodyOfResearch.class));
|
||||
cards.add(new SetCardInfo("Burrog Befuddler", 38, Rarity.COMMON, mage.cards.b.BurrogBefuddler.class));
|
||||
cards.add(new SetCardInfo("Bury in Books", 39, Rarity.COMMON, mage.cards.b.BuryInBooks.class));
|
||||
cards.add(new SetCardInfo("Callous Bloodmage", 66, Rarity.RARE, mage.cards.c.CallousBloodmage.class));
|
||||
cards.add(new SetCardInfo("Campus Guide", 252, Rarity.COMMON, mage.cards.c.CampusGuide.class));
|
||||
cards.add(new SetCardInfo("Charge Through", 124, Rarity.COMMON, mage.cards.c.ChargeThrough.class));
|
||||
cards.add(new SetCardInfo("Clever Lumimancer", 10, Rarity.UNCOMMON, mage.cards.c.CleverLumimancer.class));
|
||||
|
|
Loading…
Reference in a new issue