Apply bestiary XP bonus to all difficulties
This commit is contained in:
@@ -159,6 +159,10 @@
|
|||||||
function displayValue(row, key) {
|
function displayValue(row, key) {
|
||||||
const value = row[key];
|
const value = row[key];
|
||||||
|
|
||||||
|
if (key === "exp" && row.difficulty !== "Ultimate") {
|
||||||
|
return Math.round(Number(value || 0) * xpBonusMultiplier());
|
||||||
|
}
|
||||||
|
|
||||||
if (row.difficulty !== "Ultimate") {
|
if (row.difficulty !== "Ultimate") {
|
||||||
return value ?? "";
|
return value ?? "";
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -113,6 +113,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="bestiary-tables.js?v=xp-bonus-rerender-2" defer></script>
|
<script src="bestiary-tables.js?v=xp-bonus-all-difficulties-1" defer></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user