From 5b158fc7f10d0552af56aefe4cde7067ebc46cc7 Mon Sep 17 00:00:00 2001 From: Zzooouhh Date: Wed, 25 Oct 2017 01:15:30 +0200 Subject: [PATCH] Included game.getPermanentOrLKIBattlefield in adjustTargets --- Mage.Sets/src/mage/cards/c/CustodiSoulcaller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/c/CustodiSoulcaller.java b/Mage.Sets/src/mage/cards/c/CustodiSoulcaller.java index b2f463323c..eb5a9756df 100644 --- a/Mage.Sets/src/mage/cards/c/CustodiSoulcaller.java +++ b/Mage.Sets/src/mage/cards/c/CustodiSoulcaller.java @@ -79,7 +79,7 @@ public class CustodiSoulcaller extends CardImpl { if (ability.getClass().equals(AttacksTriggeredAbility.class)) { ability.getTargets().clear(); CustodiSoulcallerWatcher watcher = (CustodiSoulcallerWatcher) game.getState().getWatchers().get(CustodiSoulcallerWatcher.class.getSimpleName()); - Permanent sourcePermanent = game.getPermanent(ability.getSourceId()); + Permanent sourcePermanent = game.getPermanentOrLKIBattlefield(ability.getSourceId()); if (watcher != null && watcher.playersAttacked != null) { int xValue = watcher.getNumberOfAttackedPlayers(sourcePermanent.getControllerId()); FilterCard filter = new FilterCard("creature card with converted mana cost " + xValue + " or less");