This repository was archived by the owner on Jan 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -940,7 +940,7 @@ function STATUSBTN:CastBar_OnEvent(event, ...)
940940
941941 -- do nothing (when Tranquility is channeling if reports UNIT_SPELLCAST_SUCCEEDED many times during the duration)
942942
943- elseif ((event == " UNIT_SPELLCAST_FAILED" or event == " UNIT_SPELLCAST_INTERRUPTED" or event == " UNIT_SPELLCAST_STOP " ) and self .sb .castID == eventCastID ) or event == " UNIT_SPELLCAST_CHANNEL_STOP" then
943+ elseif ((event == " UNIT_SPELLCAST_FAILED" or event == " UNIT_SPELLCAST_INTERRUPTED" ) and self .sb .castID == eventCastID ) or event == " UNIT_SPELLCAST_CHANNEL_STOP" then
944944
945945 if (self .sb :IsShown () and (self .sb .casting or self .sb .channeling ) and not self .sb .fadeOut ) then
946946
@@ -1025,8 +1025,6 @@ function STATUSBTN:CastBar_OnEvent(event, ...)
10251025
10261026 self .sb .shield :Show ()
10271027
1028- else
1029- self :CastBar_Reset ()
10301028 end
10311029
10321030 self .sb .cText :SetText (self .sb .cFunc (self .sb ))
@@ -1860,7 +1858,6 @@ function STATUSBTN:SetType()
18601858
18611859 self :RegisterEvent (" UNIT_SPELLCAST_START" , " CastBar_OnEvent" )
18621860 self :RegisterEvent (" UNIT_SPELLCAST_SUCCEEDED" , " CastBar_OnEvent" )
1863- self :RegisterEvent (" UNIT_SPELLCAST_STOP" , " CastBar_OnEvent" )
18641861 self :RegisterEvent (" UNIT_SPELLCAST_FAILED" , " CastBar_OnEvent" )
18651862 self :RegisterEvent (" UNIT_SPELLCAST_INTERRUPTED" , " CastBar_OnEvent" )
18661863 self :RegisterEvent (" UNIT_SPELLCAST_DELAYED" , " CastBar_OnEvent" )
You can’t perform that action at this time.
0 commit comments