mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Tweak cost and value multipliers for non-commons
This commit is contained in:
@@ -44,6 +44,10 @@ public enum CardRarity {
|
||||
return shortName;
|
||||
}
|
||||
|
||||
public String getLongName() {
|
||||
return longName;
|
||||
}
|
||||
|
||||
public static CardRarity smartValueOf(String input) {
|
||||
for (CardRarity r : CardRarity.values()) {
|
||||
if (r.name().equalsIgnoreCase(input) || r.shortName.equalsIgnoreCase(input) || r.longName.equalsIgnoreCase(input)) {
|
||||
|
||||
Reference in New Issue
Block a user