mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
CardFactoryUtil: Miracle is a Trigger now, and make PlayAi a bit better to check if it can play it
This commit is contained in:
@@ -694,14 +694,6 @@ public class PlayerControllerHuman
|
||||
return new CardCollection(inp.getSelected());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void playMiracle(final SpellAbility miracle, final Card card) {
|
||||
final CardView view = CardView.get(card);
|
||||
if (getGui().confirm(view, view + " - Drawn. Play for Miracle Cost?")) {
|
||||
HumanPlay.playSpellAbility(this, player, miracle);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public CardCollectionView chooseCardsToDelve(final int genericAmount, final CardCollection grave) {
|
||||
final int cardsInGrave = Math.min(genericAmount, grave.size());
|
||||
|
||||
Reference in New Issue
Block a user