Update TaipanShopLogic.java

little fix
This commit is contained in:
Vikramb987
2019-04-12 09:06:08 -06:00
committed by GitHub
parent f0416db9c2
commit 49a62c4a4d

View File

@@ -24,7 +24,7 @@ public class TaipanShopLogic extends Player {
public String updatePrices() { public String updatePrices() {
String s = "\t" + getName() + ", the price of "; String s = "\t" + getName() + ", the price of ";
String a = ""; String a = "";
double value = 0 * Math.random(); double value = 80 * Math.random();
Random rand = new Random(); Random rand = new Random();
setOpiumPrice((rand.nextInt(201) + 60) * 100); setOpiumPrice((rand.nextInt(201) + 60) * 100);
setSilkPrice((rand.nextInt(201) + 60) * 10); setSilkPrice((rand.nextInt(201) + 60) * 10);