mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
Created 6 cards. (High probability for minor errors.)
This commit is contained in:
parent
480d8f788a
commit
970979ff0b
1 changed files with 3 additions and 5 deletions
|
@ -44,7 +44,6 @@ import mage.filter.common.FilterControlledCreaturePermanent;
|
|||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.NamePredicate;
|
||||
import mage.target.Target;
|
||||
import mage.target.TargetPermanent;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
|
||||
/**
|
||||
|
@ -70,11 +69,10 @@ public class WormfangDrake extends CardImpl {
|
|||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
|
||||
|
||||
//When Wormfang Drake enters the battlefield, sacrifice it unless you exile a creature you control other than Wormfang Drake.
|
||||
Ability ability1;
|
||||
ability1 = new EntersBattlefieldTriggeredAbility(new SacrificeSourceUnlessPaysEffect(new ExileTargetCost(new TargetControlledPermanent(filter))), true);
|
||||
Target target = new TargetPermanent(filter);
|
||||
Ability ability1 = new EntersBattlefieldTriggeredAbility(new SacrificeSourceUnlessPaysEffect((new ExileTargetCost(new TargetControlledPermanent(filter)))), false);
|
||||
Target target = new TargetControlledPermanent(1,1,filter,true);
|
||||
ability1.addTarget(target);
|
||||
this.addAbility(ability1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue