#Help with a mage drinking WA

12 messages · Page 1 of 1 (latest)

robust sentinel
#

Hi all! Is it possible to create a wa that counts how many time i spend drinking in SoD ? It should add time every time i drink. Thanks

worldly kettle
#

You get a buff while drinking called Refreshment or similar. Can't you just track that buff, or I'm misunderstanding what you want?

robust sentinel
#

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.

worldly kettle
#

Oh, that sounds more awkward to make than it could ever be useful enough to bother making, surely?

robust sentinel
#

just for scientific purposes monkaHmm

worldly kettle
#

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.

robust sentinel
#

ok thanks for the help man

thin ledge
#

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

thin ledge
robust sentinel
#

man thank u so much