mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Aestetic text changes (booster type "T2" renamed to Standard)
This commit is contained in:
@@ -282,15 +282,12 @@ public class Gui_WinLose extends JFrame implements NewConstants {
|
|||||||
|
|
||||||
int estatesLevel = q.getInventory().getItemLevel("Estates");
|
int estatesLevel = q.getInventory().getItemLevel("Estates");
|
||||||
|
|
||||||
if (estatesLevel == 1) {
|
if (estatesLevel == 1) { sb.append("Estates bonus: <b>10%</b>.<br>");
|
||||||
sb.append("Estates bonus: <b>10%</b>.<br>");
|
} else if (estatesLevel == 2) { sb.append("Estates bonus: <b>15%</b>.<br>");
|
||||||
} else if (estatesLevel == 2) {
|
} else if (estatesLevel == 3) { sb.append("Estates bonus: <b>20%</b>.<br>");
|
||||||
sb.append("Estates bonus: <b>15%</b>.<br>");
|
|
||||||
} else if (estatesLevel == 3) {
|
|
||||||
sb.append("Estates bonus: <b>20%</b>.<br>");
|
|
||||||
}
|
}
|
||||||
sb.append("You have earned <b>" + creds + " credits</b> in total.");
|
|
||||||
|
|
||||||
|
sb.append(String.format("<br>You have earned <b>%d credits</b> in total.", creds));
|
||||||
sb.append("</html>");
|
sb.append("</html>");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
@@ -378,8 +375,8 @@ public class Gui_WinLose extends JFrame implements NewConstants {
|
|||||||
|
|
||||||
protected void giveBooster()
|
protected void giveBooster()
|
||||||
{
|
{
|
||||||
String[] boosterTypes = {"Legacy", "Extended", "T2"};
|
String[] boosterTypes = {"Legacy", "Extended", "Standard"};
|
||||||
String boosterType = GuiUtils.getChoice("Choose prize booster type", boosterTypes);
|
String boosterType = GuiUtils.getChoice("Choose a format of cards for the prize booster", boosterTypes);
|
||||||
List<String> setsToGive = null;
|
List<String> setsToGive = null;
|
||||||
if (boosterTypes[2].equals(boosterType)) { // T2
|
if (boosterTypes[2].equals(boosterType)) { // T2
|
||||||
setsToGive = new ArrayList<String>();
|
setsToGive = new ArrayList<String>();
|
||||||
|
|||||||
Reference in New Issue
Block a user