Fix Well-Laid Plans

This commit is contained in:
tool4EvEr
2025-02-21 16:09:17 +01:00
committed by Chris H
parent 446f60b331
commit fa93a7dfdd

View File

@@ -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;
} }
} }