From cefd33b2f1f49dcd3b0f5c2d004e4520880332b2 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 5 Apr 2014 02:44:06 +0200 Subject: [PATCH] * Soulbound - Added log info about a successful soulbound action. --- Mage/src/mage/abilities/keyword/SoulbondAbility.java | 5 ++--- Mage/src/mage/watchers/common/SoulbondWatcher.java | 8 +++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Mage/src/mage/abilities/keyword/SoulbondAbility.java b/Mage/src/mage/abilities/keyword/SoulbondAbility.java index 80df07c7e99..28c0c5a711a 100644 --- a/Mage/src/mage/abilities/keyword/SoulbondAbility.java +++ b/Mage/src/mage/abilities/keyword/SoulbondAbility.java @@ -28,11 +28,10 @@ package mage.abilities.keyword; -import mage.constants.Zone; +import java.io.ObjectStreamException; import mage.abilities.MageSingleton; import mage.abilities.StaticAbility; - -import java.io.ObjectStreamException; +import mage.constants.Zone; /** * @author noxx diff --git a/Mage/src/mage/watchers/common/SoulbondWatcher.java b/Mage/src/mage/watchers/common/SoulbondWatcher.java index 352a7dd470f..4bb3097338b 100644 --- a/Mage/src/mage/watchers/common/SoulbondWatcher.java +++ b/Mage/src/mage/watchers/common/SoulbondWatcher.java @@ -28,12 +28,12 @@ package mage.watchers.common; -import mage.constants.CardType; -import mage.constants.Outcome; -import mage.constants.WatcherScope; import mage.abilities.keyword.SoulbondAbility; import mage.cards.Cards; import mage.cards.CardsImpl; +import mage.constants.CardType; +import mage.constants.Outcome; +import mage.constants.WatcherScope; import mage.constants.Zone; import mage.filter.common.FilterControlledCreaturePermanent; import mage.filter.predicate.Predicate; @@ -88,6 +88,7 @@ public class SoulbondWatcher extends WatcherImpl { if (chosen != null) { chosen.setPairedCard(permanent.getId()); permanent.setPairedCard(chosen.getId()); + game.informPlayers(new StringBuilder(controller.getName()).append(" souldbounded ").append(permanent.getName()).append(" with ").append(chosen.getName()).toString()); } } } @@ -111,6 +112,7 @@ public class SoulbondWatcher extends WatcherImpl { if (controller.chooseUse(Outcome.Benefit, "Use Soulbond for recent " + permanent.getName() + "?", game)) { chosen.setPairedCard(permanent.getId()); permanent.setPairedCard(chosen.getId()); + game.informPlayers(new StringBuilder(controller.getName()).append(" souldbounded ").append(permanent.getName()).append(" with ").append(chosen.getName()).toString()); break; } }