Sometimes castbar gets hidden during the cast of hostile units
Weeeqt opened this issue ยท 4 comments
Here is twitch clip which demonstrates the issue: https://clips.twitch.tv/BombasticEmpathicWitchHotPokket
Please take a look at druid. He appears from stealth casting Cyclone and Kui, Gladius and Quartz picked up the cast just fine, but then a moment later Kui castbar disappears under the nameplate, even though Gladius and Quartz are just fine. Few moments later druid is casting some heals and they bug out the same way. I even interrupt one of them after the castbar disappeared.
It is very confusing because it makes me think that player is fake-casting.
Maybe it happens because of spell pushback? When druid gets hit by the pet and his cast progress gets pushed back.
I think the problem lies in Kui_Nameplates\elements\castbar.lua @ line 139 and 141:
_,_,_,_,startTime,endTime = UnitChannelInfo(unit)
and
_,_,_,_,startTime,endTime = UnitCastingInfo(unit)
There is one extra return which was removed in 8.0.1
So I did actually fix other instances of that function call.. but I forgot about the extra underscore in this one. whoops.