Fixed Chasm Drake

This commit is contained in:
magenoxx 2011-08-17 08:21:28 +04:00
parent 4a84240632
commit 6dbef9fee0
2 changed files with 6 additions and 1 deletions

View file

@ -55,7 +55,7 @@ public class ChasmDrake extends CardImpl<ChasmDrake> {
this.toughness = new MageInt(3);
this.addAbility(FlyingAbility.getInstance());
Ability ability = new AttacksTriggeredAbility(new GainAbilityTargetEffect(FlyingAbility.getInstance(), Constants.Duration.EndOfTurn), false);
ability.addTarget(new TargetControlledCreaturePermanent());
ability.addTarget(new TargetControlledCreaturePermanent(true));
this.addAbility(ability);
}

View file

@ -40,6 +40,11 @@ public class TargetControlledCreaturePermanent extends TargetControlledPermanent
this(1, 1, new FilterControlledCreaturePermanent(), false);
}
public TargetControlledCreaturePermanent(boolean required) {
this(1, 1, new FilterControlledCreaturePermanent(), false);
this.required = required;
}
public TargetControlledCreaturePermanent(int numTargets) {
this(numTargets, numTargets, new FilterControlledCreaturePermanent(), false);
}