mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Animal Boneyard: the ability was never defined
This commit is contained in:
parent
527e05ae35
commit
c6d433476b
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ public class AnimalBoneyard extends CardImpl {
|
||||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
// Enchanted land has "{tap}, Sacrifice a creature: You gain life equal to that creature's toughness."
|
// Enchanted land has "{tap}, Sacrifice a creature: You gain life equal to that creature's toughness."
|
||||||
Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, null, new TapSourceCost());
|
Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AnimalBoneyardEffect(), new TapSourceCost());
|
||||||
gainedAbility.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
|
gainedAbility.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
|
||||||
Effect effect = new GainAbilityAttachedEffect(gainedAbility, AttachmentType.AURA, Duration.WhileOnBattlefield,
|
Effect effect = new GainAbilityAttachedEffect(gainedAbility, AttachmentType.AURA, Duration.WhileOnBattlefield,
|
||||||
"Enchanted land has \"{tap}, Sacrifice a creature: You gain life equal to that creature's toughness.\"");
|
"Enchanted land has \"{tap}, Sacrifice a creature: You gain life equal to that creature's toughness.\"");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue