mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
small nonfunctional change to Mathas, Fiend Seeker
This commit is contained in:
parent
c264817f4e
commit
ad1c3ae79a
1 changed files with 4 additions and 6 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue