mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Adventure mode - Adjustments
* Fixed gold display on SpellSmithScene.java. * Added Spirit Guard icon.
This commit is contained in:
@@ -126,6 +126,7 @@ public class SpellSmithScene extends UIScene {
|
|||||||
cost_low = -1; cost_high = 9999;
|
cost_low = -1; cost_high = 9999;
|
||||||
rarity = "";
|
rarity = "";
|
||||||
currentPrice = (int)basePrice;
|
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 : colorButtons.entrySet()) B.getValue().setColor(Color.WHITE);
|
||||||
for(Map.Entry<String, TextButton> B : costButtons.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() {
|
public void filterResults() {
|
||||||
RewardData R = new RewardData();
|
RewardData R = new RewardData();
|
||||||
Iterable<PaperCard> P = R.getAllCards();
|
Iterable<PaperCard> P = R.getAllCards();
|
||||||
|
goldLabel.setText("Gold: "+ Current.player().getGold());
|
||||||
float totalCost = basePrice * Current.player().goldModifier();
|
float totalCost = basePrice * Current.player().goldModifier();
|
||||||
final List<String> colorFilter = new ArrayList<>();
|
final List<String> colorFilter = new ArrayList<>();
|
||||||
for(Map.Entry<String, TextButton> B : colorButtons.entrySet())
|
for(Map.Entry<String, TextButton> B : colorButtons.entrySet())
|
||||||
|
|||||||
@@ -231,3 +231,6 @@ DungeonMap
|
|||||||
FortuneCoin
|
FortuneCoin
|
||||||
xy: 336,64
|
xy: 336,64
|
||||||
size: 16, 16
|
size: 16, 16
|
||||||
|
SpiritGuard
|
||||||
|
xy: 192,160
|
||||||
|
size: 16, 16
|
||||||
Reference in New Issue
Block a user