Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SP_SwingTimer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ function SP_ST_OnEvent()
elseif (event == "CHAT_MSG_COMBAT_SELF_MISSES") then
if (ShouldResetTimer(false)) then
ResetTimer(false)
elseif (ShouldResetTimer(true) and isDualWield()) then
elseif (isDualWield() and ShouldResetTimer(true)) then
ResetTimer(true)
end

Expand All @@ -543,7 +543,7 @@ function SP_ST_OnEvent()

if (CheckDamageSource(dmg, dmgtype) == "MAIN" and ShouldResetTimer(false)) then
ResetTimer(false)
elseif (CheckDamageSource(dmg, dmgtype) == "OFF" and ShouldResetTimer(true)) then
elseif (isDualWield() and CheckDamageSource(dmg, dmgtype) == "OFF" and ShouldResetTimer(true)) then
ResetTimer(true)
else
if ShouldResetTimer(false) then
Expand Down