Releases: Ralgathor/LibClassicSwingTimerAPI
2.1.5
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[2.1.5] - 2025-07-07
Changed
- Removed Heroic Throw from list of reset_swing_spells for Mists of Pandaria.
[2.1.4] - 2025-07-07
Added
- Add version support for Mists of Pandaria.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Cataclysm.
[2.1.3] - 2024-09-04
Changed
- Improve first autoshot swing calculation.
- Maelstrom Weapon in SoD P4 prevents swingtimer reset.
- Bump build version support of Classic.
[2.1.2] - 2024-05-18
Fixed
- Fix auto shot cast time calculation.
[2.1.1] - 2024-05-17
Changed
- Improve ranged swing timer accuracy for Classic version. Implemented cast time and retry logic of auto shot.
Fixed
- Added missing UNIT_ATTACK_SPEED update for ranged.
- Fix Autto Attack/Auto Shot interaction for Cataclysm version.
[2.1.0] - 2024-05-15
Added
- Add WeakAuras EVENTS handler. Fire the lib events in Weakaura if the addon is loaded.
[2.0.10] - 2024-05-14
Fixed
- Add Feral Spirit to the reset_swing_spells list for Cataclysm version.
[2.0.9] - 2024-05-14
Fixed
- Add Lava Burst to the reset_swing_spells list for Cataclysm version.
[2.0.8] - 2024-05-13
Fixed
- Fixed attack speed update logic for Paladin in Classic version.
[2.0.7] - 2024-05-13
Fixed
- Fixed extra attacks logic. Extra attacks gain always reset swing timer. Removed skip next attack event logic to reflect current in game behavior.
[2.0.6] - 2024-05-13
Added
- Add version support for Cataclysm.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.5] - 2023-11-20
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.4] - 2023-10-11
Added
- Add Heroic Throw to the list of spells that reset swing timer.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Wraith.
[2.0.3] - 2023-07-13
Added
- Add Shattering Throw to the list of spells that reset swing timer.
Changed
- Bump tocversion support of Retails.
- Bump classicversion support of Wraith.
[2.0.2] - 2023-03-31
Changed
- Update tocversion support of Retails.
Fixed
- Fix lib:UNIT_ATTACK_SPEED function unitGUID param.
- Fix Druid specific UNIT_ATTACK_SPEED handler. Spells that remove a druid form and reset the swing now correctly update the swing information.
- Fix lib:ADDON_LOADED function. Allows lib:ADDON_LOADED to correctly initialize when another addon embeds the library.
[2.0.1] - 2023-01-18
Fixed
- Fix LUA error on SwingEnd method call.
[2.0.0] - 2023-01-13
Added
- Added support for target swing timer info.
- Added API EVENTS that reflect both player and target support with following format UNIT_SWING_TIMER_.
- Backward compatibility of previous API EVENTS with SWING_TIMER_ format for player unit.
- New api method UnitSwingTimerInfo to get swing informations for a specific unit.
- Added Backward compatibility for SWING_TIMER_INFO_INITIALIZED event
Changed
- Update support of Retails to Dragonflight.
- Bump Wraith version to Ulduar patch.
[1.4.2] - 2022-11-02
Fixed
- Added timer nil check for SwingEnd method. Prevent nil value error.
[1.4.1] - 2022-10-07
Fixed
- Druid attack speeds are no longer snapshotted when the druid's form changes when the swing timer is full
- Druid attack speed changes following mid-swing form changes are now correctly reported when the swing ends.
- Fix Slam pause. Prevent LUA error when Slam is casting without autoattack toggled on or if auto attack is toggle of during the cast.
- Fix main and off hand timer cancellation on UNIT_ATTACK_SPEED event. Prevent timer to be cancelled when the UNIT_ATTACK_SPEED is not modify.
[1.4.0] - 2022-09-26
Added
- Added a callback event that gets fired once the library has been properly initialised, to let addons know they can start using the library's SwingTimerInfo method.
Fixed
- Fix consistency of SWING_TIMER_STOP event fire logic.
[1.3.2] - 2022-09-10
Changed
- Update spells data.
Fixed
- Removed Auto Shot from the reset_swing_spells for Retails. Auto Shot reset is managed with the ranged_swing list for this game version.
[1.3.1] - 2022-09-07
Changed
- Setup lib variables on PLAYER_ENTERING_WORLD instead of ADDON_LOADED.
Fixed
- Fix Paladin Seal of the Crusader snapshot logic for Classic version. Prevent UNIT_ATTACK_SPEED update when aura is gained or removed.
- Fix Ranged swing reset logic for Classic version compatibility.
[1.3.0] - 2022-09-05
Added
- Added support for all active game version.
- Added Retails swing reset specificity.
- Added game version ranged swing reset specificity.
- Added swing reset on channeled spell stop.
- Project now supports BigWigs packager and now no longer contains source of other embeds
Fixed
- Fix preventSwingReset flag. Prevent flag from being stuck to true after channeling a spell.
- Fix to version detection logic
- Attack speeds are now repolled 3s after addon init to resolve UnitAttackSpeed wrongly returning zero on first load of the game.
[1.2.0] - 2022-08-30
Added
- Add Feign Death ranged swing reset.
[1.1.1] - 2022-08-29
Canged
- Changed the logic to set prevent_reset_swing_auras flag. Set the value on SPELL_AURA_APPLIED and SPELL_AURA_REMOVED instead of setting the value on UNIT_SPELLCAST_START.
Fixed
- Fix auto attack speed change offhand.
[1.1.0] - 2022-08-27
Added
- Added logic to ignore some Attack speed update. Prevent to update swing timer on UNIT_ATTACK_SPEED when Druid shapeshift.
- Added spell id for swing spell reset for Warlok, Mage and Priest Shoot ability.
- Added swing timer pause logic (Warrior Slam mechanic).
- Added LibStub version managment.
- Added channelled spell interaction logic.
- Added auto shot timer reset on Hunter Volley damage.
Changed
- Init the Lib variable after ADDON_LOADED event.
Fixed
- Fix Aura prevent swing reset check logic. Prevent looping multiple time in unit buff and correctly check spellId on prevent_reset_swing_auras Object.
- Fix Parry haste calculation.
- Fix target unit event handle as player unit event. Add unit value test that insure to only handle player events.
- Fix auto attack spell cast reseting casting flag.
- Fix ranged speed value. Remove multiplier logic as UnitRangedDamage API method now return the correct ranged speed value.
[1.0.0] - 2022-08-23
Added
- Initial version of the lib based on SwingTimerAPI weakaura
2.1.4
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[2.1.4] - 2025-07-07
Added
- Add version support for Mists of Pandaria.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Cataclysm.
[2.1.3] - 2024-09-04
Changed
- Improve first autoshot swing calculation.
- Maelstrom Weapon in SoD P4 prevents swingtimer reset.
- Bump build version support of Classic.
[2.1.2] - 2024-05-18
Fixed
- Fix auto shot cast time calculation.
[2.1.1] - 2024-05-17
Changed
- Improve ranged swing timer accuracy for Classic version. Implemented cast time and retry logic of auto shot.
Fixed
- Added missing UNIT_ATTACK_SPEED update for ranged.
- Fix Autto Attack/Auto Shot interaction for Cataclysm version.
[2.1.0] - 2024-05-15
Added
- Add WeakAuras EVENTS handler. Fire the lib events in Weakaura if the addon is loaded.
[2.0.10] - 2024-05-14
Fixed
- Add Feral Spirit to the reset_swing_spells list for Cataclysm version.
[2.0.9] - 2024-05-14
Fixed
- Add Lava Burst to the reset_swing_spells list for Cataclysm version.
[2.0.8] - 2024-05-13
Fixed
- Fixed attack speed update logic for Paladin in Classic version.
[2.0.7] - 2024-05-13
Fixed
- Fixed extra attacks logic. Extra attacks gain always reset swing timer. Removed skip next attack event logic to reflect current in game behavior.
[2.0.6] - 2024-05-13
Added
- Add version support for Cataclysm.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.5] - 2023-11-20
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.4] - 2023-10-11
Added
- Add Heroic Throw to the list of spells that reset swing timer.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Wraith.
[2.0.3] - 2023-07-13
Added
- Add Shattering Throw to the list of spells that reset swing timer.
Changed
- Bump tocversion support of Retails.
- Bump classicversion support of Wraith.
[2.0.2] - 2023-03-31
Changed
- Update tocversion support of Retails.
Fixed
- Fix lib:UNIT_ATTACK_SPEED function unitGUID param.
- Fix Druid specific UNIT_ATTACK_SPEED handler. Spells that remove a druid form and reset the swing now correctly update the swing information.
- Fix lib:ADDON_LOADED function. Allows lib:ADDON_LOADED to correctly initialize when another addon embeds the library.
[2.0.1] - 2023-01-18
Fixed
- Fix LUA error on SwingEnd method call.
[2.0.0] - 2023-01-13
Added
- Added support for target swing timer info.
- Added API EVENTS that reflect both player and target support with following format UNIT_SWING_TIMER_.
- Backward compatibility of previous API EVENTS with SWING_TIMER_ format for player unit.
- New api method UnitSwingTimerInfo to get swing informations for a specific unit.
- Added Backward compatibility for SWING_TIMER_INFO_INITIALIZED event
Changed
- Update support of Retails to Dragonflight.
- Bump Wraith version to Ulduar patch.
[1.4.2] - 2022-11-02
Fixed
- Added timer nil check for SwingEnd method. Prevent nil value error.
[1.4.1] - 2022-10-07
Fixed
- Druid attack speeds are no longer snapshotted when the druid's form changes when the swing timer is full
- Druid attack speed changes following mid-swing form changes are now correctly reported when the swing ends.
- Fix Slam pause. Prevent LUA error when Slam is casting without autoattack toggled on or if auto attack is toggle of during the cast.
- Fix main and off hand timer cancellation on UNIT_ATTACK_SPEED event. Prevent timer to be cancelled when the UNIT_ATTACK_SPEED is not modify.
[1.4.0] - 2022-09-26
Added
- Added a callback event that gets fired once the library has been properly initialised, to let addons know they can start using the library's SwingTimerInfo method.
Fixed
- Fix consistency of SWING_TIMER_STOP event fire logic.
[1.3.2] - 2022-09-10
Changed
- Update spells data.
Fixed
- Removed Auto Shot from the reset_swing_spells for Retails. Auto Shot reset is managed with the ranged_swing list for this game version.
[1.3.1] - 2022-09-07
Changed
- Setup lib variables on PLAYER_ENTERING_WORLD instead of ADDON_LOADED.
Fixed
- Fix Paladin Seal of the Crusader snapshot logic for Classic version. Prevent UNIT_ATTACK_SPEED update when aura is gained or removed.
- Fix Ranged swing reset logic for Classic version compatibility.
[1.3.0] - 2022-09-05
Added
- Added support for all active game version.
- Added Retails swing reset specificity.
- Added game version ranged swing reset specificity.
- Added swing reset on channeled spell stop.
- Project now supports BigWigs packager and now no longer contains source of other embeds
Fixed
- Fix preventSwingReset flag. Prevent flag from being stuck to true after channeling a spell.
- Fix to version detection logic
- Attack speeds are now repolled 3s after addon init to resolve UnitAttackSpeed wrongly returning zero on first load of the game.
[1.2.0] - 2022-08-30
Added
- Add Feign Death ranged swing reset.
[1.1.1] - 2022-08-29
Canged
- Changed the logic to set prevent_reset_swing_auras flag. Set the value on SPELL_AURA_APPLIED and SPELL_AURA_REMOVED instead of setting the value on UNIT_SPELLCAST_START.
Fixed
- Fix auto attack speed change offhand.
[1.1.0] - 2022-08-27
Added
- Added logic to ignore some Attack speed update. Prevent to update swing timer on UNIT_ATTACK_SPEED when Druid shapeshift.
- Added spell id for swing spell reset for Warlok, Mage and Priest Shoot ability.
- Added swing timer pause logic (Warrior Slam mechanic).
- Added LibStub version managment.
- Added channelled spell interaction logic.
- Added auto shot timer reset on Hunter Volley damage.
Changed
- Init the Lib variable after ADDON_LOADED event.
Fixed
- Fix Aura prevent swing reset check logic. Prevent looping multiple time in unit buff and correctly check spellId on prevent_reset_swing_auras Object.
- Fix Parry haste calculation.
- Fix target unit event handle as player unit event. Add unit value test that insure to only handle player events.
- Fix auto attack spell cast reseting casting flag.
- Fix ranged speed value. Remove multiplier logic as UnitRangedDamage API method now return the correct ranged speed value.
[1.0.0] - 2022-08-23
Added
- Initial version of the lib based on SwingTimerAPI weakaura
v2.1.3
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[2.1.3] - 2024-09-04
Changed
- Improve first autoshot swing calculation.
- Maelstrom Weapon in SoD P4 prevents swingtimer reset.
- Bump build version support of Classic.
[2.1.2] - 2024-05-18
Fixed
- Fix auto shot cast time calculation.
[2.1.1] - 2024-05-17
Changed
- Improve ranged swing timer accuracy for Classic version. Implemented cast time and retry logic of auto shot.
Fixed
- Added missing UNIT_ATTACK_SPEED update for ranged.
- Fix Autto Attack/Auto Shot interaction for Cataclysm version.
[2.1.0] - 2024-05-15
Added
- Add WeakAuras EVENTS handler. Fire the lib events in Weakaura if the addon is loaded.
[2.0.10] - 2024-05-14
Fixed
- Add Feral Spirit to the reset_swing_spells list for Cataclysm version.
[2.0.9] - 2024-05-14
Fixed
- Add Lava Burst to the reset_swing_spells list for Cataclysm version.
[2.0.8] - 2024-05-13
Fixed
- Fixed attack speed update logic for Paladin in Classic version.
[2.0.7] - 2024-05-13
Fixed
- Fixed extra attacks logic. Extra attacks gain always reset swing timer. Removed skip next attack event logic to reflect current in game behavior.
[2.0.6] - 2024-05-13
Added
- Add version support for Cataclysm.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.5] - 2023-11-20
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.4] - 2023-10-11
Added
- Add Heroic Throw to the list of spells that reset swing timer.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Wraith.
[2.0.3] - 2023-07-13
Added
- Add Shattering Throw to the list of spells that reset swing timer.
Changed
- Bump tocversion support of Retails.
- Bump classicversion support of Wraith.
[2.0.2] - 2023-03-31
Changed
- Update tocversion support of Retails.
Fixed
- Fix lib:UNIT_ATTACK_SPEED function unitGUID param.
- Fix Druid specific UNIT_ATTACK_SPEED handler. Spells that remove a druid form and reset the swing now correctly update the swing information.
- Fix lib:ADDON_LOADED function. Allows lib:ADDON_LOADED to correctly initialize when another addon embeds the library.
[2.0.1] - 2023-01-18
Fixed
- Fix LUA error on SwingEnd method call.
[2.0.0] - 2023-01-13
Added
- Added support for target swing timer info.
- Added API EVENTS that reflect both player and target support with following format UNIT_SWING_TIMER_.
- Backward compatibility of previous API EVENTS with SWING_TIMER_ format for player unit.
- New api method UnitSwingTimerInfo to get swing informations for a specific unit.
- Added Backward compatibility for SWING_TIMER_INFO_INITIALIZED event
Changed
- Update support of Retails to Dragonflight.
- Bump Wraith version to Ulduar patch.
[1.4.2] - 2022-11-02
Fixed
- Added timer nil check for SwingEnd method. Prevent nil value error.
[1.4.1] - 2022-10-07
Fixed
- Druid attack speeds are no longer snapshotted when the druid's form changes when the swing timer is full
- Druid attack speed changes following mid-swing form changes are now correctly reported when the swing ends.
- Fix Slam pause. Prevent LUA error when Slam is casting without autoattack toggled on or if auto attack is toggle of during the cast.
- Fix main and off hand timer cancellation on UNIT_ATTACK_SPEED event. Prevent timer to be cancelled when the UNIT_ATTACK_SPEED is not modify.
[1.4.0] - 2022-09-26
Added
- Added a callback event that gets fired once the library has been properly initialised, to let addons know they can start using the library's SwingTimerInfo method.
Fixed
- Fix consistency of SWING_TIMER_STOP event fire logic.
[1.3.2] - 2022-09-10
Changed
- Update spells data.
Fixed
- Removed Auto Shot from the reset_swing_spells for Retails. Auto Shot reset is managed with the ranged_swing list for this game version.
[1.3.1] - 2022-09-07
Changed
- Setup lib variables on PLAYER_ENTERING_WORLD instead of ADDON_LOADED.
Fixed
- Fix Paladin Seal of the Crusader snapshot logic for Classic version. Prevent UNIT_ATTACK_SPEED update when aura is gained or removed.
- Fix Ranged swing reset logic for Classic version compatibility.
[1.3.0] - 2022-09-05
Added
- Added support for all active game version.
- Added Retails swing reset specificity.
- Added game version ranged swing reset specificity.
- Added swing reset on channeled spell stop.
- Project now supports BigWigs packager and now no longer contains source of other embeds
Fixed
- Fix preventSwingReset flag. Prevent flag from being stuck to true after channeling a spell.
- Fix to version detection logic
- Attack speeds are now repolled 3s after addon init to resolve UnitAttackSpeed wrongly returning zero on first load of the game.
[1.2.0] - 2022-08-30
Added
- Add Feign Death ranged swing reset.
[1.1.1] - 2022-08-29
Canged
- Changed the logic to set prevent_reset_swing_auras flag. Set the value on SPELL_AURA_APPLIED and SPELL_AURA_REMOVED instead of setting the value on UNIT_SPELLCAST_START.
Fixed
- Fix auto attack speed change offhand.
[1.1.0] - 2022-08-27
Added
- Added logic to ignore some Attack speed update. Prevent to update swing timer on UNIT_ATTACK_SPEED when Druid shapeshift.
- Added spell id for swing spell reset for Warlok, Mage and Priest Shoot ability.
- Added swing timer pause logic (Warrior Slam mechanic).
- Added LibStub version managment.
- Added channelled spell interaction logic.
- Added auto shot timer reset on Hunter Volley damage.
Changed
- Init the Lib variable after ADDON_LOADED event.
Fixed
- Fix Aura prevent swing reset check logic. Prevent looping multiple time in unit buff and correctly check spellId on prevent_reset_swing_auras Object.
- Fix Parry haste calculation.
- Fix target unit event handle as player unit event. Add unit value test that insure to only handle player events.
- Fix auto attack spell cast reseting casting flag.
- Fix ranged speed value. Remove multiplier logic as UnitRangedDamage API method now return the correct ranged speed value.
[1.0.0] - 2022-08-23
Added
- Initial version of the lib based on SwingTimerAPI weakaura
v2.1.2
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[2.1.2] - 2024-05-18
Fixed
- Fix auto shot cast time calculation.
[2.1.1] - 2024-05-17
Changed
- Improve ranged swing timer accuracy for Classic version. Implemented cast time and retry logic of auto shot.
Fixed
- Added missing UNIT_ATTACK_SPEED update for ranged.
- Fix Autto Attack/Auto Shot interaction for Cataclysm version.
[2.1.0] - 2024-05-15
Added
- Add WeakAuras EVENTS handler. Fire the lib events in Weakaura if the addon is loaded.
[2.0.10] - 2024-05-14
Fixed
- Add Feral Spirit to the reset_swing_spells list for Cataclysm version.
[2.0.9] - 2024-05-14
Fixed
- Add Lava Burst to the reset_swing_spells list for Cataclysm version.
[2.0.8] - 2024-05-13
Fixed
- Fixed attack speed update logic for Paladin in Classic version.
[2.0.7] - 2024-05-13
Fixed
- Fixed extra attacks logic. Extra attacks gain always reset swing timer. Removed skip next attack event logic to reflect current in game behavior.
[2.0.6] - 2024-05-13
Added
- Add version support for Cataclysm.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.5] - 2023-11-20
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.4] - 2023-10-11
Added
- Add Heroic Throw to the list of spells that reset swing timer.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Wraith.
[2.0.3] - 2023-07-13
Added
- Add Shattering Throw to the list of spells that reset swing timer.
Changed
- Bump tocversion support of Retails.
- Bump classicversion support of Wraith.
[2.0.2] - 2023-03-31
Changed
- Update tocversion support of Retails.
Fixed
- Fix lib:UNIT_ATTACK_SPEED function unitGUID param.
- Fix Druid specific UNIT_ATTACK_SPEED handler. Spells that remove a druid form and reset the swing now correctly update the swing information.
- Fix lib:ADDON_LOADED function. Allows lib:ADDON_LOADED to correctly initialize when another addon embeds the library.
[2.0.1] - 2023-01-18
Fixed
- Fix LUA error on SwingEnd method call.
[2.0.0] - 2023-01-13
Added
- Added support for target swing timer info.
- Added API EVENTS that reflect both player and target support with following format UNIT_SWING_TIMER_.
- Backward compatibility of previous API EVENTS with SWING_TIMER_ format for player unit.
- New api method UnitSwingTimerInfo to get swing informations for a specific unit.
- Added Backward compatibility for SWING_TIMER_INFO_INITIALIZED event
Changed
- Update support of Retails to Dragonflight.
- Bump Wraith version to Ulduar patch.
[1.4.2] - 2022-11-02
Fixed
- Added timer nil check for SwingEnd method. Prevent nil value error.
[1.4.1] - 2022-10-07
Fixed
- Druid attack speeds are no longer snapshotted when the druid's form changes when the swing timer is full
- Druid attack speed changes following mid-swing form changes are now correctly reported when the swing ends.
- Fix Slam pause. Prevent LUA error when Slam is casting without autoattack toggled on or if auto attack is toggle of during the cast.
- Fix main and off hand timer cancellation on UNIT_ATTACK_SPEED event. Prevent timer to be cancelled when the UNIT_ATTACK_SPEED is not modify.
[1.4.0] - 2022-09-26
Added
- Added a callback event that gets fired once the library has been properly initialised, to let addons know they can start using the library's SwingTimerInfo method.
Fixed
- Fix consistency of SWING_TIMER_STOP event fire logic.
[1.3.2] - 2022-09-10
Changed
- Update spells data.
Fixed
- Removed Auto Shot from the reset_swing_spells for Retails. Auto Shot reset is managed with the ranged_swing list for this game version.
[1.3.1] - 2022-09-07
Changed
- Setup lib variables on PLAYER_ENTERING_WORLD instead of ADDON_LOADED.
Fixed
- Fix Paladin Seal of the Crusader snapshot logic for Classic version. Prevent UNIT_ATTACK_SPEED update when aura is gained or removed.
- Fix Ranged swing reset logic for Classic version compatibility.
[1.3.0] - 2022-09-05
Added
- Added support for all active game version.
- Added Retails swing reset specificity.
- Added game version ranged swing reset specificity.
- Added swing reset on channeled spell stop.
- Project now supports BigWigs packager and now no longer contains source of other embeds
Fixed
- Fix preventSwingReset flag. Prevent flag from being stuck to true after channeling a spell.
- Fix to version detection logic
- Attack speeds are now repolled 3s after addon init to resolve UnitAttackSpeed wrongly returning zero on first load of the game.
[1.2.0] - 2022-08-30
Added
- Add Feign Death ranged swing reset.
[1.1.1] - 2022-08-29
Canged
- Changed the logic to set prevent_reset_swing_auras flag. Set the value on SPELL_AURA_APPLIED and SPELL_AURA_REMOVED instead of setting the value on UNIT_SPELLCAST_START.
Fixed
- Fix auto attack speed change offhand.
[1.1.0] - 2022-08-27
Added
- Added logic to ignore some Attack speed update. Prevent to update swing timer on UNIT_ATTACK_SPEED when Druid shapeshift.
- Added spell id for swing spell reset for Warlok, Mage and Priest Shoot ability.
- Added swing timer pause logic (Warrior Slam mechanic).
- Added LibStub version managment.
- Added channelled spell interaction logic.
- Added auto shot timer reset on Hunter Volley damage.
Changed
- Init the Lib variable after ADDON_LOADED event.
Fixed
- Fix Aura prevent swing reset check logic. Prevent looping multiple time in unit buff and correctly check spellId on prevent_reset_swing_auras Object.
- Fix Parry haste calculation.
- Fix target unit event handle as player unit event. Add unit value test that insure to only handle player events.
- Fix auto attack spell cast reseting casting flag.
- Fix ranged speed value. Remove multiplier logic as UnitRangedDamage API method now return the correct ranged speed value.
[1.0.0] - 2022-08-23
Added
- Initial version of the lib based on SwingTimerAPI weakaura
v2.1.1
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[2.1.1] - 2024-05-17
Changed
- Improve ranged swing timer accuracy for Classic version. Implemented cast time and retry logic of auto shot.
Fixed
- Added missing UNIT_ATTACK_SPEED update for ranged.
- Fix Autto Attack/Auto Shot interaction for Cataclysm version.
[2.1.0] - 2024-05-15
Added
- Add WeakAuras EVENTS handler. Fire the lib events in Weakaura if the addon is loaded.
[2.0.10] - 2024-05-14
Fixed
- Add Feral Spirit to the reset_swing_spells list for Cataclysm version.
[2.0.9] - 2024-05-14
Fixed
- Add Lava Burst to the reset_swing_spells list for Cataclysm version.
[2.0.8] - 2024-05-13
Fixed
- Fixed attack speed update logic for Paladin in Classic version.
[2.0.7] - 2024-05-13
Fixed
- Fixed extra attacks logic. Extra attacks gain always reset swing timer. Removed skip next attack event logic to reflect current in game behavior.
[2.0.6] - 2024-05-13
Added
- Add version support for Cataclysm.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.5] - 2023-11-20
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.4] - 2023-10-11
Added
- Add Heroic Throw to the list of spells that reset swing timer.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Wraith.
[2.0.3] - 2023-07-13
Added
- Add Shattering Throw to the list of spells that reset swing timer.
Changed
- Bump tocversion support of Retails.
- Bump classicversion support of Wraith.
[2.0.2] - 2023-03-31
Changed
- Update tocversion support of Retails.
Fixed
- Fix lib:UNIT_ATTACK_SPEED function unitGUID param.
- Fix Druid specific UNIT_ATTACK_SPEED handler. Spells that remove a druid form and reset the swing now correctly update the swing information.
- Fix lib:ADDON_LOADED function. Allows lib:ADDON_LOADED to correctly initialize when another addon embeds the library.
[2.0.1] - 2023-01-18
Fixed
- Fix LUA error on SwingEnd method call.
[2.0.0] - 2023-01-13
Added
- Added support for target swing timer info.
- Added API EVENTS that reflect both player and target support with following format UNIT_SWING_TIMER_.
- Backward compatibility of previous API EVENTS with SWING_TIMER_ format for player unit.
- New api method UnitSwingTimerInfo to get swing informations for a specific unit.
- Added Backward compatibility for SWING_TIMER_INFO_INITIALIZED event
Changed
- Update support of Retails to Dragonflight.
- Bump Wraith version to Ulduar patch.
[1.4.2] - 2022-11-02
Fixed
- Added timer nil check for SwingEnd method. Prevent nil value error.
[1.4.1] - 2022-10-07
Fixed
- Druid attack speeds are no longer snapshotted when the druid's form changes when the swing timer is full
- Druid attack speed changes following mid-swing form changes are now correctly reported when the swing ends.
- Fix Slam pause. Prevent LUA error when Slam is casting without autoattack toggled on or if auto attack is toggle of during the cast.
- Fix main and off hand timer cancellation on UNIT_ATTACK_SPEED event. Prevent timer to be cancelled when the UNIT_ATTACK_SPEED is not modify.
[1.4.0] - 2022-09-26
Added
- Added a callback event that gets fired once the library has been properly initialised, to let addons know they can start using the library's SwingTimerInfo method.
Fixed
- Fix consistency of SWING_TIMER_STOP event fire logic.
[1.3.2] - 2022-09-10
Changed
- Update spells data.
Fixed
- Removed Auto Shot from the reset_swing_spells for Retails. Auto Shot reset is managed with the ranged_swing list for this game version.
[1.3.1] - 2022-09-07
Changed
- Setup lib variables on PLAYER_ENTERING_WORLD instead of ADDON_LOADED.
Fixed
- Fix Paladin Seal of the Crusader snapshot logic for Classic version. Prevent UNIT_ATTACK_SPEED update when aura is gained or removed.
- Fix Ranged swing reset logic for Classic version compatibility.
[1.3.0] - 2022-09-05
Added
- Added support for all active game version.
- Added Retails swing reset specificity.
- Added game version ranged swing reset specificity.
- Added swing reset on channeled spell stop.
- Project now supports BigWigs packager and now no longer contains source of other embeds
Fixed
- Fix preventSwingReset flag. Prevent flag from being stuck to true after channeling a spell.
- Fix to version detection logic
- Attack speeds are now repolled 3s after addon init to resolve UnitAttackSpeed wrongly returning zero on first load of the game.
[1.2.0] - 2022-08-30
Added
- Add Feign Death ranged swing reset.
[1.1.1] - 2022-08-29
Canged
- Changed the logic to set prevent_reset_swing_auras flag. Set the value on SPELL_AURA_APPLIED and SPELL_AURA_REMOVED instead of setting the value on UNIT_SPELLCAST_START.
Fixed
- Fix auto attack speed change offhand.
[1.1.0] - 2022-08-27
Added
- Added logic to ignore some Attack speed update. Prevent to update swing timer on UNIT_ATTACK_SPEED when Druid shapeshift.
- Added spell id for swing spell reset for Warlok, Mage and Priest Shoot ability.
- Added swing timer pause logic (Warrior Slam mechanic).
- Added LibStub version managment.
- Added channelled spell interaction logic.
- Added auto shot timer reset on Hunter Volley damage.
Changed
- Init the Lib variable after ADDON_LOADED event.
Fixed
- Fix Aura prevent swing reset check logic. Prevent looping multiple time in unit buff and correctly check spellId on prevent_reset_swing_auras Object.
- Fix Parry haste calculation.
- Fix target unit event handle as player unit event. Add unit value test that insure to only handle player events.
- Fix auto attack spell cast reseting casting flag.
- Fix ranged speed value. Remove multiplier logic as UnitRangedDamage API method now return the correct ranged speed value.
[1.0.0] - 2022-08-23
Added
- Initial version of the lib based on SwingTimerAPI weakaura
v2.1.0
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[2.1.0] - 2024-05-15
Added
- Add WeakAuras EVENTS handler. Fire the lib events in Weakaura if the addon is loaded.
[2.0.10] - 2024-05-14
Fixed
- Add Feral Spirit to the reset_swing_spells list for Cataclysm version.
[2.0.9] - 2024-05-14
Fixed
- Add Lava Burst to the reset_swing_spells list for Cataclysm version.
[2.0.8] - 2024-05-13
Fixed
- Fixed attack speed update logic for Paladin in Classic version.
[2.0.7] - 2024-05-13
Fixed
- Fixed extra attacks logic. Extra attacks gain always reset swing timer. Removed skip next attack event logic to reflect current in game behavior.
[2.0.6] - 2024-05-13
Added
- Add version support for Cataclysm.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.5] - 2023-11-20
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.4] - 2023-10-11
Added
- Add Heroic Throw to the list of spells that reset swing timer.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Wraith.
[2.0.3] - 2023-07-13
Added
- Add Shattering Throw to the list of spells that reset swing timer.
Changed
- Bump tocversion support of Retails.
- Bump classicversion support of Wraith.
[2.0.2] - 2023-03-31
Changed
- Update tocversion support of Retails.
Fixed
- Fix lib:UNIT_ATTACK_SPEED function unitGUID param.
- Fix Druid specific UNIT_ATTACK_SPEED handler. Spells that remove a druid form and reset the swing now correctly update the swing information.
- Fix lib:ADDON_LOADED function. Allows lib:ADDON_LOADED to correctly initialize when another addon embeds the library.
[2.0.1] - 2023-01-18
Fixed
- Fix LUA error on SwingEnd method call.
[2.0.0] - 2023-01-13
Added
- Added support for target swing timer info.
- Added API EVENTS that reflect both player and target support with following format UNIT_SWING_TIMER_.
- Backward compatibility of previous API EVENTS with SWING_TIMER_ format for player unit.
- New api method UnitSwingTimerInfo to get swing informations for a specific unit.
- Added Backward compatibility for SWING_TIMER_INFO_INITIALIZED event
Changed
- Update support of Retails to Dragonflight.
- Bump Wraith version to Ulduar patch.
[1.4.2] - 2022-11-02
Fixed
- Added timer nil check for SwingEnd method. Prevent nil value error.
[1.4.1] - 2022-10-07
Fixed
- Druid attack speeds are no longer snapshotted when the druid's form changes when the swing timer is full
- Druid attack speed changes following mid-swing form changes are now correctly reported when the swing ends.
- Fix Slam pause. Prevent LUA error when Slam is casting without autoattack toggled on or if auto attack is toggle of during the cast.
- Fix main and off hand timer cancellation on UNIT_ATTACK_SPEED event. Prevent timer to be cancelled when the UNIT_ATTACK_SPEED is not modify.
[1.4.0] - 2022-09-26
Added
- Added a callback event that gets fired once the library has been properly initialised, to let addons know they can start using the library's SwingTimerInfo method.
Fixed
- Fix consistency of SWING_TIMER_STOP event fire logic.
[1.3.2] - 2022-09-10
Changed
- Update spells data.
Fixed
- Removed Auto Shot from the reset_swing_spells for Retails. Auto Shot reset is managed with the ranged_swing list for this game version.
[1.3.1] - 2022-09-07
Changed
- Setup lib variables on PLAYER_ENTERING_WORLD instead of ADDON_LOADED.
Fixed
- Fix Paladin Seal of the Crusader snapshot logic for Classic version. Prevent UNIT_ATTACK_SPEED update when aura is gained or removed.
- Fix Ranged swing reset logic for Classic version compatibility.
[1.3.0] - 2022-09-05
Added
- Added support for all active game version.
- Added Retails swing reset specificity.
- Added game version ranged swing reset specificity.
- Added swing reset on channeled spell stop.
- Project now supports BigWigs packager and now no longer contains source of other embeds
Fixed
- Fix preventSwingReset flag. Prevent flag from being stuck to true after channeling a spell.
- Fix to version detection logic
- Attack speeds are now repolled 3s after addon init to resolve UnitAttackSpeed wrongly returning zero on first load of the game.
[1.2.0] - 2022-08-30
Added
- Add Feign Death ranged swing reset.
[1.1.1] - 2022-08-29
Canged
- Changed the logic to set prevent_reset_swing_auras flag. Set the value on SPELL_AURA_APPLIED and SPELL_AURA_REMOVED instead of setting the value on UNIT_SPELLCAST_START.
Fixed
- Fix auto attack speed change offhand.
[1.1.0] - 2022-08-27
Added
- Added logic to ignore some Attack speed update. Prevent to update swing timer on UNIT_ATTACK_SPEED when Druid shapeshift.
- Added spell id for swing spell reset for Warlok, Mage and Priest Shoot ability.
- Added swing timer pause logic (Warrior Slam mechanic).
- Added LibStub version managment.
- Added channelled spell interaction logic.
- Added auto shot timer reset on Hunter Volley damage.
Changed
- Init the Lib variable after ADDON_LOADED event.
Fixed
- Fix Aura prevent swing reset check logic. Prevent looping multiple time in unit buff and correctly check spellId on prevent_reset_swing_auras Object.
- Fix Parry haste calculation.
- Fix target unit event handle as player unit event. Add unit value test that insure to only handle player events.
- Fix auto attack spell cast reseting casting flag.
- Fix ranged speed value. Remove multiplier logic as UnitRangedDamage API method now return the correct ranged speed value.
[1.0.0] - 2022-08-23
Added
- Initial version of the lib based on SwingTimerAPI weakaura
v2.0.10
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[2.0.10] - 2024-05-14
Fixed
- Add Feral Spirit to the reset_swing_spells list for Cataclysm version.
[2.0.9] - 2024-05-14
Fixed
- Add Lava Burst to the reset_swing_spells list for Cataclysm version.
[2.0.8] - 2024-05-13
Fixed
- Fixed attack speed update logic for Paladin in Classic version.
[2.0.7] - 2024-05-13
Fixed
- Fixed extra attacks logic. Extra attacks gain always reset swing timer. Removed skip next attack event logic to reflect current in game behavior.
[2.0.6] - 2024-05-13
Added
- Add version support for Cataclysm.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.5] - 2023-11-20
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.4] - 2023-10-11
Added
- Add Heroic Throw to the list of spells that reset swing timer.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Wraith.
[2.0.3] - 2023-07-13
Added
- Add Shattering Throw to the list of spells that reset swing timer.
Changed
- Bump tocversion support of Retails.
- Bump classicversion support of Wraith.
[2.0.2] - 2023-03-31
Changed
- Update tocversion support of Retails.
Fixed
- Fix lib:UNIT_ATTACK_SPEED function unitGUID param.
- Fix Druid specific UNIT_ATTACK_SPEED handler. Spells that remove a druid form and reset the swing now correctly update the swing information.
- Fix lib:ADDON_LOADED function. Allows lib:ADDON_LOADED to correctly initialize when another addon embeds the library.
[2.0.1] - 2023-01-18
Fixed
- Fix LUA error on SwingEnd method call.
[2.0.0] - 2023-01-13
Added
- Added support for target swing timer info.
- Added API EVENTS that reflect both player and target support with following format UNIT_SWING_TIMER_.
- Backward compatibility of previous API EVENTS with SWING_TIMER_ format for player unit.
- New api method UnitSwingTimerInfo to get swing informations for a specific unit.
- Added Backward compatibility for SWING_TIMER_INFO_INITIALIZED event
Changed
- Update support of Retails to Dragonflight.
- Bump Wraith version to Ulduar patch.
[1.4.2] - 2022-11-02
Fixed
- Added timer nil check for SwingEnd method. Prevent nil value error.
[1.4.1] - 2022-10-07
Fixed
- Druid attack speeds are no longer snapshotted when the druid's form changes when the swing timer is full
- Druid attack speed changes following mid-swing form changes are now correctly reported when the swing ends.
- Fix Slam pause. Prevent LUA error when Slam is casting without autoattack toggled on or if auto attack is toggle of during the cast.
- Fix main and off hand timer cancellation on UNIT_ATTACK_SPEED event. Prevent timer to be cancelled when the UNIT_ATTACK_SPEED is not modify.
[1.4.0] - 2022-09-26
Added
- Added a callback event that gets fired once the library has been properly initialised, to let addons know they can start using the library's SwingTimerInfo method.
Fixed
- Fix consistency of SWING_TIMER_STOP event fire logic.
[1.3.2] - 2022-09-10
Changed
- Update spells data.
Fixed
- Removed Auto Shot from the reset_swing_spells for Retails. Auto Shot reset is managed with the ranged_swing list for this game version.
[1.3.1] - 2022-09-07
Changed
- Setup lib variables on PLAYER_ENTERING_WORLD instead of ADDON_LOADED.
Fixed
- Fix Paladin Seal of the Crusader snapshot logic for Classic version. Prevent UNIT_ATTACK_SPEED update when aura is gained or removed.
- Fix Ranged swing reset logic for Classic version compatibility.
[1.3.0] - 2022-09-05
Added
- Added support for all active game version.
- Added Retails swing reset specificity.
- Added game version ranged swing reset specificity.
- Added swing reset on channeled spell stop.
- Project now supports BigWigs packager and now no longer contains source of other embeds
Fixed
- Fix preventSwingReset flag. Prevent flag from being stuck to true after channeling a spell.
- Fix to version detection logic
- Attack speeds are now repolled 3s after addon init to resolve UnitAttackSpeed wrongly returning zero on first load of the game.
[1.2.0] - 2022-08-30
Added
- Add Feign Death ranged swing reset.
[1.1.1] - 2022-08-29
Canged
- Changed the logic to set prevent_reset_swing_auras flag. Set the value on SPELL_AURA_APPLIED and SPELL_AURA_REMOVED instead of setting the value on UNIT_SPELLCAST_START.
Fixed
- Fix auto attack speed change offhand.
[1.1.0] - 2022-08-27
Added
- Added logic to ignore some Attack speed update. Prevent to update swing timer on UNIT_ATTACK_SPEED when Druid shapeshift.
- Added spell id for swing spell reset for Warlok, Mage and Priest Shoot ability.
- Added swing timer pause logic (Warrior Slam mechanic).
- Added LibStub version managment.
- Added channelled spell interaction logic.
- Added auto shot timer reset on Hunter Volley damage.
Changed
- Init the Lib variable after ADDON_LOADED event.
Fixed
- Fix Aura prevent swing reset check logic. Prevent looping multiple time in unit buff and correctly check spellId on prevent_reset_swing_auras Object.
- Fix Parry haste calculation.
- Fix target unit event handle as player unit event. Add unit value test that insure to only handle player events.
- Fix auto attack spell cast reseting casting flag.
- Fix ranged speed value. Remove multiplier logic as UnitRangedDamage API method now return the correct ranged speed value.
[1.0.0] - 2022-08-23
Added
- Initial version of the lib based on SwingTimerAPI weakaura
v2.0.9
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[2.0.9] - 2024-05-14
Fixed
- Add Lava Burst to the reset_swing_spells list for Cataclysm version.
[2.0.8] - 2024-05-13
Fixed
- Fixed attack speed update logic for Paladin in Classic version.
[2.0.7] - 2024-05-13
Fixed
- Fixed extra attacks logic. Extra attacks gain always reset swing timer. Removed skip next attack event logic to reflect current in game behavior.
[2.0.6] - 2024-05-13
Added
- Add version support for Cataclysm.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.5] - 2023-11-20
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.4] - 2023-10-11
Added
- Add Heroic Throw to the list of spells that reset swing timer.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Wraith.
[2.0.3] - 2023-07-13
Added
- Add Shattering Throw to the list of spells that reset swing timer.
Changed
- Bump tocversion support of Retails.
- Bump classicversion support of Wraith.
[2.0.2] - 2023-03-31
Changed
- Update tocversion support of Retails.
Fixed
- Fix lib:UNIT_ATTACK_SPEED function unitGUID param.
- Fix Druid specific UNIT_ATTACK_SPEED handler. Spells that remove a druid form and reset the swing now correctly update the swing information.
- Fix lib:ADDON_LOADED function. Allows lib:ADDON_LOADED to correctly initialize when another addon embeds the library.
[2.0.1] - 2023-01-18
Fixed
- Fix LUA error on SwingEnd method call.
[2.0.0] - 2023-01-13
Added
- Added support for target swing timer info.
- Added API EVENTS that reflect both player and target support with following format UNIT_SWING_TIMER_.
- Backward compatibility of previous API EVENTS with SWING_TIMER_ format for player unit.
- New api method UnitSwingTimerInfo to get swing informations for a specific unit.
- Added Backward compatibility for SWING_TIMER_INFO_INITIALIZED event
Changed
- Update support of Retails to Dragonflight.
- Bump Wraith version to Ulduar patch.
[1.4.2] - 2022-11-02
Fixed
- Added timer nil check for SwingEnd method. Prevent nil value error.
[1.4.1] - 2022-10-07
Fixed
- Druid attack speeds are no longer snapshotted when the druid's form changes when the swing timer is full
- Druid attack speed changes following mid-swing form changes are now correctly reported when the swing ends.
- Fix Slam pause. Prevent LUA error when Slam is casting without autoattack toggled on or if auto attack is toggle of during the cast.
- Fix main and off hand timer cancellation on UNIT_ATTACK_SPEED event. Prevent timer to be cancelled when the UNIT_ATTACK_SPEED is not modify.
[1.4.0] - 2022-09-26
Added
- Added a callback event that gets fired once the library has been properly initialised, to let addons know they can start using the library's SwingTimerInfo method.
Fixed
- Fix consistency of SWING_TIMER_STOP event fire logic.
[1.3.2] - 2022-09-10
Changed
- Update spells data.
Fixed
- Removed Auto Shot from the reset_swing_spells for Retails. Auto Shot reset is managed with the ranged_swing list for this game version.
[1.3.1] - 2022-09-07
Changed
- Setup lib variables on PLAYER_ENTERING_WORLD instead of ADDON_LOADED.
Fixed
- Fix Paladin Seal of the Crusader snapshot logic for Classic version. Prevent UNIT_ATTACK_SPEED update when aura is gained or removed.
- Fix Ranged swing reset logic for Classic version compatibility.
[1.3.0] - 2022-09-05
Added
- Added support for all active game version.
- Added Retails swing reset specificity.
- Added game version ranged swing reset specificity.
- Added swing reset on channeled spell stop.
- Project now supports BigWigs packager and now no longer contains source of other embeds
Fixed
- Fix preventSwingReset flag. Prevent flag from being stuck to true after channeling a spell.
- Fix to version detection logic
- Attack speeds are now repolled 3s after addon init to resolve UnitAttackSpeed wrongly returning zero on first load of the game.
[1.2.0] - 2022-08-30
Added
- Add Feign Death ranged swing reset.
[1.1.1] - 2022-08-29
Canged
- Changed the logic to set prevent_reset_swing_auras flag. Set the value on SPELL_AURA_APPLIED and SPELL_AURA_REMOVED instead of setting the value on UNIT_SPELLCAST_START.
Fixed
- Fix auto attack speed change offhand.
[1.1.0] - 2022-08-27
Added
- Added logic to ignore some Attack speed update. Prevent to update swing timer on UNIT_ATTACK_SPEED when Druid shapeshift.
- Added spell id for swing spell reset for Warlok, Mage and Priest Shoot ability.
- Added swing timer pause logic (Warrior Slam mechanic).
- Added LibStub version managment.
- Added channelled spell interaction logic.
- Added auto shot timer reset on Hunter Volley damage.
Changed
- Init the Lib variable after ADDON_LOADED event.
Fixed
- Fix Aura prevent swing reset check logic. Prevent looping multiple time in unit buff and correctly check spellId on prevent_reset_swing_auras Object.
- Fix Parry haste calculation.
- Fix target unit event handle as player unit event. Add unit value test that insure to only handle player events.
- Fix auto attack spell cast reseting casting flag.
- Fix ranged speed value. Remove multiplier logic as UnitRangedDamage API method now return the correct ranged speed value.
[1.0.0] - 2022-08-23
Added
- Initial version of the lib based on SwingTimerAPI weakaura
v2.0.8
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[2.0.8] - 2024-05-13
Fixed
- Fixed attack speed update logic for Paladin in Classic version.
[2.0.7] - 2024-05-13
Fixed
- Fixed extra attacks logic. Extra attacks gain always reset swing timer. Removed skip next attack event logic to reflect current in game behavior.
[2.0.6] - 2024-05-13
Added
- Add version support for Cataclysm.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.5] - 2023-11-20
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.4] - 2023-10-11
Added
- Add Heroic Throw to the list of spells that reset swing timer.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Wraith.
[2.0.3] - 2023-07-13
Added
- Add Shattering Throw to the list of spells that reset swing timer.
Changed
- Bump tocversion support of Retails.
- Bump classicversion support of Wraith.
[2.0.2] - 2023-03-31
Changed
- Update tocversion support of Retails.
Fixed
- Fix lib:UNIT_ATTACK_SPEED function unitGUID param.
- Fix Druid specific UNIT_ATTACK_SPEED handler. Spells that remove a druid form and reset the swing now correctly update the swing information.
- Fix lib:ADDON_LOADED function. Allows lib:ADDON_LOADED to correctly initialize when another addon embeds the library.
[2.0.1] - 2023-01-18
Fixed
- Fix LUA error on SwingEnd method call.
[2.0.0] - 2023-01-13
Added
- Added support for target swing timer info.
- Added API EVENTS that reflect both player and target support with following format UNIT_SWING_TIMER_.
- Backward compatibility of previous API EVENTS with SWING_TIMER_ format for player unit.
- New api method UnitSwingTimerInfo to get swing informations for a specific unit.
- Added Backward compatibility for SWING_TIMER_INFO_INITIALIZED event
Changed
- Update support of Retails to Dragonflight.
- Bump Wraith version to Ulduar patch.
[1.4.2] - 2022-11-02
Fixed
- Added timer nil check for SwingEnd method. Prevent nil value error.
[1.4.1] - 2022-10-07
Fixed
- Druid attack speeds are no longer snapshotted when the druid's form changes when the swing timer is full
- Druid attack speed changes following mid-swing form changes are now correctly reported when the swing ends.
- Fix Slam pause. Prevent LUA error when Slam is casting without autoattack toggled on or if auto attack is toggle of during the cast.
- Fix main and off hand timer cancellation on UNIT_ATTACK_SPEED event. Prevent timer to be cancelled when the UNIT_ATTACK_SPEED is not modify.
[1.4.0] - 2022-09-26
Added
- Added a callback event that gets fired once the library has been properly initialised, to let addons know they can start using the library's SwingTimerInfo method.
Fixed
- Fix consistency of SWING_TIMER_STOP event fire logic.
[1.3.2] - 2022-09-10
Changed
- Update spells data.
Fixed
- Removed Auto Shot from the reset_swing_spells for Retails. Auto Shot reset is managed with the ranged_swing list for this game version.
[1.3.1] - 2022-09-07
Changed
- Setup lib variables on PLAYER_ENTERING_WORLD instead of ADDON_LOADED.
Fixed
- Fix Paladin Seal of the Crusader snapshot logic for Classic version. Prevent UNIT_ATTACK_SPEED update when aura is gained or removed.
- Fix Ranged swing reset logic for Classic version compatibility.
[1.3.0] - 2022-09-05
Added
- Added support for all active game version.
- Added Retails swing reset specificity.
- Added game version ranged swing reset specificity.
- Added swing reset on channeled spell stop.
- Project now supports BigWigs packager and now no longer contains source of other embeds
Fixed
- Fix preventSwingReset flag. Prevent flag from being stuck to true after channeling a spell.
- Fix to version detection logic
- Attack speeds are now repolled 3s after addon init to resolve UnitAttackSpeed wrongly returning zero on first load of the game.
[1.2.0] - 2022-08-30
Added
- Add Feign Death ranged swing reset.
[1.1.1] - 2022-08-29
Canged
- Changed the logic to set prevent_reset_swing_auras flag. Set the value on SPELL_AURA_APPLIED and SPELL_AURA_REMOVED instead of setting the value on UNIT_SPELLCAST_START.
Fixed
- Fix auto attack speed change offhand.
[1.1.0] - 2022-08-27
Added
- Added logic to ignore some Attack speed update. Prevent to update swing timer on UNIT_ATTACK_SPEED when Druid shapeshift.
- Added spell id for swing spell reset for Warlok, Mage and Priest Shoot ability.
- Added swing timer pause logic (Warrior Slam mechanic).
- Added LibStub version managment.
- Added channelled spell interaction logic.
- Added auto shot timer reset on Hunter Volley damage.
Changed
- Init the Lib variable after ADDON_LOADED event.
Fixed
- Fix Aura prevent swing reset check logic. Prevent looping multiple time in unit buff and correctly check spellId on prevent_reset_swing_auras Object.
- Fix Parry haste calculation.
- Fix target unit event handle as player unit event. Add unit value test that insure to only handle player events.
- Fix auto attack spell cast reseting casting flag.
- Fix ranged speed value. Remove multiplier logic as UnitRangedDamage API method now return the correct ranged speed value.
[1.0.0] - 2022-08-23
Added
- Initial version of the lib based on SwingTimerAPI weakaura
v2.0.7
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[2.0.7] - 2024-05-13
Fixed
- Fixed extra attacks logic. Extra attacks gain always reset swing timer. Removed skip next attack event logic to reflect current in game behavior.
[2.0.6] - 2024-05-13
Added
- Add version support for Cataclysm.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.5] - 2023-11-20
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
[2.0.4] - 2023-10-11
Added
- Add Heroic Throw to the list of spells that reset swing timer.
Changed
- Bump build version support of Retails.
- Bump build version support of Classic.
- Bump build version support of Wraith.
[2.0.3] - 2023-07-13
Added
- Add Shattering Throw to the list of spells that reset swing timer.
Changed
- Bump tocversion support of Retails.
- Bump classicversion support of Wraith.
[2.0.2] - 2023-03-31
Changed
- Update tocversion support of Retails.
Fixed
- Fix lib:UNIT_ATTACK_SPEED function unitGUID param.
- Fix Druid specific UNIT_ATTACK_SPEED handler. Spells that remove a druid form and reset the swing now correctly update the swing information.
- Fix lib:ADDON_LOADED function. Allows lib:ADDON_LOADED to correctly initialize when another addon embeds the library.
[2.0.1] - 2023-01-18
Fixed
- Fix LUA error on SwingEnd method call.
[2.0.0] - 2023-01-13
Added
- Added support for target swing timer info.
- Added API EVENTS that reflect both player and target support with following format UNIT_SWING_TIMER_.
- Backward compatibility of previous API EVENTS with SWING_TIMER_ format for player unit.
- New api method UnitSwingTimerInfo to get swing informations for a specific unit.
- Added Backward compatibility for SWING_TIMER_INFO_INITIALIZED event
Changed
- Update support of Retails to Dragonflight.
- Bump Wraith version to Ulduar patch.
[1.4.2] - 2022-11-02
Fixed
- Added timer nil check for SwingEnd method. Prevent nil value error.
[1.4.1] - 2022-10-07
Fixed
- Druid attack speeds are no longer snapshotted when the druid's form changes when the swing timer is full
- Druid attack speed changes following mid-swing form changes are now correctly reported when the swing ends.
- Fix Slam pause. Prevent LUA error when Slam is casting without autoattack toggled on or if auto attack is toggle of during the cast.
- Fix main and off hand timer cancellation on UNIT_ATTACK_SPEED event. Prevent timer to be cancelled when the UNIT_ATTACK_SPEED is not modify.
[1.4.0] - 2022-09-26
Added
- Added a callback event that gets fired once the library has been properly initialised, to let addons know they can start using the library's SwingTimerInfo method.
Fixed
- Fix consistency of SWING_TIMER_STOP event fire logic.
[1.3.2] - 2022-09-10
Changed
- Update spells data.
Fixed
- Removed Auto Shot from the reset_swing_spells for Retails. Auto Shot reset is managed with the ranged_swing list for this game version.
[1.3.1] - 2022-09-07
Changed
- Setup lib variables on PLAYER_ENTERING_WORLD instead of ADDON_LOADED.
Fixed
- Fix Paladin Seal of the Crusader snapshot logic for Classic version. Prevent UNIT_ATTACK_SPEED update when aura is gained or removed.
- Fix Ranged swing reset logic for Classic version compatibility.
[1.3.0] - 2022-09-05
Added
- Added support for all active game version.
- Added Retails swing reset specificity.
- Added game version ranged swing reset specificity.
- Added swing reset on channeled spell stop.
- Project now supports BigWigs packager and now no longer contains source of other embeds
Fixed
- Fix preventSwingReset flag. Prevent flag from being stuck to true after channeling a spell.
- Fix to version detection logic
- Attack speeds are now repolled 3s after addon init to resolve UnitAttackSpeed wrongly returning zero on first load of the game.
[1.2.0] - 2022-08-30
Added
- Add Feign Death ranged swing reset.
[1.1.1] - 2022-08-29
Canged
- Changed the logic to set prevent_reset_swing_auras flag. Set the value on SPELL_AURA_APPLIED and SPELL_AURA_REMOVED instead of setting the value on UNIT_SPELLCAST_START.
Fixed
- Fix auto attack speed change offhand.
[1.1.0] - 2022-08-27
Added
- Added logic to ignore some Attack speed update. Prevent to update swing timer on UNIT_ATTACK_SPEED when Druid shapeshift.
- Added spell id for swing spell reset for Warlok, Mage and Priest Shoot ability.
- Added swing timer pause logic (Warrior Slam mechanic).
- Added LibStub version managment.
- Added channelled spell interaction logic.
- Added auto shot timer reset on Hunter Volley damage.
Changed
- Init the Lib variable after ADDON_LOADED event.
Fixed
- Fix Aura prevent swing reset check logic. Prevent looping multiple time in unit buff and correctly check spellId on prevent_reset_swing_auras Object.
- Fix Parry haste calculation.
- Fix target unit event handle as player unit event. Add unit value test that insure to only handle player events.
- Fix auto attack spell cast reseting casting flag.
- Fix ranged speed value. Remove multiplier logic as UnitRangedDamage API method now return the correct ranged speed value.
[1.0.0] - 2022-08-23
Added
- Initial version of the lib based on SwingTimerAPI weakaura