Fix sacrifice cost with blockedBy target

This commit is contained in:
Bug Hunter
2021-02-26 15:01:46 +00:00
committed by Michael Kamensky
parent d6badf3b1e
commit ad218ee1f0
3 changed files with 4 additions and 2 deletions

View File

@@ -1533,6 +1533,8 @@ public class CardProperty {
// Nex predicates refer to past combat and don't need a reference to actual combat
else if (property.equals("blocked")) {
return null != combat && combat.isBlocked(card);
} else if (property.startsWith("blockedBySourceLKI")) {
return null != combat && combat.isBlocking(game.getChangeZoneLKIInfo(source), card);
} else if (property.startsWith("blockedBySource")) {
return null != combat && combat.isBlocking(source, card);
} else if (property.startsWith("blockedThisTurn")) {