fixed Font of Agonies not targeting

This commit is contained in:
Evan Kranzler 2019-01-13 11:06:47 -05:00
parent 90418ddafd
commit b01ce6780e

View file

@ -14,6 +14,7 @@ import mage.constants.Zone;
import mage.counters.CounterType; import mage.counters.CounterType;
import mage.game.Game; import mage.game.Game;
import mage.game.events.GameEvent; import mage.game.events.GameEvent;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID; import java.util.UUID;
@ -31,6 +32,7 @@ public final class FontOfAgonies extends CardImpl {
// {1}{B}, Remove four blood counters from Font of Agonies: Destroy target creature. // {1}{B}, Remove four blood counters from Font of Agonies: Destroy target creature.
Ability ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new ManaCostsImpl("{1}{B}")); Ability ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new ManaCostsImpl("{1}{B}"));
ability.addCost(new RemoveCountersSourceCost(CounterType.BLOOD.createInstance(4))); ability.addCost(new RemoveCountersSourceCost(CounterType.BLOOD.createInstance(4)));
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability); this.addAbility(ability);
} }