Fix canFaceDownBeShownTo

This commit is contained in:
tool4EvEr
2022-11-14 13:49:22 +01:00
parent 7629519757
commit 41ef4fe2ce
6 changed files with 13 additions and 17 deletions

View File

@@ -1337,7 +1337,7 @@ public class AiBlockController {
}
int evalBlk;
if (blocker.isFaceDown() && blocker.getView().canFaceDownBeShownTo(ai.getView(), false) && blocker.getState(CardStateName.Original).getType().isCreature()) {
if (blocker.isFaceDown() && blocker.getView().canFaceDownBeShownTo(ai.getView()) && blocker.getState(CardStateName.Original).getType().isCreature()) {
// if the blocker is a face-down creature (e.g. cast via Morph, Manifest), evaluate it
// in relation to the original state, not to the Morph state
evalBlk = ComputerUtilCard.evaluateCreature(Card.fromPaperCard(blocker.getPaperCard(), ai), false, true);

View File

@@ -409,7 +409,7 @@ public class ComputerUtilCost {
}
/**
* Check creature sacrifice cost.
* Check TapType cost.
*
* @param cost
* the cost