Fix a duplicate effect on Lady Evangela and some tooltip text issues.

This commit is contained in:
LoneFox 2015-09-07 18:48:17 +03:00
parent a0ba619b87
commit edefe229df
6 changed files with 25 additions and 17 deletions

View file

@ -91,4 +91,9 @@ class GateToPhyrexiaAbility extends LimitedTimesPerTurnActivatedAbility {
}
return super.canActivate(playerId, game);
}
@Override
public String getRule() {
return "Sacrifice a creature: Destroy target artifact. Activate this ability only during your upkeep and only once each turn.";
}
}

View file

@ -73,7 +73,7 @@ class RecallEffect extends OneShotEffect {
public RecallEffect() {
super(Outcome.ReturnToHand);
this.staticText = "Discard X cards, then return a card from your graveyard to your hand for each card discarded this way. ";
this.staticText = "Discard X cards, then return a card from your graveyard to your hand for each card discarded this way";
}
public RecallEffect(final RecallEffect effect) {

View file

@ -96,6 +96,7 @@ class TheWretchedEffect extends OneShotEffect {
TheWretchedEffect() {
super(Outcome.Benefit);
staticText = "gain control of all creatures blocking {this} for as long as you control {this}";
}
TheWretchedEffect(final TheWretchedEffect effect) {

View file

@ -55,7 +55,7 @@ import mage.game.Game;
*/
public class IvoryGuardians extends CardImpl {
private static final FilterCard filter = new FilterCard();
private static final FilterCard filter = new FilterCard("red");
static {
filter.add(new ColorPredicate(ObjectColor.RED));

View file

@ -61,7 +61,6 @@ public class LadyEvangela extends CardImpl {
Effect effect = new PreventDamageByTargetEffect(Duration.EndOfTurn, true);
effect.setText("Prevent all combat damage that would be dealt by target creature this turn.");
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{W}{B}"));
ability.addEffect(effect);
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);

View file

@ -31,6 +31,7 @@ import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
import mage.abilities.keyword.TrampleAbility;
@ -64,7 +65,9 @@ public class KoboldDrillSergeant extends CardImpl {
// Other Kobold creatures you control get +0/+1 and have trample.
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 1, Duration.WhileOnBattlefield, filter, true));
ability.addEffect(new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.WhileOnBattlefield, filter, true));
Effect effect = new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.WhileOnBattlefield, filter, true);
effect.setText("and have trample");
ability.addEffect(effect);
this.addAbility(ability);
}