Cleanup Absorb Identity Code

This commit is contained in:
Daniel Bomar 2020-12-18 20:32:18 -06:00
parent 34c359a4e8
commit e618daa461

View file

@ -28,10 +28,12 @@ public final class AbsorbIdentity extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}"); super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
// Return target creature to its owner's hand. // Return target creature to its owner's hand.
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect()); this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
// You may have Shapeshifters you control become copies of that creature until end of turn. // You may have Shapeshifters you control become copies of that creature until end of turn.
this.getSpellAbility().addEffect(new AbsorbIdentityEffect()); this.getSpellAbility().addEffect(new AbsorbIdentityEffect());
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
} }
private AbsorbIdentity(final AbsorbIdentity card) { private AbsorbIdentity(final AbsorbIdentity card) {