mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Add {P} symbol for Rage Extractor (#10762)
This commit is contained in:
parent
127b7be9b0
commit
f1757e5628
3 changed files with 7 additions and 3 deletions
|
|
@ -79,7 +79,7 @@ public final class ManaSymbols {
|
|||
"S", "T", "Q",
|
||||
"U", "UB", "UR", "UP", "2U",
|
||||
"W", "WB", "WU", "WP", "2W",
|
||||
"X", "C", "E",
|
||||
"X", "C", "E", "P",
|
||||
"BGP", "BRP", "GUP", "GWP", "RGP", "RWP", "UBP", "URP", "WBP", "WUP"};
|
||||
|
||||
private static final JLabel labelRender = new JLabel(); // render mana text
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public class GathererSymbols implements Iterable<DownloadJob> {
|
|||
"W/U/P", "U/B/P", "B/R/P", "R/G/P", "G/W/P", "W/B/P", "U/R/P", "B/G/P", "R/W/P", "G/U/P",
|
||||
"2/W", "2/U", "2/B", "2/R", "2/G",
|
||||
"WP", "UP", "BP", "RP", "GP",
|
||||
"X", "S", "T", "Q", "C", "E"};
|
||||
"X", "S", "T", "Q", "C", "E", "P"};
|
||||
private static final int minNumeric = 0, maxNumeric = 16;
|
||||
|
||||
public GathererSymbols() {
|
||||
|
|
@ -98,6 +98,7 @@ public class GathererSymbols implements Iterable<DownloadJob> {
|
|||
case "GWP":
|
||||
case "RGP":
|
||||
case "RWP":
|
||||
case "P":
|
||||
// need replace to medium size
|
||||
modSizeIndex = 1;
|
||||
break;
|
||||
|
|
@ -117,6 +118,9 @@ public class GathererSymbols implements Iterable<DownloadJob> {
|
|||
case "S":
|
||||
symbol = "snow";
|
||||
break;
|
||||
case "P":
|
||||
symbol = "p";
|
||||
break;
|
||||
}
|
||||
|
||||
String url = format(urlFmt, sizes[modSizeIndex], symbol);
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public class ScryfallSymbolsSource implements Iterable<DownloadJob> {
|
|||
"W/U/P", "U/B/P", "B/R/P", "R/G/P", "G/W/P", "W/B/P", "U/R/P", "B/G/P", "R/W/P", "G/U/P",
|
||||
"2/W", "2/U", "2/B", "2/R", "2/G",
|
||||
"WP", "UP", "BP", "RP", "GP",
|
||||
"X", "S", "T", "Q", "C", "E"};
|
||||
"X", "S", "T", "Q", "C", "E", "P"};
|
||||
|
||||
@Override
|
||||
public Iterator<DownloadJob> iterator() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue