diff --git a/ui/main_window.py b/ui/main_window.py index fb1c03a..3dcef62 100644 --- a/ui/main_window.py +++ b/ui/main_window.py @@ -962,10 +962,13 @@ class MainWindow(QMainWindow): return # Kill tracking heuristic: - # - Non-Shrapnel loot = definite kill - # - Shrapnel: count as kill every 2 Shrapnel (since mobs drop 1-2 Shrapnel) + # - Non-Shrapnel loot = definite kill (reset Shrapnel counter) + # - Shrapnel: count as kill every 2 Shrapnel if item_name != 'Shrapnel': + # Real loot = 1 kill, and reset Shrapnel counter + # (The Shrapnel we collected belongs to this kill) self.hud.update_stats({'kills_add': 1}) + self._shrapnel_count = 0 else: # Track Shrapnel count for this session if not hasattr(self, '_shrapnel_count'):