Commit Graph

23 Commits

Author SHA1 Message Date
Meow 236a2fce6c perf/fix: port experimental optimizations + focus rework + raidmarkers
Performance optimizations ported from experimental:
- libdebuff: replace 5s startup timer with next-frame defer
- libdebuff: use arg6 auraSlot directly (Nampower 2.29+) instead of GetDebuffSlotMap lookup
- libdebuff: invalidate slotMapCache on PLAYER_TARGET_CHANGED
- nameplates: detect Nampower 2.27.2+ for GUID-based nameplate lookup

Raidmarkers module ported from experimental:
- added raidmarkers.lua
- added config defaults and GUI section
- registered in modules.xml

focus.lua rework:
- removed CastSpellByNameNoQueue (Nampower's CastSpellByName now supports unit tokens/GUIDs natively)
- /focus Name: TargetByName with correct previous target restore + ClearTarget() fallback
- /focus Name: prefix match via SlashCmdList.TARGET when exact match fails
- suppress UI_ERROR_MESSAGE during targeting attempts

swingtimer fixes:
- non-Hunter ranged bar now fills left->right like MH/OH
- fix 1px artifact on Hunter bar center by using Hide() instead of SetWidth(0.1)
2026-02-22 19:08:37 +01:00
Meow a5db589b61 allowed /focus name to even accept just a part of the name to attempt to target the right name 2026-02-22 01:23:04 +01:00
Meow 4b34620b25 changed focus.lua to use CastSpellByName instead of CastSpellByNameNoQueue 2026-02-22 00:44:48 +01:00
Meow 7e10a3670d updated focus.lua to use directly CastSpellByName with arg2
updated focus.lua to use directly CastSpellByName with arg2
2026-02-16 23:25:39 +01:00
Meow def000a7c4 Refactoring: Nampower Integration & SuperWoW Cleanup
* Replaced SuperWoW GUID with native Turtle WoW GUID in focus system
* Added memoization API for `/pfcast` and `/castfocus` performance boost
* Moved Druid mana bar from superwow.lua to nampower.lua
* Cleaned up superwow.lua - removed duplicate/migrated code
* Updated GUI: "Druid Settings" replaces "SuperWoW Settings" header
* Focus system now standalone - no SuperWoW dependency required
2026-02-16 14:20:31 +01:00
Meow 34f5c3eb02 Version 6.1.0 - Raid/Party Frame Fixes
Bugfixes:
- Fixed 40-yard range check not working for raid/party frames
- Fixed aggro indicator not displaying properly on raid/party frames
- Improved aggro cache to only cache positive results for instant detection
- Fixed HP/Mana not updating with "Use Raid Frames for group" enabled
- Added SuperWoW nil-check for SpellInfo
- Added missing events: PARTY_MEMBER_ENABLE, PARTY_MEMBER_DISABLE, PLAYER_UPDATE_RESTING

UI Improvements:
- Share/Hoverbind buttons now show warning when module is disabled
2026-01-08 12:25:18 +01:00
Meow 5d0e195d1e performance update
performance update
2026-01-03 12:58:31 +01:00
shagu cc2b3b4a0e focus: cache unitname and also clear focustarget 2025-01-12 11:47:45 +01:00
shagu ab3d853f02 unitframes: add support for focus target frames 2021-01-18 16:15:45 +01:00
shagu fdbf6715dc focus: enable native focus units for tbc 2020-02-17 18:37:26 +01:00
shagu 40bd1bf881 focus: properly handle focus frame visibility 2019-07-19 21:51:09 +02:00
shagu 580ea51051 focus: always reset unitname when hiding 2019-07-01 20:04:47 +02:00
shagu bf60d77d01 focus: reset focus unit when hiding 2019-06-30 11:24:22 +02:00
shagu e9237b59b2 core: use concrete string based client checks 2019-06-10 17:06:31 +02:00
shagu 0d0fb10c2f focus: add swapfocus command 2019-04-22 13:45:11 +02:00
shagu 4de1690809 focus: only match for exact unitnames 2018-11-02 16:33:26 +01:00
shagu ab01ed5ffc focus: add pfcastfocus as fallback 2018-10-24 20:28:37 +02:00
shagu 454f1806a0 focus: add /castfocus command 2018-09-06 20:34:00 +02:00
EsWoW 0a3cabd962 focus: fix ordering so initial focus is actually shown 2018-04-01 18:08:05 +02:00
shagu 17ccda5db6 focus: add /clearfocus command 2017-07-04 22:56:02 +02:00
shagu 08ef60d37d unitframes: change default focus settings 2017-06-02 18:01:50 +02:00
shagu 3f067b7ac1 unitframes: add focus frame configurations 2017-06-02 18:01:50 +02:00
shagu 6722520e7b unitframes: add focus frame 2017-06-02 18:01:50 +02:00