From 1292fa90bd7dbfd972f03bc968c9005e31002a54 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Fri, 30 Jan 2026 23:54:19 +0100 Subject: [PATCH] Profiler/Fixup * handle special sourcemore dungeondifficulty 99 in Profiler summaries (unclear if i'm doing it wrong or if sm.dd:99 is newer than the Profiler) --- static/js/Profiler.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/Profiler.js b/static/js/Profiler.js index 2856b7e0..774d7a3f 100644 --- a/static/js/Profiler.js +++ b/static/js/Profiler.js @@ -6362,7 +6362,7 @@ function ProfilerInventory(_parent) { if (ls != null) { buff += '; ' + ls.text; - if (sm.dd) { + if (sm.dd && sm.dd != 99) { if (sm.dd < 0) { // Dungeon buff += ' ' + (sm.dd < -1 ? LANG.pr_print_heroic : LANG.pr_print_normal); } @@ -8715,7 +8715,7 @@ Listview.templates.inventory = { $WH.ae(td, $WH.ct(Listview.funcBox.getUpperSource(item.source[0], sm))); } - if (sm.dd) { + if (sm.dd && sm.dd != 99) { if (sm.dd < 0) { // Dungeon $WH.ae(td, $WH.ct($WH.sprintf(LANG.lvitem_dd, '', (sm.dd < -1 ? LANG.lvitem_heroic : LANG.lvitem_normal)))); } @@ -8963,7 +8963,7 @@ Listview.templates.gallery = { $WH.ae(s, $WH.ct(Listview.funcBox.getUpperSource(item.source[0], sm))); } - if (sm.dd) { + if (sm.dd && sm.dd != 99) { if (sm.dd < 0) { // Dungeon $WH.ae(s, $WH.ct($WH.sprintf(LANG.lvitem_dd, '', (sm.dd < -1 ? LANG.lvitem_heroic : LANG.lvitem_normal)))); } @@ -9011,7 +9011,7 @@ Listview.templates.gallery = { buff += ' ' + Listview.funcBox.getUpperSource(item.source[0], sm); - if (sm.dd) { + if (sm.dd && sm.dd != 99) { buff += ' ' + (sm.dd < -1 || sm.dd > 2 ? LANG.pr_print_heroic : LANG.pr_print_normal); } }