[TBC] Automated Weapon Swap While Drinking (Outdated / Unnecessary in Wotlk)

This Weakaura automatically swaps your main weapons (MH + OH and/or Wand) to a second set of weapons while drinking. The WA is also able to cycle between the two sets at a user-defined time interval.

This aura may particulary helpful in TBC Arena since mana ticks are calculated each time the MP5 of your character is changing. Thus each time you swap your weapons (and thus change your MP5) you override the standard "tick"-based mana calculation. If you change your weapons quickly back and forth this results in a much more continous mana gain.

For the alternating weapon swap to have affect on your mana regeneration at least 1 weapon need to have MP5 as a stat!

Aura can be customised under "Custom Options".

How to use it:

1. Define if the aura shall trigger on any drink food or only in particular macros (set-up process explanation in the aura)

2. Define the mana threshold when the mana shall trigger

3. Define your secondary/regen weapon to which the aura shall swap

4. List exceptions which when equipped shall prevent the aura from triggering

5. Define if the aura shall re-equip your original weapon once the drinking ends / once you get out-of combat. (The aura does not work in combat due to API limitations - Thus a secondary weapon swap macro is advised to also swap your weapons infight manually. It can however swap back to your initial weapons once the fight ends).

---- If you only want to swap to your regen weapons while drinking, you are done here ----

If you want to cycle between your main and a secondary set of weapons the following setup is necessary.

6. Activate "Alternate Weapons for continous mana regeneration"

7. Decide if you want to also change weapons also if your currently equipped weapon is equal to the secondary/regen weapon -> In that case you need also define "Backup Weapons" to which the aura will swap to instead.

8. Decide if you want to swap the wand instead of MH+OH. This may be helpful if your MH/OH have no MP5 or if your main and secondary weapon have huge state differences. Also wand swapping in general seem to be faster than MH+OH cycling.

9. Define the alternation speed / threshold

10. You can define a mana threshold above which the aura automatically swaps back to your primary weapons and stops the alternating procedure.

Weakaura is based on this one by Aerx: https://wago.io/m9raC2Krn