Luna Unit Frames - Classic Fix

Luna Unit Frames - Classic Fix

26.7k Downloads

Question

martinnnn86 opened this issue ยท 12 comments

commented

Dear all,

I have the issue that I deleted all my saved variables and I am not able to restore my old settings. There was a specific setting/command which allowed me to show two dispellable debuffs in my raid frame. With the standard setting only 1 dispellable debuff is shown in the raid frame.

I am literally looking for dozens of hours to find a thread or something similar which shows me how to fix it but unfortunately I cannot find anything. Can anyone help me since it is so much quality of life to see multiple dispellable debuffs in your raid frame.

Thank you a lot in advance,
Martin

commented

I am willed to donate 50 EUR if someone is able to fix that issue or help me with a decent explanation how to fix it.

Thanks!

commented

You should be able to show as many that can fit in the frame. If your raid frame width is 60 and your debuff size is 10, it will show a max of 6 debuffs inside the frame. Unless you change from defaults

If there is not enough width in the frame it stops adding the debuff icons after the first one. You can set the filter to "Your own" or "Dispels" and set the total amout of debuffs to show.

commented

Hi Caboyd,

thanks for the quick reply.
I forgot to mention that I usually worked with "squares" and set them on "Dispels" to "Center" position. Those squares are limited to 1.
But if I use Auras and set a higher maximum number of debuffs (like 2) and choose "Inside Center" it is still not Centered and left aligned. And there is no option to fix the X-position.

Any solution how I get it fixed that the debuffs are shown in the Center?

commented

I forgot to mention that I usually worked with "squares" and set them on "Dispels" to "Center" position. Those squares are limited to 1.

Squares are limited to one DISPEL per square. If you had two square set to DISPEL they would both show the same one. You could use mutliple squares and set it to Buff/Debuff and explicitly state every spell name or spell id that you want to show on that specific square (I use it this way for fear/sleep/mind control).

Fear; Panic; Howl of Terror; Psychic Scream; Intimidating Shout; Bellowing Roar; Scare Beast; Repulsive Gaze; Terrify; Intimidating Roar; Terrifying Roar; Presence of Death; Cowering Roar; Frightening Shriek; Intimidation; Dreadful Fright; Self Fear; Run Away!; Wings of Despair; Aura of Fear; Copy of Fear;  Terrifying Screech; Warlock Terror; Sleep; Hibernate; Wyvern Sting; Gas Bomb; Druid's Slumber; Crystalline Slumber; Dreamless Sleep; Greater Dreamless Sleep; Naralex's Nightmare; Mind Control; Seduction; Dominate Mind; Gnomish Mind Control Cap   

But if I use Auras and set a higher maximum number of debuffs (like 2) and choose "Inside Center" it is still not Centered and left aligned. And there is no option to fix the X-position.
Any solution how I get it fixed that the debuffs are shown in the Center?

Image

This is what my raid frames look like with buffs and debuffs enabled and set to inside. If you want auras centered in the X that is not possible currently.

I'm not able to find a better way to create your old set up unless I modify the code to allow a DISPEL square to select if it should show the first found dispel or second, third, etc. I might be able to add that.

commented

LunaUnitFrames.zip

You can try this modified version that will let you set an index for the dispel square so you could have multiple dispel squares that show different dispels based on the index number set. You can have one square set to 1 and another square set to 2, then if there are two dispellable spells you can see the different one on each square. Should work for as many squares as there are available.

I tested it, but not that rigorously so let me know if there are issues.

commented

I will test it this week and come back to you regarding the donation if its working!

commented

Hi Caboyd,

sorry for the late reply. I wasnt able to test it earlier.

Quick summary:
If I use Index 1 for Center and Index 2 for Bottom square I got following result:
When I applied Immolate (Rank 3) as first debuff in a duel the debuff was not shown at all. Only the raidframe got a bit brighter respectively was highlighted.
When I applied Corruption (Rank 2) as second debuff in a duel the debuff was shown twice - in the center and on the bottom (see attached picture)

https://www.pic-upload.de/view-37461257/LUNA-caboyd.png.html

Can you see any mistake on my side or is it not working as intended?

commented

When I applied Immolate (Rank 3) as first debuff in a duel the debuff was not shown at all. Only the raidframe got a bit brighter respectively was highlighted.
When I applied Corruption (Rank 2) as second debuff in a duel the debuff was shown twice - in the center and on the bottom (see attached picture)

Somehow the information for the first debuff Immolate wasnt displayed and then when you added the Corruption it became the first debuff and was displayed and then when it tried to get the immolate debuff nothing was returned to so it displayed the first debuff again.

I simplified the code so it shouldn't display the same dispel twice but I'm not sure why immolate didnt show as dispellable. Hopefully this will fix it.

LunaUnitFrames.zip

commented

Hi caboyd,

looks like it's working. Thanks a lot for your help.
As promised please send me your paypal for the donation!

commented

I have a kofi that accepts paypal
https://ko-fi.com/caboyd

If you have any issues let me know otherwise I can put this change in the main version

commented

Done

commented

Thank you! You are very kind. ๐Ÿ˜„