From 2a65197fa56197e36fb840600bed00e39ab5f9c5 Mon Sep 17 00:00:00 2001 From: jesusjbr Date: Thu, 16 Aug 2018 01:39:42 +0200 Subject: [PATCH] Fixed Xantcha. The attack restriction effect now applies only to herself. --- Mage.Sets/src/mage/cards/x/XantchaSleeperAgent.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/x/XantchaSleeperAgent.java b/Mage.Sets/src/mage/cards/x/XantchaSleeperAgent.java index a3aed39c2b..bf994b4762 100644 --- a/Mage.Sets/src/mage/cards/x/XantchaSleeperAgent.java +++ b/Mage.Sets/src/mage/cards/x/XantchaSleeperAgent.java @@ -119,7 +119,11 @@ class XantchaSleeperAgentAttackRestrictionEffect extends RestrictionEffect { @Override public boolean applies(Permanent permanent, Ability source, Game game) { - return true; + boolean apply = false; + if (permanent.getId().equals(source.getSourceId())) { + apply = true; + } + return apply; } @Override