MIR

A simplistic reminder for Rogue's to cast Dispatch when in execute range. Most of the editing is done in LUA, but there are some basic slash commands to turn the addon on and off. Currently consuming roughly 7kb of memory.

Lua settings:audioClip -- Must be a string the follows traditional file paths to wav/ogg format files. Illidan's "You are not prepared!" by default - "Sound\\Creature\\Illidan\\BLACK_Illidan_04.wav"TextAlert -- This doesn't fully support localization. If you want the text alert in another language (or something else in English), edit this string.icd -- an integer defaulted to 5. Used to prevent the audio from getting spammed, but you can use it to throttle the warnings as much as you like.xOffset & yOffset -- Shift the text box around the screen.

504a:
- Stripped out the check for SF. It was only causing me to confuse myself in conditions. Might come back to it later depending on opener results from Shadowcraft.

504:
- Update for Mists.

Beta 3:
- Attempt 2 to handle excess energy. -- cap at 100 energy.

Beta 2:
- Maloriak's red phase and Chimaeron's feud phase are hardcoded to a blacklist -- I don't like this solution, but it should work.
- Attempt to handle excess energy -- currently using 60 energy post cast as the conditional now, might be lower later
- Should now handle when you're spec'ed MI

Beta 1:
- Initial Release
- Contains a visual and audio alert (with an ICD) whenever Mutilate is cast when Backstab should have been used.

there are several addons which utilize the actionbar glow overlay (e.g. strike now!, iDispell etc.). do you think it would be possible to adapt this for MIR. i'd rather just have bs glow instead of illidan talkin or a huge message appearing when reaching 35%.

Whenever I attempt to use the /mir setAudio 1 or /mir setVisual 1 commands, it just repeats its list of /mir commands in the chat window. When I type in /mir enabled, it doesn't respond.

I made a last minute change when I was uploading this, and my browser or zip tool must have cached the the lua file and reused the cache or something, as it's not the final revision I have on record. It should work fine in b3, as well as be a lot more verbose. A lack of response meant that it was already in that current state, but I can see how some response would be helpful.

I tested dpsing mobs, took about 7 secs to kill. Sound and display consistently came on only when mob died.

I'm having issues reproducing this as it's described. I'm pretty sure it's related to another issue with the event firing process producing an unexpected value for UnitPower though. Most likely due to playstyle differences, I didn't notice it when I tested it. If this next release doesn't fix it, then I'll probably need a little more information.

I'll be uploading another version in a second, if you're still having issues (As well as everyone who may have used the first beta and has issues) I'd recommend deleting the saved variables file located at "\WTF\Account\<Account Name>\SavedVariables\MIR.lua".

Lastly, thanks for actually coming back with a bug report. It's infinitely more helpful than hearing on trade chat 3 weeks after I push something out that something's broken and not aligning with what I have internally.

EDIT: I'm also only working with the enUS client. While this should mostly work with other clients, I'm making no guarantees that it will fully work for those not on enUS.