Add in new bar chart distribution for the 'M' mana analyse button.

This commit is contained in:
spjspj 2018-07-08 21:28:25 +10:00
parent e0bffcc521
commit 6b9a2bb12c
2 changed files with 27 additions and 3 deletions

View file

@ -1397,6 +1397,8 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg
}
mc = mc.replaceAll("\\{([WUBRG]).([WUBRG])\\}", "{$1}{$2}");
mc = mc.replaceAll("\\{", "#");
mc = mc.replaceAll("#2\\/", "#");
mc = mc.replaceAll("p}", "}");
mc = mc.toLowerCase(Locale.ENGLISH);
int cmc = card.getConvertedManaCost();