- Fix Knollspine Invocation not being able to be activated due to when CanPlay() is called relative to AnnounceX()

This commit is contained in:
Sol
2014-04-03 03:03:26 +00:00
parent a0fdf02280
commit 41d864cbe8

View File

@@ -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) {