Added input panel's "remind()" flasher for ability mana cost interactions.

This commit is contained in:
Doublestrike
2012-03-07 08:18:07 +00:00
parent 133707e0da
commit a165bae762

View File

@@ -21,6 +21,7 @@ import forge.AllZone;
import forge.ButtonUtil;
import forge.Card;
import forge.Command;
import forge.Constant.Zone;
import forge.PlayerZone;
import forge.Singletons;
import forge.card.mana.ManaCost;
@@ -154,6 +155,10 @@ public class InputPayManaCostAbility extends InputMana {
// only tap card if the mana is needed
this.manaCost = InputPayManaCostUtil.activateManaAbility(this.fakeAbility, card, this.manaCost);
if (card.getManaAbility().isEmpty() || card.isInZone(Zone.Hand)) {
Singletons.getControl().getControlMatch().getMessageControl().remind();
}
if (this.manaCost.isPaid()) {
this.paidCommand.execute();
this.resetManaCost();