LunaUnitFrames

LunaUnitFrames

268k Downloads

Channeling Bar not showing

chrisgle opened this issue ยท 5 comments

commented

When I am fishing, not channeling bar appears. My castbar option is checked.

commented

Bar is showing correctly however it was using the cast color not the channeling one.
fishing

commented

Hi again.

It still doesn't work in my configuration. Using latest version (v2224). Erased all luna config files. Disabled all addons. Still doesn't work. When I use version 2210, it appears (I simply rename the folder to change between versions).

Any ideas?

commented

On the latest version (v2225) on Kronos 3 I am not seeing a castbar for any channeled abilities.

I was able to get it to work for myself by adding the following bolded line in cast.lua, although I don't know enough about Luna to be sure that won't break something else.

666   else
667     if (event == "SPELLCAST_STOP" and frame.castBar.channeling) then return end
668     if (event == "SPELLCAST_CHANNEL_STOP" and not frame.castBar.channeling) then return end
669     if (event == "SPELLCAST_FAILED" and frame.castBar.channeling) then return end
670     frame.castBar.casting = false
671     frame.castBar.channeling = false
672     frame.castBar:SetScript("OnUpdate", nil)
673     Cast:FullUpdate(frame)
674   end

When casting a channeled ability, I noticed I was getting two events, SPELLCAST_CHANNEL_START and a SPELLCAST_STOP. The SPELLCAST_STOP was setting channeling to false.

commented

I am on Kronos 1. The above fix seems to be working both on v2224 and v2225. I will report here if there is any side effect. Thank you!

commented

Not spending any more effort into the legacy version.