mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- AI shouldn't try to transform creatures that can't transform
This commit is contained in:
@@ -25,7 +25,7 @@ public class SetStateAi extends SpellAbilityAi {
|
||||
}
|
||||
|
||||
if (sa.getTargetRestrictions() == null && "Transform".equals(sa.getParam("Mode"))) {
|
||||
return true;
|
||||
return !source.hasKeyword("CARDNAME can't transform");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user