From 2fcf6559945d5e1bf6d27d17cc86fe99f14a69f6 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 11 Jul 2014 15:26:36 +0200 Subject: [PATCH] [M15] Changes to tooltip text. --- Mage.Sets/src/mage/sets/magic2015/AvariceAmulet.java | 9 +++++---- Mage.Sets/src/mage/sets/magic2015/BroodKeeper.java | 5 ++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/sets/magic2015/AvariceAmulet.java b/Mage.Sets/src/mage/sets/magic2015/AvariceAmulet.java index 7068a06521d..7a53f42368a 100644 --- a/Mage.Sets/src/mage/sets/magic2015/AvariceAmulet.java +++ b/Mage.Sets/src/mage/sets/magic2015/AvariceAmulet.java @@ -68,18 +68,19 @@ public class AvariceAmulet extends CardImpl { // Equipped creature gets +2/+0 Effect effect = new BoostEquippedEffect(2, 0); effect.setText("Equipped creature gets +2/+0"); - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect)); + Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect); // and has vigilance effect = new GainAbilityAttachedEffect(VigilanceAbility.getInstance(), AttachmentType.EQUIPMENT); effect.setText("and has vigilance"); - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect)); + ability.addEffect(effect); //and "At the beginning of your upkeep, draw a card." effect = new GainAbilityAttachedEffect(new BeginningOfUpkeepTriggeredAbility(new DrawCardSourceControllerEffect(1), TargetController.YOU, false), AttachmentType.EQUIPMENT); effect.setText("and \"At the beginning of your upkeep, draw a card.\""); - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect)); + ability.addEffect(effect); + this.addAbility(ability); // When equipped creature dies, target opponent gains control of Avarice Amulet. - Ability ability = new DiesAttachedTriggeredAbility(new AvariceAmuletChangeControlEffect(), "equipped creature", false); + ability = new DiesAttachedTriggeredAbility(new AvariceAmuletChangeControlEffect(), "equipped creature", false); ability.addTarget(new TargetOpponent()); this.addAbility(ability); diff --git a/Mage.Sets/src/mage/sets/magic2015/BroodKeeper.java b/Mage.Sets/src/mage/sets/magic2015/BroodKeeper.java index 409b4061b40..6cc30b63679 100644 --- a/Mage.Sets/src/mage/sets/magic2015/BroodKeeper.java +++ b/Mage.Sets/src/mage/sets/magic2015/BroodKeeper.java @@ -32,6 +32,7 @@ import mage.MageInt; import mage.abilities.common.AuraAttachedTriggeredAbility; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.Effect; import mage.abilities.effects.common.CreateTokenEffect; import mage.abilities.effects.common.continious.BoostSourceEffect; import mage.abilities.keyword.FlyingAbility; @@ -60,7 +61,9 @@ public class BroodKeeper extends CardImpl { // Whenever an Aura becomes attached to Brood Keeper, put a 2/2 red Dragon creature token with flying onto the battlefield. // It has "{R}: This creature gets +1/+0 until end of turn." - this.addAbility(new AuraAttachedTriggeredAbility(new CreateTokenEffect(new BroodKeeperDragonToken()), false)); + Effect effect = new CreateTokenEffect(new BroodKeeperDragonToken()); + effect.setText("put a 2/2 red Dragon creature token with flying onto the battlefield. It has \"{R}: This creature gets +1/+0 until end of turn.\""); + this.addAbility(new AuraAttachedTriggeredAbility(effect, false)); } public BroodKeeper(final BroodKeeper card) {