[BRO] Implement Saheeli, Filigree Master (#9735)

* [BRO] Implement Saheeli, Filigree Master

* Add some comment text to Saheeli, Filigree Master's emblem
This commit is contained in:
PurpleCrowbar 2022-11-06 13:43:33 +00:00 committed by GitHub
parent 71a718ee72
commit 63c1325f37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1,32 @@
package mage.game.command.emblems;
import mage.abilities.Ability;
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() {
this.setName("Emblem Saheeli");
this.setExpansionSetCodeForImage("BRO");
Ability ability = new SimpleStaticAbility(
Zone.COMMAND,
new BoostControlledEffect(
1, 1, Duration.EndOfGame,
StaticFilters.FILTER_PERMANENT_ARTIFACT_CREATURE
).setText("Artifact creatures you control get +1/+1")
);
ability.addEffect(new SpellsCostReductionControllerEffect(StaticFilters.FILTER_CARD_ARTIFACT, 1)
.setText("Artifact spells you cast cost {1} less to cast"));
this.getAbilities().add(ability);
}
}