mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Fix Well-Laid Plans
This commit is contained in:
@@ -73,7 +73,7 @@ public class ReplaceDamage extends ReplacementEffect {
|
|||||||
if (hasParam("RelativeToSource")) {
|
if (hasParam("RelativeToSource")) {
|
||||||
Card source = (Card) runParams.get(AbilityKey.DamageSource);
|
Card source = (Card) runParams.get(AbilityKey.DamageSource);
|
||||||
String validRelative = getParam("RelativeToSource");
|
String validRelative = getParam("RelativeToSource");
|
||||||
if (!matchesValid(runParams.get(AbilityKey.DamageTarget), validRelative.split(","), source)) {
|
if (!matchesValid(runParams.get(AbilityKey.Affected), validRelative.split(","), source)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user