Request: Crowd control icon on default raid frames
I'm really surprised there's no such an addon.
Here's an example: And no, I don't wanna use grid or vuhdo or their alternative, i like default raid frames a lot, they just lack this one very important feature. |
Quote:
|
well yeah i know about those, the bad thing it doest display regular buffs\debuffs in the corners as default frames do.
btw i was using your superclassic ui back in S9 and i was loving it, too bad you stopped maintaining it. |
I have something along these lines in a custom addon ... here are the parts that you would probably need. However, I have not tested this code (as standalone). It assumes that any CC effect is on a diminishing return and only shows those.
P.S. Please tell me if this worked for you :) Requirements: 1) a place to put the code: If you don't happen to have a dummy addon to stuff code into already, you can create one here: http://addon.bool.no 2) DRData-1.0 library, which can be found here: http://www.wowace.com/addons/drdata-1-0/ 3) put this in your lua file (or the lua input box on addon.bool.no) Lua Code:
Code:
## Dependencies: DRData-1.0 |
Just FYI there is no reason to define variables outside of a loop when they will only be used inside of the loop, and doing it anyway can have unintended consequences depending on what you're using the variables for.
Don't: Code:
local icon, count, dispelType, expires, caster, spellID, canApplyAura, isBoss Code:
for i = 1, 40 do |
i'm currently taking a break from wow, but as soon as i return i will test it, thank you.
|
Quote:
Lua Code:
|
So figured i'd give this a shot. Get this error solo out of combat.
Code:
Message: Interface\AddOns\Test\modules\test1.lua:73: attempt to index global 'frame' (a nil value) |
Code:
Message: Interface\AddOns\Test\modules\test1.lua:73: attempt to index global 'frame' (a nil value) Lua Code:
|
All times are GMT -6. The time now is 02:50 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI