Apply bestiary XP bonus to all difficulties

This commit is contained in:
Your Name
2026-06-13 20:12:24 -04:00
parent ae5105f40e
commit cc51e1c9a7
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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
View File
@@ -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>