Added target handling for modal spells with multiple targets in different modes. Fixed target handling bugs in test project.

This commit is contained in:
LevelX2 2015-05-30 12:43:17 +02:00
parent f8f21bd8ce
commit 907b029bdb
5 changed files with 45 additions and 17 deletions

View file

@ -46,7 +46,6 @@ public class GodsWilling extends CardImpl {
super(ownerId, 16, "Gods Willing", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{W}");
this.expansionSetCode = "THS";
// Target creature you control gains protection from the color of your choice until end of turn. Scry 1.
this.getSpellAbility().addEffect(new GainProtectionFromColorTargetEffect(Duration.EndOfTurn));
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());