View Single Post
08-13-14, 02:26 PM   #1
ObbleYeah
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 210
checking for buff stacks in C_L_E_U

over the last couple of days me and Lyn have been trying to build a little mod that will display a set of text strings based on whether the player has particular buffs. So far we have this:

https://gist.github.com/anonymous/d23ffb8dfd3124659c46

which, despite obviously being pretty unfinished, is sort-of working. Getting how many stacks a buff has doesn't seem to be working despite best efforts though - the debug print only ever returning a maximum value of 1. Experiments with using UNIT_AURA instead provided the correct # of stacks, but we couldn't get the thing to work otherwise. Doing something wrong here?

Last edited by ObbleYeah : 08-13-14 at 02:34 PM.
  Reply With Quote