From 41d864cbe8e6a92cc21e5431d15a86cc5d5a8c91 Mon Sep 17 00:00:00 2001 From: Sol Date: Thu, 3 Apr 2014 03:03:26 +0000 Subject: [PATCH] - Fix Knollspine Invocation not being able to be activated due to when CanPlay() is called relative to AnnounceX() --- forge-game/src/main/java/forge/game/cost/CostDiscard.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/forge-game/src/main/java/forge/game/cost/CostDiscard.java b/forge-game/src/main/java/forge/game/cost/CostDiscard.java index c51c2bcd365..1508b028a6a 100644 --- a/forge-game/src/main/java/forge/game/cost/CostDiscard.java +++ b/forge-game/src/main/java/forge/game/cost/CostDiscard.java @@ -124,7 +124,8 @@ public class CostDiscard extends CostPartWithList { sameName = true; type = type.replace("+WithSameName", ""); } - if (!type.equals("Random")) { + if (!type.equals("Random") && !type.contains("X")) { + // Knollspine Invocation fails to activate without the above conditional handList = CardLists.getValidCards(handList, type.split(";"), activator, source); } if (sameName) {