From d310276be1c83b5c90a2f42a4a60b82bf039ab7f Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 8 Nov 2015 09:18:11 +0100 Subject: [PATCH] * Jhoira's Toolbox - Fixed that the activated ability was missing. --- .../src/mage/sets/urzaslegacy/JhoirasToolbox.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Mage.Sets/src/mage/sets/urzaslegacy/JhoirasToolbox.java b/Mage.Sets/src/mage/sets/urzaslegacy/JhoirasToolbox.java index 667af6cd46..d3db8d8c98 100644 --- a/Mage.Sets/src/mage/sets/urzaslegacy/JhoirasToolbox.java +++ b/Mage.Sets/src/mage/sets/urzaslegacy/JhoirasToolbox.java @@ -28,15 +28,14 @@ package mage.sets.urzaslegacy; import java.util.UUID; - -import mage.constants.CardType; -import mage.constants.Rarity; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.common.RegenerateTargetEffect; import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; import mage.constants.Zone; import mage.filter.common.FilterCreaturePermanent; import mage.filter.predicate.mageobject.CardTypePredicate; @@ -48,10 +47,10 @@ import mage.target.common.TargetCreaturePermanent; */ public class JhoirasToolbox extends CardImpl { - private static final FilterCreaturePermanent filer = new FilterCreaturePermanent("artifact creature"); + private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("artifact creature"); static { - filer.add(new CardTypePredicate(CardType.ARTIFACT)); + filter.add(new CardTypePredicate(CardType.ARTIFACT)); } public JhoirasToolbox(UUID ownerId) { @@ -64,7 +63,8 @@ public class JhoirasToolbox extends CardImpl { // {2}: Regenerate target artifact creature. Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateTargetEffect(), new ManaCostsImpl("{2}")); - ability.addTarget(new TargetCreaturePermanent(filer)); + ability.addTarget(new TargetCreaturePermanent(filter)); + this.addAbility(ability); } public JhoirasToolbox(final JhoirasToolbox card) {