nebularg / PitBull4

Woof. Arf. Yip.
https://www.curseforge.com/wow/addons/pitbull-unit-frames-4-0
23 stars 16 forks source link

fix for cast_data.target text while casting #31

Closed nguo closed 2 years ago

nguo commented 2 years ago

For the BCC client, the CastData(unit).target LuaText was broken because it was never going into the if statement to set it. UnitCastingInfo isn't returning spell_id anymore (this line). Even by following the bcc API signature here , the supposed spell_id field (8th field, right after cast_id), is nil.

Still broken for channeling since there's no cast id associated for channeled spells.

Haven't tested on the classic client, but the old spell id checks are still in place so it should be compatible.