Change EnchantAbility parameter from String to Target (#9588)

This commit is contained in:
Alex W. Jackson 2022-09-29 10:29:48 -04:00 committed by GitHub
parent 57efc02710
commit c9a7aedfb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1082 changed files with 1152 additions and 1152 deletions

View file

@ -38,7 +38,7 @@ public final class OverwhelmingSplendor extends CardImpl {
TargetPlayer auraTarget = new TargetPlayer();
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.LoseAbility));
Ability ability = new EnchantAbility(auraTarget.getTargetName());
Ability ability = new EnchantAbility(auraTarget);
this.addAbility(ability);
// Creatures enchanted player controls lose all abilities and have base power and toughness 1/1.