- Added AI support for Grim Monolith.

This commit is contained in:
Sloth
2014-11-24 13:56:06 +00:00
parent 1dd2925f81
commit bd40daa905
3 changed files with 7 additions and 2 deletions

View File

@@ -37,6 +37,11 @@ public class UntapAi extends SpellAbilityAi {
if (ComputerUtil.preventRunAwayActivations(sa)) {
return false;
}
if ("EOT".equals(sa.getParam("AILogic")) && (source.getGame().getPhaseHandler().getNextTurn() != ai
|| !source.getGame().getPhaseHandler().getPhase().equals(PhaseType.END_OF_TURN))) {
return false;
}
if (tgt == null) {
final List<Card> pDefined = AbilityUtils.getDefinedCards(sa.getHostCard(), sa.getParam("Defined"), sa);