#Calculating or getting cast time of an ability
23 messages · Page 1 of 1 (latest)
it's a question for shaman class discord
I can ask it there as well, but I don't entirely see how this would be a question for there, considering this can apply to all classes.
It's a theorycrafting question, answer can change for each class and extension
Okay, I'll ask it over there then. Thank you anyways!
cast trigger give you cast time from API when you start casting, if i understand you want to know that cast time calculated from various factors before casting
that's why i call it a theorycrafting question, class discords have peoples dedicated to that kind of math
Oh no cast trigger seems exactly what I was looking for! I'll look into that.
I am sorry if I worded it unclearly, but what I meant was:
When the player casts an ability, I want to know how long that will take, and do some math with that, within the WA. The math I have already (sorta) figured out, I just want to know where to get the numbers, so to say.
ha.. then cast trigger, %t in display to show total duration
Is there also a LUA function for that?
If you need a code review when you'r done feel free to post what you do in #1019675719334383696
i'm a little anxious at what you will do with custom code, when you didn't know about the cast trigger or how to find that function
I have experience in Lua from other sources, and some very basic WAs (buff checks and stuff), wanted a bigger project
what are you trying to do?
We'll see how far we get
A basic rotation WA for ele shamans, that tells what spell to cast next
!hekiliaddon
Rotation helpers are devilishly tricky to do right in WeakAuras. There are other addons which have pretty much solved that use case, like https://www.curseforge.com/wow/addons/hekili.
consider contributing to a dedicated rotational addon
you may think its simple, but especially if you want to make it performant, it really isnt