Fix the tooltip texts of Matca Rioters and Mirari's Wake

This commit is contained in:
LoneFox 2015-07-12 10:34:36 +03:00
parent 6c2bb01544
commit 18d1d63cc0
2 changed files with 9 additions and 4 deletions

View file

@ -29,14 +29,15 @@ package mage.sets.conflux;
import java.util.UUID;
import mage.constants.CardType;
import mage.constants.Rarity;
import mage.MageInt;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.dynamicvalue.common.DomainValue;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.Rarity;
import mage.constants.Zone;
/**
@ -55,7 +56,9 @@ public class MatcaRioters extends CardImpl {
this.toughness = new MageInt(0);
// Domain - Matca Rioters's power and toughness are each equal to the number of basic land types among lands you control.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(new DomainValue(), new DomainValue(), Duration.EndOfGame)));
Effect effect = new BoostSourceEffect(new DomainValue(), new DomainValue(), Duration.EndOfGame);
effect.setText("Domain - {this}'s power and toughness are each equal to the number of basic land types among lands you control.");
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
}
public MatcaRioters(final MatcaRioters card) {

View file

@ -54,8 +54,10 @@ public class MirarisWake extends CardImpl {
// Creatures you control get +1/+1.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1,1,Duration.WhileOnBattlefield)));
// Whenever you tap a land for mana, add one mana to your mana pool of any type that land produced.
AddManaOfAnyTypeProducedEffect effect = new AddManaOfAnyTypeProducedEffect();
effect.setText("add one mana to your mana pool of any type that land produced");
this.addAbility(new TapForManaAllTriggeredManaAbility(
new AddManaOfAnyTypeProducedEffect(),
effect,
new FilterControlledLandPermanent("you tap a land"),
SetTargetPointer.PERMANENT));