CardFactoryUtil: Miracle is a Trigger now, and make PlayAi a bit better to check if it can play it

This commit is contained in:
Hanmac
2016-11-18 19:55:05 +00:00
parent 959fd5471e
commit 3c5eb2248b
9 changed files with 119 additions and 172 deletions

View File

@@ -268,11 +268,6 @@ public class PlayerControllerForTests extends PlayerController {
return chooseItems(validCards, min);
}
@Override
public void playMiracle(SpellAbility miracle, Card card) {
throw new IllegalStateException("Callers of this method currently assume that it performs extra functionality!");
}
@Override
public CardCollectionView chooseCardsToDelve(int genericAmount, CardCollection grave) {
return CardCollection.EMPTY;