mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- A more appropriate name for the field representing foil chance in booster packs.
This commit is contained in:
@@ -98,7 +98,7 @@ public final class CardEdition implements Comparable<CardEdition> { // immutable
|
|||||||
private String alias = null;
|
private String alias = null;
|
||||||
private boolean whiteBorder = false;
|
private boolean whiteBorder = false;
|
||||||
private FoilType foilType = FoilType.NOT_SUPPORTED;
|
private FoilType foilType = FoilType.NOT_SUPPORTED;
|
||||||
private int foilRateInBooster = 0;
|
private int foilChanceInBooster = 0;
|
||||||
private final CardInSet[] cards;
|
private final CardInSet[] cards;
|
||||||
|
|
||||||
|
|
||||||
@@ -148,7 +148,7 @@ public final class CardEdition implements Comparable<CardEdition> { // immutable
|
|||||||
public Type getType() { return type; }
|
public Type getType() { return type; }
|
||||||
public String getName() { return name; }
|
public String getName() { return name; }
|
||||||
public String getAlias() { return alias; }
|
public String getAlias() { return alias; }
|
||||||
public int getFoilRateInBooster() { return foilRateInBooster; }
|
public int getFoilChanceInBooster() { return foilChanceInBooster; }
|
||||||
public CardInSet[] getCards() { return cards; }
|
public CardInSet[] getCards() { return cards; }
|
||||||
|
|
||||||
/** The Constant fnGetName. */
|
/** The Constant fnGetName. */
|
||||||
@@ -338,7 +338,7 @@ public final class CardEdition implements Comparable<CardEdition> { // immutable
|
|||||||
res.foilType = FoilType.NOT_SUPPORTED;
|
res.foilType = FoilType.NOT_SUPPORTED;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
res.foilRateInBooster = section.getInt("FoilRateInBooster", 0);
|
res.foilChanceInBooster = section.getInt("FoilChanceInBooster", 0);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user