added ruletext comments

This commit is contained in:
igoudt 2017-05-25 12:12:56 +02:00
parent 542a0122fc
commit 30fb593724
2 changed files with 6 additions and 0 deletions

View file

@ -18,9 +18,12 @@ public class KaerveksSpite extends CardImpl {
public KaerveksSpite(UUID ownerId, CardSetInfo cardSetInfo) { public KaerveksSpite(UUID ownerId, CardSetInfo cardSetInfo) {
super(ownerId, cardSetInfo, new CardType[]{CardType.INSTANT}, "{B}{B}{B}"); super(ownerId, cardSetInfo, new CardType[]{CardType.INSTANT}, "{B}{B}{B}");
//As an additional cost to cast Kaervek's Spite, sacrifice all permanents you control and discard your hand.
this.getSpellAbility().addCost(new SacrificeAllCost(permanentsYouControl)); this.getSpellAbility().addCost(new SacrificeAllCost(permanentsYouControl));
this.getSpellAbility().addCost(new DiscardHandCost()); this.getSpellAbility().addCost(new DiscardHandCost());
//Target player loses 5 life.
Effect effect = new LoseLifeTargetEffect(5); Effect effect = new LoseLifeTargetEffect(5);
this.getSpellAbility().addEffect(effect); this.getSpellAbility().addEffect(effect);
} }

View file

@ -24,9 +24,12 @@ public class ViashivanDragon extends CardImpl {
power = new MageInt(4); power = new MageInt(4);
toughness = new MageInt(4); toughness = new MageInt(4);
//Flying
addAbility(FlyingAbility.getInstance()); addAbility(FlyingAbility.getInstance());
//{R}: Viashivan Dragon gets +1/+0 until end of turn.
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R))); this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R)));
//{G}: Viashivan Dragon gets +/+1 until end of turn.
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(0, 1, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.G))); this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(0, 1, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.G)));
} }