- AI should not hold back using +1 Scry abilities of Planeswalkers when casting a PW in Main 2 (Saheeli Rai and Jace, Unraveler of Secrets).

This commit is contained in:
Agetian
2017-01-29 04:56:27 +00:00
parent a40b5966f5
commit 88a8cee0a4

View File

@@ -52,7 +52,7 @@ public class ScryAi extends SpellAbilityAi {
// in the playerturn Scry should only be done in Main1 or in upkeep if able
if (ph.isPlayerTurn(ai)) {
if (SpellAbilityAi.isSorcerySpeed(sa)) {
return ph.is(PhaseType.MAIN1);
return ph.is(PhaseType.MAIN1) || (sa.hasParam("Planeswalker") && ph.is(PhaseType.MAIN2));
} else {
return ph.is(PhaseType.UPKEEP);
}