mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
refactor: SimpleActivatedAbility default zone (separate lines cont.)
This commit is contained in:
parent
b9678c65e3
commit
9e9b863b60
8 changed files with 0 additions and 8 deletions
|
|
@ -26,7 +26,6 @@ public final class AuraFracture extends CardImpl {
|
||||||
|
|
||||||
// Sacrifice a land: Destroy target enchantment.
|
// Sacrifice a land: Destroy target enchantment.
|
||||||
Ability ability = new SimpleActivatedAbility(
|
Ability ability = new SimpleActivatedAbility(
|
||||||
Zone.BATTLEFIELD,
|
|
||||||
new DestroyTargetEffect(),
|
new DestroyTargetEffect(),
|
||||||
new SacrificeTargetCost(StaticFilters.FILTER_LAND));
|
new SacrificeTargetCost(StaticFilters.FILTER_LAND));
|
||||||
ability.addTarget(new TargetEnchantmentPermanent());
|
ability.addTarget(new TargetEnchantmentPermanent());
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,6 @@ public final class SanctumSpirit extends CardImpl {
|
||||||
// Discard a historic card: Sanctum Spirit gains indestructible until end of turn.
|
// Discard a historic card: Sanctum Spirit gains indestructible until end of turn.
|
||||||
this.addAbility(
|
this.addAbility(
|
||||||
new SimpleActivatedAbility(
|
new SimpleActivatedAbility(
|
||||||
Zone.BATTLEFIELD,
|
|
||||||
new GainAbilitySourceEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn),
|
new GainAbilitySourceEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn),
|
||||||
new DiscardCardCost(new FilterHistoricCard())
|
new DiscardCardCost(new FilterHistoricCard())
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@ public final class ThunderTotem extends CardImpl {
|
||||||
|
|
||||||
// {1}{W}{W}: Thunder Totem becomes a 2/2 white Spirit artifact creature with flying and first strike until end of turn.
|
// {1}{W}{W}: Thunder Totem becomes a 2/2 white Spirit artifact creature with flying and first strike until end of turn.
|
||||||
this.addAbility(new SimpleActivatedAbility(
|
this.addAbility(new SimpleActivatedAbility(
|
||||||
Zone.BATTLEFIELD,
|
|
||||||
new BecomesCreatureSourceEffect(new ThunderTotemToken(), CardType.ARTIFACT, Duration.EndOfTurn),
|
new BecomesCreatureSourceEffect(new ThunderTotemToken(), CardType.ARTIFACT, Duration.EndOfTurn),
|
||||||
new ManaCostsImpl<>("{1}{W}{W}")));
|
new ManaCostsImpl<>("{1}{W}{W}")));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,6 @@ public final class TidewaterMinion extends CardImpl {
|
||||||
|
|
||||||
// {4}: Tidewater Minion loses defender until end of turn.
|
// {4}: Tidewater Minion loses defender until end of turn.
|
||||||
this.addAbility(new SimpleActivatedAbility(
|
this.addAbility(new SimpleActivatedAbility(
|
||||||
Zone.BATTLEFIELD,
|
|
||||||
new LoseAbilitySourceEffect(DefenderAbility.getInstance(), Duration.EndOfTurn),
|
new LoseAbilitySourceEffect(DefenderAbility.getInstance(), Duration.EndOfTurn),
|
||||||
new ManaCostsImpl<>("{4}")));
|
new ManaCostsImpl<>("{4}")));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,6 @@ public final class TorpidMoloch extends CardImpl {
|
||||||
|
|
||||||
// Sacrifice three lands: Torpid Moloch loses defender until end of turn.
|
// Sacrifice three lands: Torpid Moloch loses defender until end of turn.
|
||||||
this.addAbility(new SimpleActivatedAbility(
|
this.addAbility(new SimpleActivatedAbility(
|
||||||
Zone.BATTLEFIELD,
|
|
||||||
new LoseAbilitySourceEffect(DefenderAbility.getInstance(), Duration.EndOfTurn),
|
new LoseAbilitySourceEffect(DefenderAbility.getInstance(), Duration.EndOfTurn),
|
||||||
new SacrificeTargetCost(3, StaticFilters.FILTER_LANDS)));
|
new SacrificeTargetCost(3, StaticFilters.FILTER_LANDS)));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@ public final class TrenchingSteed extends CardImpl {
|
||||||
|
|
||||||
// Sacrifice a land: Trenching Steed gets +0/+3 until end of turn.
|
// Sacrifice a land: Trenching Steed gets +0/+3 until end of turn.
|
||||||
this.addAbility(new SimpleActivatedAbility(
|
this.addAbility(new SimpleActivatedAbility(
|
||||||
Zone.BATTLEFIELD,
|
|
||||||
new BoostSourceEffect(0, 3, Duration.EndOfTurn),
|
new BoostSourceEffect(0, 3, Duration.EndOfTurn),
|
||||||
new SacrificeTargetCost(StaticFilters.FILTER_LAND)));
|
new SacrificeTargetCost(StaticFilters.FILTER_LAND)));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ public final class TroubledHealer extends CardImpl {
|
||||||
|
|
||||||
// Sacrifice a land: Prevent the next 2 damage that would be dealt to any target this turn.
|
// Sacrifice a land: Prevent the next 2 damage that would be dealt to any target this turn.
|
||||||
Ability ability = new SimpleActivatedAbility(
|
Ability ability = new SimpleActivatedAbility(
|
||||||
Zone.BATTLEFIELD,
|
|
||||||
new PreventDamageToTargetEffect(Duration.EndOfTurn, 2),
|
new PreventDamageToTargetEffect(Duration.EndOfTurn, 2),
|
||||||
new SacrificeTargetCost(StaticFilters.FILTER_LAND));
|
new SacrificeTargetCost(StaticFilters.FILTER_LAND));
|
||||||
ability.addTarget(new TargetAnyTarget());
|
ability.addTarget(new TargetAnyTarget());
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@ public final class TumbleMagnet extends CardImpl {
|
||||||
));
|
));
|
||||||
|
|
||||||
Ability ability = new SimpleActivatedAbility(
|
Ability ability = new SimpleActivatedAbility(
|
||||||
Zone.BATTLEFIELD,
|
|
||||||
new TapTargetEffect(),
|
new TapTargetEffect(),
|
||||||
new TapSourceCost()
|
new TapSourceCost()
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue