mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
* Scourglass - Added mising sacrifice source cost.
This commit is contained in:
parent
fec2e0b0ff
commit
395997c66f
1 changed files with 6 additions and 2 deletions
|
@ -28,10 +28,12 @@
|
|||
package mage.sets.shardsofalara;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.abilities.condition.common.IsStepCondition;
|
||||
import mage.abilities.costs.common.SacrificeSourceCost;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.decorator.ConditionalActivatedAbility;
|
||||
import mage.abilities.effects.common.DestroyAllEffect;
|
||||
|
@ -61,8 +63,10 @@ public class Scourglass extends CardImpl {
|
|||
this.color.setWhite(true);
|
||||
|
||||
// {tap}, Sacrifice Scourglass: Destroy all permanents except for artifacts and lands. Activate this ability only during your upkeep.
|
||||
this.addAbility(new ConditionalActivatedAbility(Zone.BATTLEFIELD,
|
||||
new DestroyAllEffect(filter), new TapSourceCost(), new IsStepCondition(PhaseStep.UPKEEP), null));
|
||||
Ability ability = new ConditionalActivatedAbility(Zone.BATTLEFIELD,
|
||||
new DestroyAllEffect(filter), new TapSourceCost(), new IsStepCondition(PhaseStep.UPKEEP), null);
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
public Scourglass(final Scourglass card) {
|
||||
|
|
Loading…
Reference in a new issue