Fixed Sinuous Striker's missing discard cost for eternalize ability

This commit is contained in:
fireshoes 2017-07-08 21:04:45 -05:00
parent 198b0891ab
commit 612a15d6c8

View file

@ -12,9 +12,12 @@ import mage.constants.Duration;
import mage.constants.Zone;
import java.util.UUID;
import mage.abilities.costs.common.DiscardCardCost;
public class SinuousStriker extends CardImpl {
private static String rule = "Eternalize - {3}{U}{U}, Discard a card <i>({3}{U}{U}, Discard a card, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie";
public SinuousStriker(UUID ownerId, CardSetInfo cardSetInfo){
super(ownerId, cardSetInfo, new CardType[]{CardType.CREATURE}, "{2}{U}");
subtype.add("Naga");
@ -26,8 +29,10 @@ public class SinuousStriker extends CardImpl {
//U : Sinious Striker gets +1/-1 until end of turn
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(+1, -1, Duration.EndOfTurn), new ManaCostsImpl("{U}")));
//Eternalize 3UU
this.addAbility(new EternalizeAbility(new ManaCostsImpl("{3}{U}{U}"), this));
//Eternalize 3UU, Discard a card
EternalizeAbility ability = new EternalizeAbility(new ManaCostsImpl("{3}{U}{U}"), this, rule);
ability.addCost(new DiscardCardCost());
this.addAbility(ability);
}
public SinuousStriker(final SinuousStriker sinuousStriker){