mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Added input panel's "remind()" flasher for ability mana cost interactions.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user