mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
add missing target
This commit is contained in:
parent
d88b373df2
commit
2f13b536b0
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,7 @@ import mage.abilities.effects.common.LoseLifeTargetEffect;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.filter.Filter;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.target.common.TargetOpponent;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -64,6 +65,7 @@ public class ScrollOfGriselbrand extends CardImpl<ScrollOfGriselbrand> {
|
|||
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new DiscardTargetEffect(1), new GenericManaCost(1));
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
ability.addEffect(new ConditionalOneShotEffect(new LoseLifeTargetEffect(3), new ControlsPermanentCondition(filter), "If you control a Demon, that player loses 3 life"));
|
||||
ability.addTarget(new TargetOpponent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue