Hello,
I would like to create a progress bar that shows when i cast f.e. Rain of Fire (8sec duration, ticks every 2sec). But instead of using my actual cast (trigger1, player/unit info, cast, player, exact spellID) as “Progress Source”. I would like to use a second trigger wich should be a repeating 2sec timer wich starts whenever a cast starts and just repeats itself every 2seconds until the cast ends. But I have no idea how to create that
#Repeating Progress Bar for Channeling ticks
25 messages · Page 1 of 1 (latest)
pretty sure you'd need a custom trigger looking at combat log events cast start
yeah you'll need something fully custom. starting the repeating timer when you start casting and resetting it if you stop.
unfortunately I do not know Lua or how to write custom code
https://wago.io/nq2lghrIa
try that
Thanks@whole dagger, this does work!
Is there a way I could check for a certain buff (f.e: Mind Quickening Gem) on the start of the cast. And modify the timer duration accordingly?
I think there are only 2 and a half such buffs in all of era.
- MQG = 33% haste
- Troll Racial = either 10% or 30% haste (depending if used above or below 40%HP, both buffs use the same id)
https://wago.io/yaQjBe6zT
unsure if i did the math right
but try that. it doesn't check for buffs, it checks your haste rating and changes duration based on that (only checks on cast start)
Wago.io is a database of sharable World of Warcraft addon elements
Almost
This works for the Troll racial, but not for the MQG. My guess is because there is no such thing as ''spell-haste'' in era.
On a second thought I think this might be the wrong approach. The timer would be false whenever a meele haste buff would be active
try typing /run print(GetHaste(),GetMeleeHaste(),GetRangedHaste()) before & after using MQG and check if any of those numbers change
guess I was wrong, but
MQG doesn't change any of those Values
Troll Racial does change all of them
It doesnt need to anyways, I just realize it doesnt affect channeled spells, the MQG
the second WA you linked is just prefect!
ah cool. strange as i thought GetHaste = spell haste / GetMeleeHaste = melee haste / GetRangedHaste = hunter haste but i guess that's not the case in vanilla.
I think it is like you describe it. Just the MQG is an exception
After a little time with the new aura I found some unwanted behavior.
Spell pushback. It should not affect the timers for my purpose
sorry if I get annoying, but could you please update the aura without haste modificator instead. channeled spells don't get affected by haste in era I was wrong about that in general as well
~e/ I just removed the divider in line 11, hope that does the trick^^
Thank YoUwU Avatar Wan 
ye should be enough to do that
I'm pretty happy with the aura, just would like to make one addition, where I think need custom code again.
I would like to add:
Animations->[Type]Custom->[Color]check-[Type]Custom Function:
function(progress, r1, g1, b1, a1, r2, g2, b2, a2)
if "Trigger2 remaining time" > "Trigger1 remaining time" then
return 1, 0, 0, 1 --red
else
return ?, ?, ?, ? --default colors
end
something like this but again I dont talk lua 😦
don't do that through animations, that's outdated info. do it through conditions:
if custom check
function(states)
if states[1].expirationTime and states[2].expirationTime then
return states[2].expirationTime > states[1].expirationTime
end
end
then bar color start red