Originally Posted by semlar
WeakAuras probably wants multiple return values and I have no idea what they're supposed to be (start or expiration time and duration, maybe).
I'm also pretty sure WA can show you how much time is left on a buff without creating a custom function for it.
Judging by other WA scripts I've seen, and the error above, it appears to want "duration, expirationTime" for the return values.
|
But i need to use the custom trigger because of the other stuff i want to show.
For that i need custom lua codes.
But as i said, if i keep the code for the duration empty everything works without lua errors
(and ofcourse the duration is not shown). When i put in the code postet above lua complains
about the nil value.