Emergency is a very simple AddOn that will play a sound when your health or mana reaches a critical level (less than 30%).
It was inspired by the similar functionality included in MSBT. Users familiar with this AddOn will notice that it uses the same clear alert sounds.
How do I change the 'critical level' value to be higher or lower?
Open up core.lua in the Emergency folder, and change either of the '.3' values to the value of your choice. '1' is full health/mana, '0' is no health/mana.
How do I change the sound?
Replace LowHealth.mp3 and LowMana.mp3 in the Emergency folder with sound files of your choice. Make sure that the name remains the same, however. If you choose a .wav file, you will need to change the file extension in core.lua as well.
-
Thanks to Vrul for helping me fix a bug.