Shushuda / DragonSpeedway

A World of Warcraft addon playing music and sound effects when Dragon Riding
MIT License
0 stars 0 forks source link

On race retry via item - no SFX nor music stop/restart #3

Closed Shushuda closed 1 year ago

Shushuda commented 1 year ago

Blizz changed the way auras are handled during the race restart. Now the racing aura stays active when player clicks the item to restart the race. This means that there should be an additional check in handleAuraUpdate() to handle this situation. Currently the race start is handled by detecting the race aura's appearance. Since it's not removed, something else should be checked to see if the race got restarted.

Best way would be to trigger sounds and music on race countdown aura drop instead of race aura. Otherwise it would require a bit of if-ology to handle the corner cases.

What happens on race activation:

What happens on item click:

TODO:

Shushuda commented 1 year ago

Holy shit, I need to add countdown spell IDs for the Reverse races. It's so many... UGHHHHHHH

Shushuda commented 1 year ago

Done.