feat(hud): estimated kills - each loot event = 1 kill
- Every loot batch (You received [item]) = 1 estimated kill - Label shows 'EST. KILLS' to indicate estimated value - Simple and consistent kill tracking
This commit is contained in:
parent
b3d257a42d
commit
8014b63e75
|
|
@ -333,9 +333,9 @@ class HUDOverlay(QWidget):
|
||||||
# Row 1: Damage & Kills & Globals
|
# Row 1: Damage & Kills & Globals
|
||||||
row1 = QHBoxLayout()
|
row1 = QHBoxLayout()
|
||||||
|
|
||||||
# Kills
|
# Kills (Estimated)
|
||||||
kills_layout = QVBoxLayout()
|
kills_layout = QVBoxLayout()
|
||||||
kills_label = QLabel("💀 KILLS")
|
kills_label = QLabel("💀 EST. KILLS")
|
||||||
kills_label.setStyleSheet("font-size: 10px; color: #888888;")
|
kills_label.setStyleSheet("font-size: 10px; color: #888888;")
|
||||||
kills_layout.addWidget(kills_label)
|
kills_layout.addWidget(kills_label)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -958,10 +958,8 @@ class MainWindow(QMainWindow):
|
||||||
if item_name == 'Universal Ammo':
|
if item_name == 'Universal Ammo':
|
||||||
return
|
return
|
||||||
|
|
||||||
# Kill tracking: Only count on non-Shrapnel loot
|
# Estimated Kills: Every loot event = 1 mob killed
|
||||||
# Shrapnel-only mobs will be undercounted, but avoids overcounting
|
self.hud.update_stats({'kills_add': 1})
|
||||||
if item_name != 'Shrapnel':
|
|
||||||
self.hud.update_stats({'kills_add': 1})
|
|
||||||
|
|
||||||
# Queue database write for main thread (SQLite thread safety)
|
# Queue database write for main thread (SQLite thread safety)
|
||||||
if self._current_db_session_id:
|
if self._current_db_session_id:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue