Skip to content

Commit

Permalink
Update PW.java
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed Feb 24, 2025
1 parent e599440 commit 4542917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/link/locutus/discord/util/PW.java
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ public static double cityCost(int from, int to, boolean manifestDestiny, boolean
// }

public static double nextCityCost(int currentCity, boolean manifestDestiny, boolean cityPlanning, boolean advCityPlanning, boolean metPlanning, boolean govSupportAgency, boolean bureauOfDomesticAffairs) {
double cost = Math.max((currentCity + 1) * 100000, 100000 * Math.pow((currentCity + 1) - (top20AverageQuarter), 3) + 150000 * ((currentCity + 1) - (top20AverageQuarter)) + 75000);
double cost = Math.max(Math.pow(currentCity + 1, 2) * 100000, 100000 * Math.pow((currentCity + 1) - (top20AverageQuarter), 3) + 150000 * ((currentCity + 1) - (top20AverageQuarter)) + 75000);
if (manifestDestiny) {
double factor = 0.05;
if (govSupportAgency) factor += 0.025;
Expand Down

0 comments on commit 4542917

Please sign in to comment.