mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
added ruletext comments
This commit is contained in:
parent
542a0122fc
commit
30fb593724
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue