promotional bannermobile promotional banner
premium banner
Energy Monitor

Description

Monitors Rogue and Druid Energy.


This is a remake / rewrite of EnergyWatch using the Ace3 library and LibSharedMedia-3.0.

It supercedes EnergyWatch_v2A (which was an Ace2'd version of EnergyWatch_v2).

Features

  • 3 modes of operation
    • Time based ticks
    • Fixed Energy based ticks
    • Percentage Energy based ticks
  • Uses Ace3
  • Uses LibSharedMedia-3.0 to specify textures, fonts and sounds
  • No longer uses UNIT_ENERGY to derive the current tick state

/emon options

  • locked [on|off]
    Locks or unlocks the bar in place. Defaults to on.

bar display options

  • bar color <r> <g> <b> <a>
    Sets the bar's color. If no values are provided, opens the color chooser. Defaults to the value set in Interface.xml: 1 1 0 1
  • bar invert [on|off]
    Inverts the progress from left to right to right to left. Defaults to left to right (off).
  • bar scale <multiplier>
    <multiplier> can be any value from 0.25 to 3.0 in 0.01 increments. Defaults to 1.0.
  • bar text <string>
    <string> to display on top of the bar. Functions similarly to the text string from earlier EnergyWatch addons. Defaults to Energy. <string> may contain the following replacements:
    &e : Current Energy
    &em : Maximum Energy
    &c : Combox Points
  • bar edge
    Deselects any edge skin allowing the old style border to appear

show options

  • show when stealthed [on|off]
    Show the energy watch bar while stealthed. Defaults to on.
  • show when in_combat [on|off]
    Show the energy watch bar while in combat. Defaults to on.
  • show when out_of_combat [on|off]
    Show the energy watch bar while out of combat. Defaults to on.
  • show while always
    Always shows the energy watch bar. This is equivalent to earlier EnergyWatch "/ew show always". Equivalent to:
    /emon show when incombat on
    /emon show when outofcombat on
    /emon show when stealthed on
  • show while combat
    Only shows the energy watch bar during combat. This is equivalent to earlier EnergyWatch "/ew show combat". Equivalent to:
    /emon show when incombat on
    /emon show when outofcombat off
    /emon show when stealthed off
  • show while stealth
    Only shows the energy watch bar during combat or in stealth. This is equivalent to earlier EnergyWatch "/ew show stealth". Equivalent to:
    /emon show when incombat on
    /emon show when outofcombat off
    /emon show when stealthed on
  • show while stealthonly
    Only shows the energy watch bar while in stealth. This is equivalent to earlier EnergyWatch "/ew show stealthonly". Equivalent to:
    /emon show when incombat off
    /emon show when outofcombat off
    /emon show when stealthed on

sound options

  • sound enabled [on|off]
    Turns playing sounds on or off for each energy gain. Defaults to off.
  • sound resource <name>
    Plays the given resource on each energy gain. See WoW Wiki:API_PlaySound for a list of possible values. Defaults to SPELLBOOKCLOSE. Clears any sound file setting.
  • sound file <name>
    Plays the given file on each each energy gain. Files must be placed in a "Sounds" subdirectory of the addon. Sounds may be whatever is appropriate for PlaySoundFile, currently WAV or MP3 files. If the file is missing or corrupt, nothing *should* happen.

EnergyWatch_v2 to EnergyMonitor option conversions

/ew option (old : new)

  • clear : /emon profile reset
  • lock  : /emon locked on
  • unlock  : /emon locked off
  • invert  : /emon bar invert [on|off]
  • scale _ : /emon bar scale _
  • text _  : /emon bar text _ (same as EnergyWatch_v2)
  • notext : /emon bar text
  • show _  : /emon show while _ (same as EnergyWatch_v2)
  • sound _ : /emon sound _ (same as EnergyWatch_v2)