- AI shouldn't try to transform creatures that can't transform

This commit is contained in:
Sol
2016-05-15 23:53:00 +00:00
parent d32644d68d
commit 692bfd7e81

View File

@@ -25,7 +25,7 @@ public class SetStateAi extends SpellAbilityAi {
} }
if (sa.getTargetRestrictions() == null && "Transform".equals(sa.getParam("Mode"))) { if (sa.getTargetRestrictions() == null && "Transform".equals(sa.getParam("Mode"))) {
return true; return !source.hasKeyword("CARDNAME can't transform");
} }
return false; return false;
} }