- Added AI support for Crackling Doom.

This commit is contained in:
Sloth
2014-09-21 20:08:01 +00:00
parent 2270b047bc
commit b1c07c8f7a
2 changed files with 8 additions and 1 deletions

View File

@@ -111,6 +111,13 @@ public class RepeatEachAi extends SpellAbilityAi {
return false;
}
}
} else if ("OpponentHasCreatures".equals(logic)) {
for (Player opp : aiPlayer.getOpponents()) {
if (!opp.getCreaturesInPlay().isEmpty()){
return true;
}
}
return false;
}
// TODO Add some normal AI variability here