mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- 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:
@@ -52,7 +52,7 @@ public class ScryAi extends SpellAbilityAi {
|
|||||||
// in the playerturn Scry should only be done in Main1 or in upkeep if able
|
// in the playerturn Scry should only be done in Main1 or in upkeep if able
|
||||||
if (ph.isPlayerTurn(ai)) {
|
if (ph.isPlayerTurn(ai)) {
|
||||||
if (SpellAbilityAi.isSorcerySpeed(sa)) {
|
if (SpellAbilityAi.isSorcerySpeed(sa)) {
|
||||||
return ph.is(PhaseType.MAIN1);
|
return ph.is(PhaseType.MAIN1) || (sa.hasParam("Planeswalker") && ph.is(PhaseType.MAIN2));
|
||||||
} else {
|
} else {
|
||||||
return ph.is(PhaseType.UPKEEP);
|
return ph.is(PhaseType.UPKEEP);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user