mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix sacrifice cost with blockedBy target
This commit is contained in:
committed by
Michael Kamensky
parent
d6badf3b1e
commit
ad218ee1f0
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user