Merge pull request #2665 from JRHerlehy/master

Fix for #2661 - Trench Wurm
This commit is contained in:
Justin Herlehy 2016-12-07 18:53:27 -08:00 committed by GitHub
commit d0ca37f448

View file

@ -27,10 +27,10 @@
*/
package mage.cards.t;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DestroyTargetEffect;
import mage.cards.CardImpl;
@ -39,6 +39,8 @@ import mage.constants.CardType;
import mage.constants.Zone;
import mage.target.common.TargetNonBasicLandPermanent;
import java.util.UUID;
/**
*
* @author michael.napoleon@gmail.com
@ -54,6 +56,7 @@ public class TrenchWurm extends CardImpl {
// {2}{R}, {tap}: Destroy target nonbasic land.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{2}{R}"));
ability.addTarget(new TargetNonBasicLandPermanent());
ability.addCost(new TapSourceCost());
this.addAbility(ability);
}