Fixed Vampire Hexmage. Fixed Issue 159.

This commit is contained in:
magenoxx 2011-06-13 21:37:58 +04:00
parent 1eaace259c
commit 198e75361b

View file

@ -38,6 +38,7 @@ import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.SacrificeSourceCost; import mage.abilities.costs.common.SacrificeSourceCost;
import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.OneShotEffect;
import mage.abilities.keyword.FirstStrikeAbility;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.game.Game; import mage.game.Game;
import mage.game.permanent.Permanent; import mage.game.permanent.Permanent;
@ -45,7 +46,7 @@ import mage.target.TargetPermanent;
/** /**
* *
* @author Loki * @author Loki, nantuko
*/ */
public class VampireHexmage extends CardImpl<VampireHexmage> { public class VampireHexmage extends CardImpl<VampireHexmage> {
@ -59,6 +60,8 @@ public class VampireHexmage extends CardImpl<VampireHexmage> {
this.power = new MageInt(2); this.power = new MageInt(2);
this.toughness = new MageInt(1); this.toughness = new MageInt(1);
this.addAbility(FirstStrikeAbility.getInstance());
SimpleActivatedAbility vampireHexmageAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new VampireHexmageEffect(), new SacrificeSourceCost()); SimpleActivatedAbility vampireHexmageAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new VampireHexmageEffect(), new SacrificeSourceCost());
vampireHexmageAbility.addTarget(new TargetPermanent()); vampireHexmageAbility.addTarget(new TargetPermanent());
this.addAbility(vampireHexmageAbility); this.addAbility(vampireHexmageAbility);
@ -108,4 +111,9 @@ class VampireHexmageEffect extends OneShotEffect<VampireHexmageEffect> {
return false; return false;
} }
@Override
public String getText(Ability source) {
return "Remove all counters from target permanent";
}
} }