diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-07-21 22:55:25 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-21 14:55:25 +0200 |
| commit | c619022fe1910f0976397a9bcbecfed9b48c6a19 (patch) | |
| tree | a4fa98ed1901fb5437c0b06f5f845ddb1194ae9d | |
| parent | 5cd601958cb8bd469d650dd6140ea38df30ad902 (diff) | |
| download | notenoughupdates-c619022fe1910f0976397a9bcbecfed9b48c6a19.tar.gz notenoughupdates-c619022fe1910f0976397a9bcbecfed9b48c6a19.tar.bz2 notenoughupdates-c619022fe1910f0976397a9bcbecfed9b48c6a19.zip | |
Fix vampire slayer in pv having wrong percent to max (#1258)
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java index 341cf7c6..c57fd729 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java @@ -1240,6 +1240,8 @@ public class GuiProfileViewer extends GuiScreen { } if (skillName.contains("catacombs")) { return (level.totalXp / DungeonsWeight.CATACOMBS_LEVEL_50_XP) * 100; + } else if (skillName.equalsIgnoreCase("vampire")) { + return (level.totalXp / 2400) * 100; } else if (Weight.SLAYER_NAMES.contains(skillName)) { return (level.totalXp / 1000000) * 100; } else if (skillName.equalsIgnoreCase("social")) { |
