mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fixed Wording on 2 cards and removed duplicate StaticFilter (#8596)
Closes #6643
This commit is contained in:
parent
bd33191308
commit
d33acc7c80
15 changed files with 14 additions and 18 deletions
|
@ -34,7 +34,7 @@ public final class AngelsTomb extends CardImpl {
|
|||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
effect,
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_A,
|
||||
StaticFilters.FILTER_PERMANENT_A_CREATURE,
|
||||
true)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ public final class AnsweredPrayers extends CardImpl {
|
|||
|
||||
// Whenever a creature enters the battlefield under your control, you gain 1 life. If Answered Prayers isn't a creature, it becomes a 3/3 Angel creature with flying in addition to its other types until end of turn.
|
||||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
new AnsweredPrayersEffect(), StaticFilters.FILTER_PERMANENT_CREATURE_A
|
||||
new AnsweredPrayersEffect(), StaticFilters.FILTER_PERMANENT_A_CREATURE
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class CatharsCrusade extends CardImpl {
|
|||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new AddCountersAllEffect(CounterType.P1P1.createInstance(), new FilterControlledCreaturePermanent()),
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_A,
|
||||
StaticFilters.FILTER_PERMANENT_A_CREATURE,
|
||||
false)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ public final class DecoctionModule extends CardImpl {
|
|||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new GetEnergyCountersControllerEffect(1),
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_A,
|
||||
StaticFilters.FILTER_PERMANENT_A_CREATURE,
|
||||
false)
|
||||
);
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ public final class DreamLeash extends CardImpl {
|
|||
|
||||
// Enchant permanent
|
||||
TargetPermanent auraTarget = new TargetTappedPermanentAsYouCast();
|
||||
auraTarget.withChooseHint("must be tapped");
|
||||
this.getSpellAbility().addTarget(auraTarget);
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.GainControl));
|
||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
|
|
|
@ -30,6 +30,7 @@ public final class EnthrallingHold extends CardImpl {
|
|||
|
||||
// Enchant creature
|
||||
TargetPermanent auraTarget = new TargetTappedPermanentAsYouCast(StaticFilters.FILTER_PERMANENT_CREATURE);
|
||||
auraTarget.withChooseHint("must be tapped");
|
||||
this.getSpellAbility().addTarget(auraTarget);
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.GainControl));
|
||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
|
|
|
@ -65,7 +65,7 @@ public final class KaldraCompleat extends CardImpl {
|
|||
true,
|
||||
false,
|
||||
true,
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_A
|
||||
StaticFilters.FILTER_PERMANENT_A_CREATURE
|
||||
),
|
||||
AttachmentType.EQUIPMENT,
|
||||
Duration.WhileOnBattlefield,
|
||||
|
|
|
@ -33,7 +33,7 @@ public final class LeylineOfVitality extends CardImpl {
|
|||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new GainLifeEffect(1),
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_A,
|
||||
StaticFilters.FILTER_PERMANENT_A_CREATURE,
|
||||
true)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ public final class NurturingPresence extends CardImpl {
|
|||
new EntersBattlefieldControlledTriggeredAbility(
|
||||
new BoostSourceEffect(1, 1, Duration.EndOfTurn)
|
||||
.setText("this creature gets +1/+1 until end of turn"),
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_A
|
||||
StaticFilters.FILTER_PERMANENT_A_CREATURE
|
||||
), AttachmentType.AURA
|
||||
)));
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ public final class SeasonOfGrowth extends CardImpl {
|
|||
|
||||
// Whenever a creature enters the battlefield under your control, scry 1.
|
||||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
new ScryEffect(1), StaticFilters.FILTER_PERMANENT_CREATURE_A
|
||||
new ScryEffect(1), StaticFilters.FILTER_PERMANENT_A_CREATURE
|
||||
));
|
||||
|
||||
// Whenever you cast a spell that targets a creature you control, draw a card.
|
||||
|
|
|
@ -31,7 +31,7 @@ public final class TrialOfAmbition extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{B}");
|
||||
|
||||
// When Trial of Ambition enters the battlefield, target opponent sacrifices a creature.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new SacrificeEffect(StaticFilters.FILTER_PERMANENT_CREATURE_A, 1, "target opponent"));
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new SacrificeEffect(StaticFilters.FILTER_PERMANENT_A_CREATURE, 1, "target opponent"));
|
||||
ability.addTarget(new TargetOpponent());
|
||||
this.addAbility(ability);
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ public final class ValorInAkros extends CardImpl {
|
|||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new BoostControlledEffect(1, 1, Duration.EndOfTurn),
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_A,
|
||||
StaticFilters.FILTER_PERMANENT_A_CREATURE,
|
||||
false)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public class BecomesBlockedAllTriggeredAbility extends TriggeredAbilityImpl {
|
|||
private final boolean setTargetPointer;
|
||||
|
||||
public BecomesBlockedAllTriggeredAbility(Effect effect, boolean optional) {
|
||||
this(effect, optional, StaticFilters.FILTER_PERMANENT_CREATURE_A, false);
|
||||
this(effect, optional, StaticFilters.FILTER_PERMANENT_A_CREATURE, false);
|
||||
}
|
||||
|
||||
public BecomesBlockedAllTriggeredAbility(Effect effect, boolean optional, FilterCreaturePermanent filter, boolean setTargetPointer) {
|
||||
|
|
|
@ -522,12 +522,6 @@ public final class StaticFilters {
|
|||
FILTER_PERMANENT_CREATURE.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterCreaturePermanent FILTER_PERMANENT_CREATURE_A = new FilterCreaturePermanent("a creature");
|
||||
|
||||
static {
|
||||
FILTER_PERMANENT_CREATURE_A.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterPermanent FILTER_PERMANENT_CREATURE_OR_PLANESWALKER_A = new FilterPermanent("a creature or planeswalker");
|
||||
|
||||
static {
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class LukkaWaywardBonderEmblem extends Emblem {
|
|||
this.setExpansionSetCodeForImage("STX");
|
||||
Ability ability = new EntersBattlefieldControlledTriggeredAbility(
|
||||
Zone.COMMAND, new LukkaWaywardBonderEmblemEffect(),
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_A, false
|
||||
StaticFilters.FILTER_PERMANENT_A_CREATURE, false
|
||||
);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.getAbilities().add(ability);
|
||||
|
|
Loading…
Reference in a new issue