mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fix Knollspine Invocation not being able to be activated due to when CanPlay() is called relative to AnnounceX()
This commit is contained in:
@@ -124,7 +124,8 @@ public class CostDiscard extends CostPartWithList {
|
|||||||
sameName = true;
|
sameName = true;
|
||||||
type = type.replace("+WithSameName", "");
|
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);
|
handList = CardLists.getValidCards(handList, type.split(";"), activator, source);
|
||||||
}
|
}
|
||||||
if (sameName) {
|
if (sameName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user