Tokens and command objects reworked (part 2 of 2, tokens/emblems)

This commit is contained in:
Oleg Agafonov 2023-05-08 02:18:42 +04:00
parent 5f55c7c667
commit f2d93f224f
591 changed files with 1368 additions and 4425 deletions

View file

@ -1,4 +1,3 @@
package mage.game.command.emblems;
import mage.MageObject;
@ -15,18 +14,26 @@ import mage.game.events.GameEvent;
import mage.players.Player;
/**
*
* @author spjspj
*/
public final class NarsetTranscendentEmblem extends Emblem {
// "Your opponents can't cast noncreature spells.
public NarsetTranscendentEmblem() {
this.setName("Emblem Narset");
super("Emblem Narset");
this.getAbilities().add(new SimpleStaticAbility(Zone.COMMAND, new NarsetTranscendentCantCastEffect()));
}
private NarsetTranscendentEmblem(final NarsetTranscendentEmblem card) {
super(card);
}
@Override
public NarsetTranscendentEmblem copy() {
return new NarsetTranscendentEmblem(this);
}
}
class NarsetTranscendentCantCastEffect extends ContinuousRuleModifyingEffectImpl {