TheTrueIndolent / voodoo-casting-bar

Enchant your default casting bar!
https://www.curseforge.com/wow/addons/voodoo-casting-bar
Creative Commons Zero v1.0 Universal
1 stars 1 forks source link

Show Spell Queue Window #3

Open Toonic opened 1 month ago

Toonic commented 1 month ago

If you're unaware https://maxroll.gg/wow/resources/spell-queue-window

I'd love to see the spell queue window along side of the latency bar. Would be great and help with my fingers.

TheTrueIndolent commented 1 month ago

Hello there! Looks really cool! I will try to add it in the future updates! I want to add first the GCD and the Boss Cast Bars!

Toonic commented 1 month ago

I know its weak auras, however if you take a look at: My Implementation Here Frogski's Instant cast bar and lastly Global Cooldown and Spell Queue Window

They all implement something similar. Specifically, mine for example is done through code in Weak Auras, which from my understand should go hand-in-hand with addon development? (Could be wrong here as I've never done Addon Development.)

The Spellqueue window is a static number and should be relatively simple to add. You can use local spellQueueWindow = GetCVar("SpellQueueWindow") / 1000 which for you should return 0.4 (Or in this case, 400 Milliseconds.) and you would only need to add the tick/bar (However you wish to design it) to the last 400 Milliseconds of the cast.

Regarding the GCD, believe it or not, its just Spell ID 61304 as seen here., which is important as some classes GCD is faster than others. The GCD is also started at the start of the cast, but I assume getting the spell cooldown for GCD should just display the correct value.

Anyways, sorry for all of the information I'm more awake than originally posting it. I'm sure you knew most of this already though! Looking forward to the GCD + SpellQueueWindow updates.

TheTrueIndolent commented 1 month ago

I knew about the GCD, but the SpellQueueWindow was new to me! I really appreciate your help! :)