@Override public GainAbilitySpellsEffect copy() { return new GainAbilitySpellsEffect(this); }
public PestilentSpirit(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}"); this.subtype.add(SubType.SPIRIT); this.power = new MageInt(3); this.toughness = new MageInt(2); // Menace this.addAbility(new MenaceAbility()); // Deathtouch this.addAbility(DeathtouchAbility.getInstance()); // Instant and sorcery spells you control have deathtouch. this.addAbility(new SimpleStaticAbility( Zone.BATTLEFIELD, new GainAbilitySpellsEffect( DeathtouchAbility.getInstance(), filter ).setText("Instant and sorcery spells you control have deathtouch") )); }
public FiresongAndSunspeaker(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{R}{W}"); this.addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.MINOTAUR); this.subtype.add(SubType.CLERIC); this.power = new MageInt(4); this.toughness = new MageInt(6); // Red instant and sorcery spells you control have lifelink. Effect effect = new GainAbilitySpellsEffect(LifelinkAbility.getInstance(), filter); effect.setText("Red instant and sorcery spells you control have lifelink"); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect)); // Whenever a white instant or sorcery spell causes you to gain life, Firesong and Sunspeaker deals 3 damage to target creature or player. this.addAbility(new FiresongAndSunspeakerTriggeredAbility()); }
public SoulfireGrandMaster(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.MONK); this.power = new MageInt(2); this.toughness = new MageInt(2); // Lifelink this.addAbility(LifelinkAbility.getInstance()); // Instant and sorcery spells you control have lifelink. Effect effect = new GainAbilitySpellsEffect(LifelinkAbility.getInstance(), filter); effect.setText("Instant and sorcery spells you control have lifelink"); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect)); // {2}{U/R}{U/R}: The next time you cast an instant or sorcery spell from your hand this turn, put that card into your hand instead of your graveyard as it resolves. this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new SoulfireGrandMasterCastFromHandReplacementEffect(), new ManaCostsImpl("{2}{U/R}{U/R}"))); }