forked from External/mage
refactor: clean up static filters for sacrifice targets (#12120)
* simplify sacrifice target filters, part 1 * minor cleanup * adjust SacrificeXTargetCost * adjust Arctic Merfolk * more cleanup * remove unused * adjust filters not used for sacrifice * fix Hew the Entwood * fix Nahiri's Lithoforming * remove unused * remove another * cleanup more * fix MegatronDestructiveForce * remove next * next batch of replacements * remove next * rename filter to match text * finish removing * use existing static filter
This commit is contained in:
parent
5c9d1cd205
commit
8853e7d875
372 changed files with 489 additions and 712 deletions
|
|
@ -27,7 +27,7 @@ public final class ObNixilisOfTheBlackOathEmblem extends Emblem {
|
|||
Effect effect = new GainLifeEffect(xValue);
|
||||
effect.setText("You gain X life");
|
||||
Ability ability = new SimpleActivatedAbility(Zone.COMMAND, effect, new ManaCostsImpl<>("{1}{B}"));
|
||||
ability.addCost(new SacrificeTargetCost(StaticFilters.FILTER_CONTROLLED_CREATURE_SHORT_TEXT));
|
||||
ability.addCost(new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_CREATURE));
|
||||
effect = new DrawCardSourceControllerEffect(xValue);
|
||||
effect.setText("and draw X cards, where X is the sacrificed creature's power");
|
||||
ability.addEffect(effect);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue