foul-magics/Mage/src/main/java/mage/game/command/emblems/SaheeliFiligreeMasterEmblem.java

42 lines
1.5 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package mage.game.command.emblems;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.effects.common.cost.SpellsCostReductionControllerEffect;
import mage.constants.Duration;
import mage.constants.Zone;
import mage.filter.StaticFilters;
import mage.game.command.Emblem;
/**
* @author PurpleCrowbar
*/
public final class SaheeliFiligreeMasterEmblem extends Emblem {
// 4: You get an emblem with "Artifact creatures you control get +1/+1" and "Artifact spells you cast cost {1} less to cast."
public SaheeliFiligreeMasterEmblem() {
super("Emblem Saheeli");
this.getAbilities().add(new SimpleStaticAbility(
Zone.COMMAND,
new BoostControlledEffect(
1, 1, Duration.EndOfGame,
StaticFilters.FILTER_PERMANENT_ARTIFACT_CREATURE
).setText("Artifact creatures you control get +1/+1")
));
this.getAbilities().add(new SimpleStaticAbility(
Zone.COMMAND,
new SpellsCostReductionControllerEffect(
StaticFilters.FILTER_CARD_ARTIFACT, 1
).setText("Artifact spells you cast cost {1} less to cast")
));
}
private SaheeliFiligreeMasterEmblem(final SaheeliFiligreeMasterEmblem card) {
super(card);
}
@Override
public SaheeliFiligreeMasterEmblem copy() {
return new SaheeliFiligreeMasterEmblem(this);
}
}