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