Commit Graph

39 Commits

Author SHA1 Message Date
FLORIAN GUSTIN 38c7feeed7 changing maul color 2026-03-24 13:20:41 +01:00
FLORIAN GUSTIN 74e4ddab6f fix on maul queue 2026-03-24 13:15:17 +01:00
FLORIAN GUSTIN fc73812baa adding maul queue 2026-03-24 02:37:08 +01:00
Meow a95aeeb637 new module registry to warn players about new modules 2026-03-23 14:41:40 +01:00
Meow e3803aa35f swingtimer hook for scrm 2026-03-13 13:40:38 +01:00
Meow f9f0c8f2e9 Revert "Added swing timer hook for scrm"
This reverts commit 99dbd168a2.
2026-03-13 13:39:19 +01:00
Meow 99dbd168a2 Added swing timer hook for scrm 2026-03-13 13:37:13 +01:00
Meow 80062535d9 update for swing timer on miss/dodge/parry 2026-03-06 03:47:54 +01:00
Meow 0337347cef added hunter check for glowing line 2026-03-05 22:08:13 +01:00
Meow 48c5d50f51 Fix swing timer not resetting on resisted/missed spells
The swing timer now correctly resets when your spell is resisted or misses. Previously, a resisted Moonfire (for example) would not reset the swing timer bar even though the server had already reset your actual swing — causing the bar to desync until the next auto-attack.
2026-03-05 04:09:56 +01:00
Meow c0bd8cb4cf swingtimer update 2026-03-04 22:40:08 +01:00
Meow d3a851b7ed swingtimer change
Swing timer now hides naturally after the timer expires instead of using a fixed 5-second out-of-combat delay
2026-03-04 21:09:05 +01:00
Meow 31ac469812 added speed for ranged and offhand 2026-03-04 19:27:56 +01:00
Meow dbadbc9a18 forgot some cleanups 2026-03-04 19:23:43 +01:00
Meow 81aa00821e removed debug messages 2026-03-04 19:18:55 +01:00
Meow bdfc13bb08 swingtimer rework 2026-03-04 19:18:01 +01:00
Meow c9468e4033 fix: swing timer reset bugs (extra attacks, parry, slam)
Extra attacks (Sword Specialization, Windfury, Hand of Justice) no longer double the swing timer. Added fallback detection for servers that don't set HITINFO_NOACTION correctly: if AUTO_ATTACK_SELF fires while more than 20% of the current swing remains, it's treated as an extra attack and ignored.
Parry reset now uses correct Vanilla mechanic: resets timer to exactly 60% of weapon speed instead of incorrectly subtracting 40% from remaining time.
Slam now hard-resets the swing timer from now instead of chaining from the previous nextSwing, which caused inflated swing times (e.g. 3.76s showing as 4.3s).
2026-03-04 00:13:37 +01:00
Meow fd79a7e776 possible fix for swingtimer.lua
- Added slam and more check mechanics for swing timer.
2026-03-03 23:41:36 +01:00
Meow c7aca0de99 GUID replacements
* Replace all `local _, guid = UnitExists(unit)` with `GetUnitGUID(unit)` (Nampower 3.0.0+)
* Bump minimum required Nampower version to 3.0.0
2026-03-02 10:41:49 +01:00
Meow b11deceb26 Fixed ResetSwingTimers scope error causing nil call in OnUpdate
Fixed ResetSwingTimers scope error causing nil call in OnUpdate
2026-02-26 20:14:25 +01:00
Meow 73caedb9ff possible fix for swing timer vanishing sometimes
possible fix for swing timer vanishing sometimes
2026-02-26 16:18:46 +01:00
Meow 52f212d329 swingtimer fix for warriors
Heoric strike now is shown within the swing timer.
2026-02-23 18:40:16 +01:00
Meow 8c9aa84f91 fixed swing timer to show bar fader for warrior and rogues again 2026-02-21 20:46:10 +01:00
Meow 50daec8b61 added throttle of 60fps update rate for swing timer 2026-02-21 15:23:19 +01:00
Meow 1f2ded45c5 Swingtimer adjustments
- With nampower we have now real timers for offhand, main hand and ranged!
- changed the ranged frame to have it's own moveable bar.
2026-02-21 15:16:10 +01:00
Meow 570ba05a93 possible fix to NOT detect windfury procs as offhand swing 2026-02-21 05:32:55 +01:00
Meow 6f28fb3730 Added warn color for hunters ranged swing timers (hunters only)
Added warn color for hunters ranged swing timers (hunters only)
2026-02-20 16:01:01 +01:00
Meow 92e22becce Added very accurate ranged swing timer.
Added very accurate ranged swing timer.
2026-02-20 15:14:16 +01:00
Meow 1f3991d004 fix for swing timer.
- Fixed swing timer hiding when you switched the target or had no target. Timer now always runs out showing you when the next swing is available even if you swap targets.
2026-02-19 18:04:23 +01:00
Meow 9e25bf6d2b Revert "fixed swing timer vanishing"
This reverts commit b422a01039.
2026-02-19 17:53:26 +01:00
Meow b422a01039 fixed swing timer vanishing
- Fixed swing timer hiding when you switched the target or had no target. Timer now always runs out showing you when the next swing is available even if you swap targets.
2026-02-19 17:51:32 +01:00
Meow fe93577825 working swingtimer re-written - no errors on load
working swingtimer re-written - no errors on load >.<
2026-02-19 17:16:48 +01:00
Meow ff277d15ad reverted swingtimer changes to old stable version until bugs are fixed...
reverted swingtimer changes to old stable version until bugs are fixed...
2026-02-19 14:48:18 +01:00
Meow a2cdaeb73c reverting last commit since it caused conflicts.
reverting last commit since it caused conflicts.
2026-02-19 07:31:39 +01:00
Meow 862d3e30ee fix for swing timer.
* fixed swing timer incorrectly advancing when HITINFO_NOACTION is set (server did not move swing clock)
2026-02-19 05:13:10 +01:00
Meow 53969ddc01 swing timer fixes and additions
* fixed offhand timer incorrectly showing for 2H weapon users
* fixed sw_texture resolving pfUI.media key correctly instead of passing raw file path
* added proper offhand weapon detection via GetEquippedItem + GetItemStatsField (Nampower), with vanilla API fallback
* added UNIT_DIED event to reset timer when target dies
* added ACTIONBAR_SLOT_CHANGED event to keep HS/Cleave slot cache up to date
* added immediate offhand bar hide when OH weapon is unequipped mid-combat
* added player GUID caching for UNIT_DIED comparison
* added GUI options: texture, font size, show/hide timer text, MH/OH labels, offhand bar, HS/Cleave queue color
* added HS/Cleave queue color coding for Warriors (green = Cleave, yellow = Heroic Strike)
* added unit frame text options: attack speed, min/max damage, unit string, HP/mana display variants, pet name
* removed unreliable dual-wield heuristic guard (mhAge < 0.1)

Co-authored-by: Zedris
2026-02-19 05:04:32 +01:00
Meow f4279be074 fix for swingtimer still showing after target dies.
fix for swingtimer still showing after target dies.
2026-02-18 16:34:35 +01:00
Meow ca2e6c74d7 added offhand swing for swintimer
added offhand swing for swintimer
2026-02-18 16:23:32 +01:00
Meow b5a7e86ab4 new module named swingtimer
new module named swingtimer
2026-02-18 16:13:17 +01:00