mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
@@ -59,7 +59,7 @@ public class AttachAi extends SpellAbilityAi {
|
||||
|
||||
// TODO: improve this so that the AI can use a flash aura buff as a means of killing opposing creatures
|
||||
// and gaining card advantage
|
||||
if (source.hasKeyword("MayFlashSac") && !ai.couldCastSorcery(sa)) {
|
||||
if (source.hasKeyword("MayFlashSac") && !ai.canCastSorcery()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ public class PermanentAi extends SpellAbilityAi {
|
||||
protected boolean checkPhaseRestrictions(final Player ai, final SpellAbility sa, final PhaseHandler ph) {
|
||||
final Card card = sa.getHostCard();
|
||||
|
||||
if (card.hasKeyword("MayFlashSac") && !ai.couldCastSorcery(sa)) {
|
||||
if (card.hasKeyword("MayFlashSac") && !ai.canCastSorcery()) {
|
||||
// AiPlayDecision.AnotherTime
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user