Fixed target bug of Bear Umra.

This commit is contained in:
LevelX2 2012-12-20 08:48:33 +01:00
parent f0b32e7ca3
commit 2e9c5fc550

View file

@ -42,7 +42,7 @@ import mage.abilities.keyword.EnchantAbility;
import mage.abilities.keyword.TotemArmorAbility;
import mage.cards.CardImpl;
import mage.target.TargetPermanent;
import mage.target.common.TargetControlledCreaturePermanent;
import mage.target.common.TargetCreaturePermanent;
/**
*
@ -58,7 +58,7 @@ public class BearUmbra extends CardImpl<BearUmbra> {
this.color.setGreen(true);
// Enchant creature
TargetPermanent auraTarget = new TargetControlledCreaturePermanent();
TargetPermanent auraTarget = new TargetCreaturePermanent();
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Constants.Outcome.BoostCreature));
Ability ability = new EnchantAbility(auraTarget.getTargetName());