forked from External/mage
48 lines
1.5 KiB
Java
48 lines
1.5 KiB
Java
|
|
package mage.cards.v;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.Ability;
|
|
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
|
import mage.abilities.effects.common.ReturnToHandTargetEffect;
|
|
import mage.abilities.keyword.FlashAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.constants.SuperType;
|
|
import mage.target.common.TargetSpellOrPermanent;
|
|
|
|
/**
|
|
*
|
|
* @author LevelX2
|
|
*/
|
|
public final class VenserShaperSavant extends CardImpl {
|
|
|
|
public VenserShaperSavant(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{U}{U}");
|
|
addSuperType(SuperType.LEGENDARY);
|
|
this.subtype.add(SubType.HUMAN);
|
|
this.subtype.add(SubType.WIZARD);
|
|
|
|
this.power = new MageInt(2);
|
|
this.toughness = new MageInt(2);
|
|
|
|
// Flash
|
|
this.addAbility(FlashAbility.getInstance());
|
|
// When Venser, Shaper Savant enters the battlefield, return target spell or permanent to its owner's hand.
|
|
Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), false);
|
|
ability.addTarget(new TargetSpellOrPermanent());
|
|
this.addAbility(ability);
|
|
}
|
|
|
|
public VenserShaperSavant(final VenserShaperSavant card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public VenserShaperSavant copy() {
|
|
return new VenserShaperSavant(this);
|
|
}
|
|
}
|