mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Nissa's Judgment - Fixed that the second ability was not handled targeted.
This commit is contained in:
parent
7ef0a0a7f0
commit
56997ae871
1 changed files with 3 additions and 3 deletions
|
@ -53,10 +53,10 @@ import mage.target.targetpointer.SecondTargetPointer;
|
||||||
*/
|
*/
|
||||||
public class NissasJudgment extends CardImpl {
|
public class NissasJudgment extends CardImpl {
|
||||||
|
|
||||||
private final static FilterCreaturePermanent filter = new FilterCreaturePermanent("creature an opponent controls");
|
private final static FilterCreaturePermanent FILTER = new FilterCreaturePermanent("creature an opponent controls");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(new ControllerPredicate(TargetController.OPPONENT));
|
FILTER.add(new ControllerPredicate(TargetController.OPPONENT));
|
||||||
}
|
}
|
||||||
|
|
||||||
public NissasJudgment(UUID ownerId) {
|
public NissasJudgment(UUID ownerId) {
|
||||||
|
@ -71,7 +71,7 @@ public class NissasJudgment extends CardImpl {
|
||||||
// Choose up to one target creature an opponent controls. Each creature you control with a +1/+1 counter on it deals damage equal to its power to that creature.
|
// Choose up to one target creature an opponent controls. Each creature you control with a +1/+1 counter on it deals damage equal to its power to that creature.
|
||||||
effect = new NissasJudgmentEffect();
|
effect = new NissasJudgmentEffect();
|
||||||
effect.setTargetPointer(new SecondTargetPointer()); // First target is used by Support
|
effect.setTargetPointer(new SecondTargetPointer()); // First target is used by Support
|
||||||
getSpellAbility().addTarget(new TargetCreaturePermanent(0, 1, filter, true));
|
getSpellAbility().addTarget(new TargetCreaturePermanent(0, 1, FILTER, false));
|
||||||
getSpellAbility().addEffect(effect);
|
getSpellAbility().addEffect(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue