Commit Graph

7 Commits

Author SHA1 Message Date
LemonNexus b28b3915fd feat(combat): add critical hit tracking and filter Universal Ammo
- Add English critical hit pattern: 'Critical hit - Additional damage! You inflicted X'
- Display 💀 CRITICAL notifications with damage
- Filter out Universal Ammo from loot (converted shrapnel, not real loot)
- Critical hits count toward damage_dealt stats

Fixes loot inflation from shrapnel conversion and tracks critical strikes.
2026-02-08 18:15:00 +00:00
LemonNexus 0f19155dd8 feat(gear): add weapon tier gain tracking
- Add English tier pattern: 'Your Weapon has reached tier X'
- Track weapon tier progression in real-time
- Display ⬆️ TIER UP notifications
- Include weapon_tiers in session summary

Gear progression now tracked alongside skills and loot.
2026-02-08 18:12:41 +00:00
LemonNexus 555bea7c33 feat(skills): add skill gains and level up tracking
- Fix skill pattern: 'You have gained' (not just 'You gained')
- Add level_up pattern: 'You have advanced to level X in Skill'
- Track skill experience gains in real-time
- Display 🎉 LEVEL UP notifications
- Include level_ups in session summary
- Add level_up event subscription

Skill progression now tracked alongside combat and loot events.
2026-02-08 18:11:33 +00:00
LemonNexus e3f3a595fb feat(combat): add damage tracking and combat events
- Add English damage taken pattern: 'You took X points of damage'
- Add damage_dealt, damage_taken, evade subscriptions in main.py
- Update evade pattern for 'The target Evaded your attack' and 'The attack missed you'
- Show combat stats in session summary
- Display real-time damage dealt/taken/evade events

Combat events now tracked alongside loot for complete hunting analytics.
2026-02-08 18:07:06 +00:00
LemonNexus bd506e53c2 fix(logs): update English patterns for actual game output format
- English loot uses parentheses: 'x (2)' not 'x 2'
- Add English damage pattern: 'You inflicted X points of damage'
- Support both Swedish and English damage dealt events
- Fix empty bracket pattern: [System] [] Message

Tested with real log output showing English client format.
2026-02-08 17:54:48 +00:00
LemonNexus c511ff2042 feat(logs): add Swedish language support from real game logs
- Add Swedish regex patterns based on real chat.log from user session
- Support loot, globals, skills, damage, healing, weapon tier
- Add real-chat-sample.log for testing (14 events parsed)
- LogWatcher now parses Swedish game client output correctly
2026-02-08 17:30:31 +00:00
LemonNexus 4efbf39e7e feat(core): implement LogWatcher with Observer Pattern
- Create LogWatcher using Observer Pattern for loose coupling
- Implement compiled regex patterns for EU chat.log parsing:
  - Global/HoF detection
  - Regular loot parsing
  - Skill gain tracking
  - Weapon decay monitoring
- Add async polling loop (1s interval for 60+ FPS compliance)
- Implement MockLogGenerator for testing
- Efficient file seeking (only reads new lines)
- Event types: global, hof, loot, skill, decay, kill, enhancer_break

Performance optimized: minimal CPU, non-blocking async.
2026-02-08 16:56:49 +00:00