aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGrowlingGrizzly <52770460+GrowlingGrizzly@users.noreply.github.com>2024-02-23 04:24:42 -0500
committerGitHub <noreply@github.com>2024-02-23 10:24:42 +0100
commitce557a70d776926ceee3d43f0ccf7b34bc97fe31 (patch)
tree1401b8e48564296db1f429b124b7bdf6d449946a /src
parent62f7b4ef0d7f83a55d6d12b0f1b989ec8dc80c80 (diff)
downloadNotEnoughUpdates-ce557a70d776926ceee3d43f0ccf7b34bc97fe31.tar.gz
NotEnoughUpdates-ce557a70d776926ceee3d43f0ccf7b34bc97fe31.tar.bz2
NotEnoughUpdates-ce557a70d776926ceee3d43f0ccf7b34bc97fe31.zip
fix: Incorrect powder costs in pv (#1028)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/MiningPage.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/MiningPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/MiningPage.java
index dd626796..a1dba262 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/MiningPage.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/MiningPage.java
@@ -287,7 +287,7 @@ public class MiningPage extends GuiProfileViewerPage {
"",
EnumChatFormatting.GRAY + "Cost",
EnumChatFormatting.DARK_GREEN +
- StringUtils.formatNumber(Math.pow(miningFortune + 2, 3)) +
+ StringUtils.formatNumber((int) Math.pow(miningFortune + 2, 3.05)) +
" Mithril Powder"
)
: Lists.newArrayList(
@@ -331,7 +331,7 @@ public class MiningPage extends GuiProfileViewerPage {
"",
EnumChatFormatting.GRAY + "Cost",
EnumChatFormatting.DARK_GREEN +
- StringUtils.formatNumber((int) Math.pow(tittyInsane + 2, 3)) +
+ StringUtils.formatNumber((int) Math.pow(tittyInsane + 2, 3.1)) +
" Mithril Powder"
)
: Lists.newArrayList(
@@ -929,7 +929,7 @@ public class MiningPage extends GuiProfileViewerPage {
"",
EnumChatFormatting.GRAY + "Cost",
EnumChatFormatting.LIGHT_PURPLE +
- StringUtils.formatNumber(Math.pow(miningSpeed2 + 2, 3)) +
+ StringUtils.formatNumber((int) Math.pow(miningSpeed2 + 2, 3.2)) +
" Gemstone Powder"
)
: Lists.newArrayList(
@@ -1169,7 +1169,7 @@ public class MiningPage extends GuiProfileViewerPage {
"",
EnumChatFormatting.GRAY + "Cost",
EnumChatFormatting.DARK_GREEN +
- StringUtils.formatNumber((int) Math.pow(crystallized + 2, 2.4)) +
+ StringUtils.formatNumber((int) Math.pow(crystallized + 2, 3.4)) +
" Mithril Powder"
)
: Lists.newArrayList(