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