Cell - Unit Frames

Cell - Unit Frames

148k Downloads

[Feature] do not show the debuff / dispel if the target / target of target is a non-friendly one.

starlessly opened this issue · 4 comments

commented

Describe the feature

It would be great not to show the debuff / dispel if the target / target of target is a non-friendly one!
Also I previously requested a feature to display the default focus / target / target-of-target simultaneously.
I've seen your response, but I still can't find this function. I was wondering if this feature has been implemented yet?

Thank you so much for keeping improving this addon.

Describe the implementation

It would be great not to show the debuff / dispel if the target / target of target is a non-friendly one.

Thank you so much!

commented

ah thank you so much for the reply i just realised i have to put that code into the addon file. i did and it works perfectly!
Thank you again for all the efforts you’ve made!

commented

This is an excellent idea, will look into fixing that.

In regards to displaying the default frames, you would make use of this snippet to achieve that.
https://github.com/Krealle/Cell_UnitFrames/blob/master/Snippets/OverrideHideBlizzard.lua

commented

Oh, you shouldn't put it directly into the files. It's meant to be used as a snippet.

commented

LOL, as i dont know how to set it as a snippet, my husband said i can put these 3 lines into HideBlizzard.lua under
function CUF:HideBlizzardUnitFrame(unit)
if unit == "target" or unit == "targetoftarget" or unit == "focus" then
return
end

i did and it works just fine.
Ha thank you again!