mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
ReplaceMoved: add missing part for Buyback
This commit is contained in:
@@ -95,6 +95,15 @@ public class ReplaceMoved extends ReplacementEffect {
|
||||
}
|
||||
}
|
||||
|
||||
if (hasParam("ValidStackSa")) {
|
||||
if (!runParams.containsKey("StackSa")) {
|
||||
return false;
|
||||
}
|
||||
if (!matchesValid(runParams.get("StackSa"), getParam("ValidStackSa").split(","), getHostCard())) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (hasParam("Cause")) {
|
||||
if (!runParams.containsKey("Cause")) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user