mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Jace, Telepath Unbound - Fixed that the ability of his emblem did not work.
This commit is contained in:
parent
130ec77df1
commit
7bfac64af2
1 changed files with 2 additions and 1 deletions
|
@ -50,6 +50,7 @@ import mage.constants.Outcome;
|
|||
import mage.constants.Rarity;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.FilterSpell;
|
||||
import mage.filter.common.FilterInstantOrSorceryCard;
|
||||
import mage.game.Game;
|
||||
import mage.game.command.Emblem;
|
||||
|
@ -212,7 +213,7 @@ class JaceTelepathUnboundEmblem extends Emblem {
|
|||
this.setName("Emblem - Jace");
|
||||
Effect effect = new PutTopCardOfLibraryIntoGraveTargetEffect(5);
|
||||
effect.setText("target opponent puts the top five cards of his or her library into his or her graveyard");
|
||||
Ability ability = new SpellCastControllerTriggeredAbility(effect, false);
|
||||
Ability ability = new SpellCastControllerTriggeredAbility(Zone.COMMAND, effect, new FilterSpell("a spell"), false, false);
|
||||
ability.addTarget(new TargetOpponent());
|
||||
getAbilities().add(ability);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue