Description
Add functions for WeakAuras.
- WeakAuras alone can add macro button and change border color.
- But, the processing was complicated and creation and modification were troublesome.
- This addon makes those processes simple and easy to use.
Sample
- Open: Time Rift Boxes
- Click to open the box you have.
- Change the border color according to the quality of the item automatically.
Functions
WeakAuras.SetSecondsEvent()
- Add "Seconds" custom event.
- Trigger is checked every second, periodic processing can be performed at a lower load than with "Every Frame".
WeakAuras.SetBorderColorAutomatically(aura_env)
- The border color is automatically changed according to the rarity of the item set on the trigger.
WeakAuras.CreateButton(aura_env [, function])
- Easily create buttons in weakauras.
- However, it is necessary to make sure that the button is not displayed during the battle.
How to make macro button
- Create your weakauras. (Icon only)
- Open [Load] tab, select "Not In Combat".
- Open [Custom Options] tab, add String option. They should be named either [macro/macro1/macro2].
- Create macro
- Open [Actions] tab, add
WeakAuras.CreateButton(aura_env);
into Custom Code.
How to Use function button
- Create your weakauras. (Icon only)
- Open [Load] tab, select "Not In Combat".
- Open [Actions] tab, add
WeakAuras.CreateButton(aura_env, (your function));
into Custom Code.
WeakAuras.CreateUseItemButton(aura_env)
- Easily create buttons in weakauras.
- However, it is necessary to make sure that the button is not displayed during the battle.
- You can set multipe "Item Count" triggers. Use the item being displayed when click.