WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Suggestion Box (https://www.wowinterface.com/forums/forumdisplay.php?f=91)
-   -   Shielding (https://www.wowinterface.com/forums/showthread.php?t=48406)

MakeVio 10-25-13 01:40 PM

Shielding
 
I'll just keep it short and simple. I play priest PvP and PvE all the time, and one of the things I have always keep cautious of is how much more my shield can absorb. Is there any where to calculate how much your shield can absorb until it's depleted? And maybe when the shield is applied, it shows how much health it is shielding, and slowly goes down as it's drained. Or have it's own separate bar with a value of how much is left.

Xrystal 10-25-13 04:51 PM

doesn't it already show as a buff on yourself ?

Xrystal 10-26-13 09:08 PM

1 Attachment(s)
Spent the last couple of days looking into this off and on during my vacation time in South Florida in between sunbathing and playing in my friends pool. But I digress.

Anyway, there is a newish event that allows you to monitor any absorbtion values.

UNIT_ABSORB_AMOUNT_CHANGED

Then use the UnitGetTotalAbsorbs("player") to find out how much has been absorbed.

With that knowledge and some attempts at cooldowns and durations for the buff the screenshot attached shows my mini addon working somewhat. It still glitches with cooldown and duration monitoring. And it won't let me set a color for some reason.

Xrystal 10-28-13 08:09 PM

2 Attachment(s)
Give this lil attachment a go. I have added some locals at the top of the file that can be used to change the sizes of the bar/button and font and it is now movable and the cooldown/duration timers work correctly from what I could see. Theoretically changing the shieldspell value to the spellID for the one your class needs should work fine but not tested thoroughly for that just for the priest Power Word: Shield spell.

MakeVio 10-29-13 12:28 PM

Interesting, works. Nice!

Here's an example if anyone wants to see, it's off to the left



Xrystal 10-29-13 03:31 PM

Not sure how long it will be to get this set up as an official addon but having every class at my beck and call ill hopefully get something rugged up for it to work for all classes. For now it's here for those that need it and if Scott can see how the functionality can fit straight into nui go right ahead :)

MakeVio 10-29-13 05:11 PM

Quote:

Originally Posted by Xrystal (Post 286373)
Not sure how long it will be to get this set up as an official addon but having every class at my beck and call ill hopefully get something rugged up for it to work for all classes. For now it's here for those that need it and if Scott can see how the functionality can fit straight into nui go right ahead :)

Yes, I like what you did with it, wasn't expecting something so nifty in mind.

Xrystal 10-29-13 05:47 PM

3 Attachment(s)
i wasn't sure whether the cooldown animation would work for auras so it was an experiment.

just for giggles if you accidentally forget to put in the '.' of the xsm.icon parent name for icons cooldown create lines the animation has a cool side effect.

I'll update this thread with an official addon link once its done. let me know if there is anything missing that would be useful or if you had something else in mind for a visual.

MakeVio 10-29-13 06:40 PM

Quote:

Originally Posted by Xrystal (Post 286387)
i wasn't sure whether the cooldown animation would work for auras so it was an experiment.

just for giggles if you accidentally forget to put in the '.' of the xsm.icon parent name for icons cooldown create lines the animation has a cool side effect.

I'll update this thread with an official addon link once its done. let me know if there is anything missing that would be useful or if you had something else in mind for a visual.

Only thing I can thing of is no background for it, if possible. And each bar having it's own color? Not sure how creative you can get with it :)

Xrystal 10-29-13 07:52 PM

What do you mean no background for it ?

The color thing I can't fathom yet. I have told it to color the bars differently but it hasn't worked. Gonna need to look up some of my other addons and see if I can see how I got the status bars to color up before. They're not on the laptop to check easily rofl.

spiel2001 11-02-13 07:12 AM

Xrystal -- that's an awesome little mod you threw together there! I may incorporate that into 6 if you have no objection?

As for the background, I'm guessing he means the black background behind the bars.

I was in Costa Rica this past week (and had no data access) which is why I missed all this about the 5.4.1 patch (figures it would drop while I was off-grid -sigh) -- otherwise, had I known you were going to be here in Florida, I absolutely would have loved to have made the drive to meet face to face and buy you guys a dinner! ~smile~

Xrystal 11-02-13 10:00 AM

No worries. I guessed with your lack of comment that you were incommunicado. We're probably gonna try for a group of us meeting up next time and of course I'm aiming to visit someone in Plattsburg, New York once he gets himself sorted out. Hopefully next year but will see. I did check to see the distance between you and where I'm staying but way far away, for us brits that cant drive that is rofl.

As to incorporating the idea of the addon into nUI 6 go right ahead. Theoretically just substituting the appropriate spell/aura id it should work with other shield abilities. Didn't get that far into it to see how that would work.

spiel2001 11-02-13 08:45 PM

Well... next time you're in this neck of the woods, warn a guy! ~lol~ It's only a 3 hour drive to anyplace in Florida, except the keys, from here. :D

Chmee 11-03-13 03:05 PM

Do cars actually work in Xanth?:banana:


All times are GMT -6. The time now is 07:25 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI