mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[MOM] Implement Zhalfirin Shapecraft
This commit is contained in:
parent
9e3c54dc4d
commit
a0d2d9d766
2 changed files with 38 additions and 0 deletions
37
Mage.Sets/src/mage/cards/z/ZhalfirinShapecraft.java
Normal file
37
Mage.Sets/src/mage/cards/z/ZhalfirinShapecraft.java
Normal file
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.z;
|
||||
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.SetBasePowerToughnessTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ZhalfirinShapecraft extends CardImpl {
|
||||
|
||||
public ZhalfirinShapecraft(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
||||
|
||||
// Target creature has base power and toughness 4/3 until end of turn.
|
||||
this.getSpellAbility().addEffect(new SetBasePowerToughnessTargetEffect(4, 3, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// Draw a card.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("<br>"));
|
||||
}
|
||||
|
||||
private ZhalfirinShapecraft(final ZhalfirinShapecraft card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ZhalfirinShapecraft copy() {
|
||||
return new ZhalfirinShapecraft(this);
|
||||
}
|
||||
}
|
|
@ -180,6 +180,7 @@ public final class MarchOfTheMachine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Yargle and Multani", 256, Rarity.RARE, mage.cards.y.YargleAndMultani.class));
|
||||
cards.add(new SetCardInfo("Zephyr Winder", 328, Rarity.COMMON, mage.cards.z.ZephyrWinder.class));
|
||||
cards.add(new SetCardInfo("Zhalfirin Lancer", 45, Rarity.UNCOMMON, mage.cards.z.ZhalfirinLancer.class));
|
||||
cards.add(new SetCardInfo("Zhalfirin Shapecraft", 87, Rarity.COMMON, mage.cards.z.ZhalfirinShapecraft.class));
|
||||
cards.add(new SetCardInfo("Zimone and Dina", 257, Rarity.MYTHIC, mage.cards.z.ZimoneAndDina.class));
|
||||
|
||||
cards.removeIf(setCardInfo -> unfinished.contains(setCardInfo.getName())); // remove when mechanic is implemented
|
||||
|
|
Loading…
Reference in a new issue