View Single Post
11-05-15, 02:00 PM   #3
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
However, keep in mind that the values from GetNetStats are cached and won't update more often than every 30 seconds, no matter how often you call the function. Depending on your needs, you could also watch player spellcast events instead, and track the time difference between UNIT_SPELLCAST_SENT and UNIT_SPELLCAST_STARTED for the same spell.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote