diff --git a/ExperiencePenalty.html b/ExperiencePenalty.html index edd5758..7576e7a 100644 --- a/ExperiencePenalty.html +++ b/ExperiencePenalty.html @@ -37,12 +37,14 @@ font-size: 150%; font-weight: bold; } + .adjustment-label { font-size: 125%; font-weight: bold; margin-bottom: 10px; } + .adjustment-sublabel { font-size: 75%; @@ -83,7 +85,7 @@

Experience Penalty

-
+
@@ -108,7 +110,20 @@

Experience Penalty

+
-
+
+ +
(version: 2.30.1)
+ + + + + + +
951.0
961.0
971.0
981.0
991.0
+
+
+
@@ -120,7 +135,7 @@

Experience Penalty

951.0 / 1.0650
-
+
(updated: Mar 29 2023)
@@ -133,7 +148,7 @@

Experience Penalty

-
+
(video date: Mar 3 2022)
@@ -147,32 +162,50 @@

Experience Penalty

- + + - - + + + + + + + + + +
+
+
0%
+
(0% rate)
+ +
+
-
+
0%
(0% rate)
-
a 100xp rhoa gives you 100xp
+
-
+
0%
(0% XP rate)
-
a 100xp rhoa gives you 100xp
+
-
+
0%
(0% XP rate)
-
a 100xp rhoa gives you 100xp
+
+ +
a 10000xp rhoa will give you
+
100xp
100xp
100xp
100xp
20%
(0% drop rate)
@@ -214,6 +247,12 @@

Experience Penalty

refresh_calculation(); function refresh_calculation() { + const penalty_pob = [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0]; const penalty_poewiki = [ 1.0 / 1.0650, 1.0 / 1.1150, @@ -237,6 +276,12 @@

Experience Penalty

const playerLevel = Math.max(1, Math.min(99, parseInt(playerLevelElement.value) || 1)); const areaLevel = Math.max(1, Math.min(99, parseInt(areaLevelElement.value) || 1)); + calculate_xp_and_set_dom( + playerLevel, areaLevel, penalty_pob, + document.getElementById("penaltyPoB"), + document.getElementById("penaltyPoBRate"), + document.getElementById("penaltyPoBExample")); + calculate_xp_and_set_dom( playerLevel, areaLevel, penalty_poewiki, document.getElementById("penaltyPoEWiki"), @@ -286,7 +331,7 @@

Experience Penalty

element.innerHTML = (1.0 - xpMultiplier).toLocaleString(undefined, { style: 'percent', minimumFractionDigits: 2 }); elementrate.innerHTML = "(" + xpMultiplier.toLocaleString(undefined, { style: 'percent', minimumFractionDigits: 2 }) + " XP rate)"; - elementexample.innerHTML = "a 10000xp rhoa gives you " + parseInt(10000 * xpMultiplier) + "xp"; + elementexample.innerHTML = parseInt(10000 * xpMultiplier) + "xp"; } function calculate_xp_actual(playerLevel, areaLevel, penalty)