small nonfunctional change to Mathas, Fiend Seeker

This commit is contained in:
Evan Kranzler 2017-09-21 14:59:47 -04:00
parent c264817f4e
commit ad1c3ae79a

View file

@ -83,9 +83,7 @@ public class MathasFiendSeeker extends CardImpl {
ability.addTarget(new TargetCreaturePermanent(filter));
Ability ability2 = new DiesTriggeredAbility(new DrawCardAllEffect(1, TargetController.OPPONENT));
ability2.addEffect(new OpponentsGainLifeEffect());
Effect effect = new MathasFiendSeekerGainAbilityEffect(
ability2,
Duration.Custom, rule);
Effect effect = new MathasFiendSeekerGainAbilityEffect(ability2, Duration.Custom, rule);
ability.addEffect(effect);
this.addAbility(ability);
}
@ -112,8 +110,8 @@ class MathasFiendSeekerGainAbilityEffect extends GainAbilityTargetEffect {
@Override
public boolean isInactive(Ability source, Game game) {
Permanent land = game.getPermanent(this.targetPointer.getFirst(game, source));
if (land != null && land.getCounters(game).getCount(CounterType.BOUNTY) < 1) {
Permanent creature = game.getPermanent(this.targetPointer.getFirst(game, source));
if (creature != null && creature.getCounters(game).getCount(CounterType.BOUNTY) < 1) {
return true;
}
return false;
@ -129,7 +127,7 @@ class OpponentsGainLifeEffect extends OneShotEffect {
public OpponentsGainLifeEffect() {
super(Outcome.GainLife);
staticText = "Each opponent gains 2 life.";
staticText = "and gains 2 life.";
}
public OpponentsGainLifeEffect(final OpponentsGainLifeEffect effect) {