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