fix Disturb targets for back face auras

This commit is contained in:
jmlundeen 2025-12-01 08:17:25 -06:00
parent 822fb8711a
commit 7da85577ef
2 changed files with 8 additions and 4 deletions

View file

@ -44,8 +44,6 @@ public final class DistractingGeist extends TransformingDoubleFacedCard {
ability.addTarget(new TargetPermanent(filter));
this.getLeftHalfCard().addAbility(ability);
// Disturb {4}{W}
this.getLeftHalfCard().addAbility(new DisturbAbility(this, "{4}{W}"));
// Clever Distraction
@ -55,6 +53,10 @@ public final class DistractingGeist extends TransformingDoubleFacedCard {
this.getRightHalfCard().getSpellAbility().addEffect(new mage.abilities.effects.common.AttachEffect(Outcome.BoostCreature));
this.getRightHalfCard().addAbility(new EnchantAbility(auraTarget));
// Disturb {4}{W}
// needs to be added after right half has spell ability target set
this.getLeftHalfCard().addAbility(new DisturbAbility(this, "{4}{W}"));
// Enchanted creature has "Whenever this creature attacks, tap target creature defending player controls."
Ability ability2 = new AttacksTriggeredAbility(new TapTargetEffect()).setTriggerPhrase("Whenever this creature attacks, ");
ability2.addTarget(new TargetPermanent(filter));

View file

@ -40,8 +40,6 @@ public final class DorotheaVengefulVictim extends TransformingDoubleFacedCard {
new AtTheEndOfCombatDelayedTriggeredAbility(new SacrificeSourceEffect())
).setText("sacrifice it at end of combat"), false));
// Disturb {1}{W}{U}
this.getLeftHalfCard().addAbility(new DisturbAbility(this, "{1}{W}{U}"));
// Dorothea's Retribution
// Enchant creature
@ -50,6 +48,10 @@ public final class DorotheaVengefulVictim extends TransformingDoubleFacedCard {
this.getRightHalfCard().getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
this.getRightHalfCard().addAbility(new EnchantAbility(auraTarget));
// Disturb {1}{W}{U}
// needs to be added after right half has spell ability target set
this.getLeftHalfCard().addAbility(new DisturbAbility(this, "{1}{W}{U}"));
// Enchanted creature has "Whenever this creature attacks, create a 4/4 white Spirit creature token with flying that's tapped and attacking. Sacrifice that token at end of combat."
this.getRightHalfCard().addAbility(new SimpleStaticAbility(new GainAbilityAttachedEffect(
new mage.abilities.common.AttacksTriggeredAbility(new DorotheasRetributionEffect()).setTriggerPhrase("Whenever this creature attacks, "),