mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[J25] Phantasmal Shieldback
This commit is contained in:
parent
1bf56652ac
commit
6b4812fa25
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/p/PhantasmalShieldback.java
Normal file
43
Mage.Sets/src/mage/cards/p/PhantasmalShieldback.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.BecomesTargetSourceTriggeredAbility;
|
||||
import mage.abilities.common.DiesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.SacrificeSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author notgreat
|
||||
*/
|
||||
public final class PhantasmalShieldback extends CardImpl {
|
||||
|
||||
public PhantasmalShieldback(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}");
|
||||
|
||||
this.subtype.add(SubType.TURTLE);
|
||||
this.subtype.add(SubType.ILLUSION);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// When Phantasmal Shieldback becomes the target of a spell or ability, sacrifice it.
|
||||
this.addAbility(new BecomesTargetSourceTriggeredAbility(new SacrificeSourceEffect()));
|
||||
|
||||
// When Phantasmal Shieldback dies, draw a card.
|
||||
this.addAbility(new DiesSourceTriggeredAbility(new DrawCardSourceControllerEffect(1), false));
|
||||
}
|
||||
|
||||
private PhantasmalShieldback(final PhantasmalShieldback card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PhantasmalShieldback copy() {
|
||||
return new PhantasmalShieldback(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -495,6 +495,7 @@ public final class FoundationsJumpstart extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Persistent Specimen", 473, Rarity.COMMON, mage.cards.p.PersistentSpecimen.class));
|
||||
cards.add(new SetCardInfo("Pestermite", 343, Rarity.COMMON, mage.cards.p.Pestermite.class));
|
||||
cards.add(new SetCardInfo("Phantasmal Form", 344, Rarity.COMMON, mage.cards.p.PhantasmalForm.class));
|
||||
cards.add(new SetCardInfo("Phantasmal Shieldback", 8, Rarity.UNCOMMON, mage.cards.p.PhantasmalShieldback.class));
|
||||
cards.add(new SetCardInfo("Phantom Ninja", 345, Rarity.COMMON, mage.cards.p.PhantomNinja.class));
|
||||
cards.add(new SetCardInfo("Pharika's Chosen", 474, Rarity.COMMON, mage.cards.p.PharikasChosen.class));
|
||||
cards.add(new SetCardInfo("Pigment Storm", 585, Rarity.COMMON, mage.cards.p.PigmentStorm.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue