WA发布 发表于 2023-6-12 09:25:00

Naynis Healer Mana Monitor

Nayni's Healer Mana Monitor (V2)


A robust and configurable Mana monitor for healers in raid/party.

This WeakAura is implemented using a Dynamic Group and a Trigger State Updater.

Options


A lot of options are provided to help you configure the Mana monitor to your liking. The following options can be controlled under the Custom Options tab of the WeakAura.

General: Ignore


By default any Priest, Paladin, Shaman or Druid will be tracked as a healer. However it is very likely that you have any of these classes in your raid as a DPS. In order to filter these specific players out of the mana monitor you can define a custom ignore list so they will not be picked up as healer and won't count towards the total mana tracker.

The ignore list can contain multiple names by providing a comma, space or newline to make a list.

Total: Enable


Enable or Disable the extra entry in the group that will act as a total. This option is enabled by default.

Total: Show Count


Includes an active/total segment in the Total entry. Useful to quickly idenfify how many healers out of all your healers are active. This option is enabled by default.

An active healer is a player who is online and not dead.

Total: Show First


Forces the total entry to be the first element in the group as it grows.

Note: When you reverse the group order this option will act reversed as well.

Progess Colors


All colors used to color the Progess Bar.

Note: These colors are only useful if you keep the Healer Mana Trigger State Updater of type Progess Bar.

Text Colors


All colors used for text elements.

Extra Labels


All additional labels used such as Dead or Offline indicators.

Changing the display


The Mana montior is implemented using aTrigger State Updater this means that you have full control over the visual display of the WeakAura.

By default the WeakAuras display is implemented as a Progress Bar. You are however free to visualize it as you wish, for example if you prefer a purely textual display you can do the following:


[*]Right click on the Healer Mana Trigger State Updater
[*]Convert To > Text to convert it to a textual display
[*]Change Display Text to: %cDisplayName: %cStatus
[*]Align the text as you wish

Advanced


The above is just a simple example of transforming the WeakAura, if you have more experience with WeakAura's and Custom Code you'll notice that there is tons of information provided to you to make your own display as fancy as possible. The following custom fields are available for you to use:


[*]cUnit: The unitID of the healer
[*]cMana: The healers current mana in percentage (0 - 100)
[*]cDisplayName: The healers UnitName colored by class (or the total label in case of the total entry)
[*]cIsDead: A boolean indicating the healer is dead or not
[*]cIsOffline: A boolean indicating the healer is offline or not
[*]cStatus: A status label, indicating the healer is dead, offline or showing the current mana percentage (colored based on the threshold colors)
[*]cTotalCount: A number representing the total amount of healers (only for the total entry)
[*]cActiveCount: A number representing the active amount of healers (only for the total entry)

For more information regarding Trigger State Updaters check out the official WeakAuras Wiki: https://github.com/WeakAuras/WeakAuras2/wiki/Trigger-State-Updater-(TSU)
页: [1]
查看完整版本: Naynis Healer Mana Monitor