mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +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 (mayChooseNewTargets) {
|
||||||
if (copySA instanceof Spell) {
|
if (copySA instanceof Spell) {
|
||||||
Spell spell = (Spell) copySA;
|
Spell spell = (Spell) copySA;
|
||||||
if (AiPlayDecision.WillPlay != ((PlayerControllerAi)player.getController()).getAi().canPlayFromEffectAI(spell, true, true)) {
|
((PlayerControllerAi) player.getController()).getAi().canPlayFromEffectAI(spell, true, true);
|
||||||
return; // is this legal at all?
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
getAi().canPlaySa(copySA);
|
getAi().canPlaySa(copySA);
|
||||||
|
|||||||
Reference in New Issue
Block a user