Page 1 of 3

Request for ocb3

PostPosted: Wed Sep 30, 2015 4:34 pm
by Lighthammer
I recently started using ocb3 and I like it a lot, however I find it slightly annoying that the channeled castbar doesn't show what spell it is and it's not as wide as the normal cast bar.

Here's the castbar for shadowbolt:
Image

and here's for rain of fire:
Image

Is there any way to fix this?

Thanks for your work, brilliant addon.

Re: Request for ocb3

PostPosted: Wed Sep 30, 2015 5:37 pm
by Athene
May be possible, I'll look at it ^^

I think I'll add the possibility to choose font and font size because it looks fuzzy with other UIScales.

Re: Request for ocb3

PostPosted: Wed Sep 30, 2015 6:35 pm
by Rhena
Its not provided by the ui by default. The blizzard bars don't show it either. You would have to change quite a lot of code to make it work.

Re: Request for ocb3

PostPosted: Wed Sep 30, 2015 6:45 pm
by Athene
For the mages it's possible with simple logic, evocation gives a buff and Blizzard doesn't so we can guess which spell is being channeled by looking at the buff.

Now for the warlocks it's another thing...

Re: Request for ocb3

PostPosted: Wed Sep 30, 2015 6:49 pm
by Lighthammer
Thank you Athene! The font thing would be nice too, I personally enjoy the font that is in the addon now, but more choice is always better^^

One solution to the channeling thing might to just make the castbar be equal to the width whenever something is channelled, instead of the width minus the icon size.

But I don't know much about lua programming heh..

Re: Request for ocb3

PostPosted: Wed Sep 30, 2015 6:51 pm
by Athene
Also we can guess the spell by looking at the channeling duration :p

Re: Request for ocb3

PostPosted: Wed Sep 30, 2015 7:11 pm
by Lighthammer
Yes indeed, the icon itself is not that important. It just bugs my OCD that the bar shrinks whenever I rain fire and brimstone on my unfortunate enemies, or summon a vast demon from the nether to undo the pity mortals who stand in my way (and possibly a priest or two).

Re: Request for ocb3

PostPosted: Wed Sep 30, 2015 9:41 pm
by Rhena
What you actually do is hook the casting methods to save the last spell that was requested to cast and when the start channeling event occurs its the saved spell.

Re: Request for ocb3

PostPosted: Thu Oct 01, 2015 6:30 am
by LYQ
athene had the casting methods hooked anyways for the lagbar addition, so I think as well that would be the simplest option

Re: Request for ocb3

PostPosted: Thu Oct 01, 2015 11:42 am
by Athene
Yup it's the simplest and so far it works.
I just need to see if BabbleSpell finds an icon for every spell and it'll be alright, for the channeling part ;)