mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Fixed playSpellAbilityForFree not being mandatory for the AI.
This commit is contained in:
@@ -271,9 +271,7 @@ public class PlayerControllerAi extends PlayerController {
|
||||
if (mayChooseNewTargets) {
|
||||
if (copySA instanceof Spell) {
|
||||
Spell spell = (Spell) copySA;
|
||||
if (AiPlayDecision.WillPlay != ((PlayerControllerAi)player.getController()).getAi().canPlayFromEffectAI(spell, true, true)) {
|
||||
return; // is this legal at all?
|
||||
}
|
||||
((PlayerControllerAi) player.getController()).getAi().canPlayFromEffectAI(spell, true, true);
|
||||
}
|
||||
else {
|
||||
getAi().canPlaySa(copySA);
|
||||
|
||||
Reference in New Issue
Block a user