mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- If a counterspell can't be cast (Meddling Mage, ...), the AI shouldn't be able to cast it either.
This commit is contained in:
@@ -112,7 +112,7 @@ public class ComputerAI_counterSpells2 {
|
||||
{
|
||||
SpellAbility sa = c.getSpellAbility()[0];
|
||||
|
||||
if (s.equals(c.getName()) && ComputerUtil.canPayCost(sa))
|
||||
if (s.equals(c.getName()) && ComputerUtil.canPayCost(sa) && !c.isUnCastable())
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user