This commit is contained in:
jeffwadsworth 2020-06-04 11:08:32 -05:00
parent 7594c4144c
commit 5dab330a9d

View file

@ -34,7 +34,8 @@ public final class HaldanAvidArcanist extends CardImpl {
// Partner with Pako, Arcane Retriever // Partner with Pako, Arcane Retriever
this.addAbility(new PartnerWithAbility("Pako, Arcane Retriever")); this.addAbility(new PartnerWithAbility("Pako, Arcane Retriever"));
// You may play noncreature cards from exile with fetch counters on them if you exiled them, and you may spend mana as though it were mana of any color to cast those spells. // You may play noncreature cards from exile with fetch counters on them if you
// exiled them, and you may spend mana as though it were mana of any color to cast those spells.
Ability ability = new SimpleStaticAbility(new HaldanAvidArcanistCastFromExileEffect()); Ability ability = new SimpleStaticAbility(new HaldanAvidArcanistCastFromExileEffect());
ability.addEffect(new HaldanAvidArcanistSpendAnyManaEffect()); ability.addEffect(new HaldanAvidArcanistSpendAnyManaEffect());
this.addAbility(ability); this.addAbility(ability);
@ -56,7 +57,9 @@ public final class HaldanAvidArcanist extends CardImpl {
return false; return false;
} }
Card card = game.getCard(sourceId); Card card = game.getCard(sourceId);
return card != null && !card.isCreature() && card.getCounters(game).containsKey(CounterType.FETCH); return card != null
&& !card.isCreature()
&& card.getCounters(game).containsKey(CounterType.FETCH);
} }
} }
@ -110,7 +113,7 @@ class HaldanAvidArcanistSpendAnyManaEffect extends AsThoughEffectImpl implements
@Override @Override
public boolean applies(UUID objectId, Ability source, UUID affectedControllerId, Game game) { public boolean applies(UUID objectId, Ability source, UUID affectedControllerId, Game game) {
return HaldanAvidArcanist.checkCard(objectId, source, affectedControllerId, game); return true;
} }
@Override @Override