mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fix a duplicate effect on Lady Evangela and some tooltip text issues.
This commit is contained in:
parent
a0ba619b87
commit
edefe229df
6 changed files with 25 additions and 17 deletions
|
@ -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.";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue