Weak Auras Tutorial: Tracking abilities with charges or Stacks

  • 6 years ago
A handful of abilities have a charge mechanic: you can cast them several times provided you have energy/rage/mana/runes but once youve used up all the charges you have to wait for them to regenerate. Angelic Feathers on a priest are the example I use in this video but it works the same way for things like Death Strike, Shield Block, and similar abilities.\r
\r
In this video we lay the groundwork to track these abilities just like blizzard does in the ion bar but well do it with weak auras. In future videos well look at how we can modify this display to work differently. Maybe one icon for each charge, a progress bar that shows the cooldown on your next charge, maybe one single progress bar that tracks all stacks of an ability: who knows!\r
\r
Id like to give a nod to Kulldam on voximmortalis.com for an idea that Im using which will make these easier to modify in the future. I posted a functional solution that had simple code but it was rather difficult to modify for many different aura types. Normally I like to keep my lua really simple for these videos and more complicated for my personal stuff. His method of handling charges is a little more complicated than Id normally like for these videos but the trade off in easy of modification is worth it.\r
\r
\r
Functions used can be found here:\r

Recommended