Merge pull request #2553 from wendelscardua/fix-lack-of-abilities

Fix lack of abilities
This commit is contained in:
spjspj 2016-11-03 18:06:40 +11:00 committed by GitHub
commit 55b561cebf
2 changed files with 2 additions and 0 deletions

View file

@ -60,6 +60,7 @@ public class ExpendableTroops extends CardImpl {
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new TapSourceCost());
ability.addCost(new SacrificeSourceCost()); ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetCreaturePermanent(new FilterAttackingOrBlockingCreature())); ability.addTarget(new TargetCreaturePermanent(new FilterAttackingOrBlockingCreature()));
this.addAbility(ability);
} }
public ExpendableTroops(final ExpendableTroops card) { public ExpendableTroops(final ExpendableTroops card) {

View file

@ -57,6 +57,7 @@ public class PhyrexianBroodlings extends CardImpl {
// {1}, Sacrifice a creature: Put a +1/+1 counter on Phyrexian Broodlings. // {1}, Sacrifice a creature: Put a +1/+1 counter on Phyrexian Broodlings.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance(1)), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance(1)), new TapSourceCost());
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent())); ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
this.addAbility(ability);
} }
public PhyrexianBroodlings(final PhyrexianBroodlings card) { public PhyrexianBroodlings(final PhyrexianBroodlings card) {