Adventure mode - Adjustments

* Fixed gold display on SpellSmithScene.java.
* Added Spirit Guard icon.
This commit is contained in:
Magpie
2022-06-24 09:23:01 +02:00
parent 546d068bae
commit 7667c4522d
2 changed files with 5 additions and 0 deletions

View File

@@ -126,6 +126,7 @@ public class SpellSmithScene extends UIScene {
cost_low = -1; cost_high = 9999;
rarity = "";
currentPrice = (int)basePrice;
goldLabel.setText("Gold: "+ Current.player().getGold());
for(Map.Entry<String, TextButton> B : colorButtons.entrySet()) B.getValue().setColor(Color.WHITE);
for(Map.Entry<String, TextButton> B : costButtons.entrySet()) B.getValue().setColor(Color.WHITE);
@@ -228,6 +229,7 @@ public class SpellSmithScene extends UIScene {
public void filterResults() {
RewardData R = new RewardData();
Iterable<PaperCard> P = R.getAllCards();
goldLabel.setText("Gold: "+ Current.player().getGold());
float totalCost = basePrice * Current.player().goldModifier();
final List<String> colorFilter = new ArrayList<>();
for(Map.Entry<String, TextButton> B : colorButtons.entrySet())

View File

@@ -231,3 +231,6 @@ DungeonMap
FortuneCoin
xy: 336,64
size: 16, 16
SpiritGuard
xy: 192,160
size: 16, 16