mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fix canFaceDownBeShownTo
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -409,7 +409,7 @@ public class ComputerUtilCost {
|
||||
}
|
||||
|
||||
/**
|
||||
* Check creature sacrifice cost.
|
||||
* Check TapType cost.
|
||||
*
|
||||
* @param cost
|
||||
* the cost
|
||||
|
||||
Reference in New Issue
Block a user