mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Fixed Chasm Drake
This commit is contained in:
parent
4a84240632
commit
6dbef9fee0
2 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue