From ee7cb581a2a9a851f49fdad6828fe1cc7eb89d2a Mon Sep 17 00:00:00 2001 From: LoneFox Date: Thu, 18 Jun 2015 21:40:12 +0300 Subject: [PATCH] Fix Errantry tooltip text --- Mage.Sets/src/mage/sets/masterseditionii/Errantry.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/masterseditionii/Errantry.java b/Mage.Sets/src/mage/sets/masterseditionii/Errantry.java index 923902b513..b9214d5aa2 100644 --- a/Mage.Sets/src/mage/sets/masterseditionii/Errantry.java +++ b/Mage.Sets/src/mage/sets/masterseditionii/Errantry.java @@ -30,6 +30,7 @@ package mage.sets.masterseditionii; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.effects.Effect; import mage.abilities.effects.common.AttachEffect; import mage.abilities.effects.common.continuous.BoostEnchantedEffect; import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect; @@ -64,8 +65,11 @@ public class Errantry extends CardImpl { Ability ability = new EnchantAbility(auraTarget.getTargetName()); this.addAbility(ability); // Enchanted creature gets +3/+0 and can only attack alone. - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(3, 0, Duration.WhileOnBattlefield))); - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(CanAttackOnlyAloneAbility.getInstance(), AttachmentType.AURA))); + ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(3, 0, Duration.WhileOnBattlefield)); + Effect effect = new GainAbilityAttachedEffect(CanAttackOnlyAloneAbility.getInstance(), AttachmentType.AURA); + effect.setText("and can only attack alone."); + ability.addEffect(effect); + this.addAbility(ability); } public Errantry(final Errantry card) {