#Help with a mage drinking WA
12 messages · Page 1 of 1 (latest)
You get a buff while drinking called Refreshment or similar. Can't you just track that buff, or I'm misunderstanding what you want?
i want something that tells me how much time i spent drinking, but every time i drink it should add time. In example after 4 hours it could say i spent 10 minutes drinking.
Oh, that sounds more awkward to make than it could ever be useful enough to bother making, surely?
just for scientific purposes 
Well, you'd use the aura_env table to save the value. aura_env.saved if you want to keep a value across separate logins.
You could probably do all the code you need in a Custom Text function running Every Frame. On [Actions - On Show] (or upon a buff trigger becoming true if you're having the count displayed even when the buff isn't up) you'd keep a value for when the buff started, then when the buff ends you'd add the elapsed time to your counter.
ok thanks for the help man
https://wago.io/oDhpElYWj persists through logout
you HAVE to go into trigger 1 and replace the buff there with whatever your drinking buff is called (or its ID)
I set it up for the eating buff in retail right now to test it
alternate implementation: https://wago.io/DJFXTTbHl
man thank u so much