mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fixed Font of Agonies not targeting
This commit is contained in:
parent
90418ddafd
commit
b01ce6780e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue