mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Support showing generic mana in prompt if color can be paid with any color
This commit is contained in:
@@ -42,7 +42,7 @@ public class InputPayManaOfCostPayment extends InputPayMana {
|
||||
|
||||
@Override
|
||||
protected String getMessage() {
|
||||
final String displayMana = manaCost.toString(false);
|
||||
final String displayMana = manaCost.toString(false, player.getManaPool());
|
||||
|
||||
final StringBuilder msg = new StringBuilder();
|
||||
if (messagePrefix != null) {
|
||||
|
||||
@@ -119,7 +119,7 @@ public class InputPayManaSimple extends InputPayMana {
|
||||
*/
|
||||
@Override
|
||||
protected String getMessage() {
|
||||
final StringBuilder msg = new StringBuilder("Pay Mana Cost: " + this.manaCost.toString());
|
||||
final StringBuilder msg = new StringBuilder("Pay Mana Cost: " + this.manaCost.toString(false, player.getManaPool()));
|
||||
if (this.phyLifeToLose > 0) {
|
||||
msg.append(" (");
|
||||
msg.append(this.phyLifeToLose);
|
||||
|
||||
Reference in New Issue
Block a user