Thread: Z-Perl 2
View Single Post
03-09-16, 06:09 PM   #30
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Not sure what your playerUpdateCast does. I guess it is not for the castbar right?

If it is your castbar you could check the castbar code from rCompassCastbar because I do not understand why it is called so often.

I enable OnUpdate when a cast event fires and catch the casting info on the first frame. After that it is just for value updates with an exception to cancel it if no stop event is triggered.

https://github.com/zorker/rothui/blo...stbar.lua#L270
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote