mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
Implemented Narset of the Ancient Way
This commit is contained in:
parent
f7a78a3783
commit
8e3f029df6
3 changed files with 208 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
package mage.game.command.emblems;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.command.Emblem;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class NarsetOfTheAncientWayEmblem extends Emblem {
|
||||
|
||||
// −6: You get an emblem with "Whenever you cast a noncreature spell, this emblem deals 2 damage to any target."
|
||||
public NarsetOfTheAncientWayEmblem() {
|
||||
this.setName("Emblem Narset");
|
||||
Ability ability = new SpellCastControllerTriggeredAbility(
|
||||
Zone.COMMAND, new DamageTargetEffect(2, "this emblem"),
|
||||
StaticFilters.FILTER_SPELL_A_NON_CREATURE, false, false
|
||||
);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.getAbilities().add(ability);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue