Merge pull request #4063 from kevlahnota/newmaster2

fix Consider
This commit is contained in:
kevlahnota
2023-11-01 20:04:52 +08:00
committed by GitHub

View File

@@ -57,7 +57,8 @@ public class SurveilAi extends SpellAbilityAi {
&& !isSorcerySpeed(sa, ai)) {
return ph.getNextTurn() == ai && ph.is(PhaseType.END_OF_TURN);
}
if (sa.getHostCard() != null && !sa.getHostCard().isPermanent() && !isSorcerySpeed(sa, ai))
return ph.getNextTurn() == ai && ph.is(PhaseType.END_OF_TURN);
// in the player's turn Surveil should only be done in Main1 or in Upkeep if able
if (ph.isPlayerTurn(ai)) {
if (isSorcerySpeed(sa, ai)) {