TrickOrTreat
As I am no longer playing WoW, this mod will not be updated. Feel free to send me a PM if you wish to help maintain it.
A fairly simplistic addon to keep track of Tricks of the Trade. The latest release (2.0) introduces some improvements in code efficiency as well as some new features.
Use /tot or /trickortreat to configure.
Features:
- Alerts you when you apply tricks to a target - Uses the RaidWarning frame and sends a tell to your target to let them know you are misdirecting. If the target is not a tank and they are over 50% threat, it will tell them their threat in relation to the tank.
- Alerts you when you receive tricks from a rogue - Uses the RaidWarning frame and plays an audible alert.
- Reports damage dealt over the duration of tricks when you misdirect a target.
- Reports extra damage dealt by your target due to Tricks.
- New in 2.0 Maintains a list of extra damage caused by party/raid members. This is monitored by the LDB plugin. This feature is not fully implemented yet. There will be options to report the data in various ways and control if and when the data is automatically reset.
Caveats:
- LDB tooltip sometimes errors when joining a new group after leaving one.
- Damage parsing on targets is not accurate for DoTs applied prior to tricks being applied.
Bugs:
Damage tracking on others isn't accurate because of a heinous bug I discovered. Fixed in next release.Fixed in 2.0
LibSink not declared properly. Will still run if you're using any number of other mods: Loggerhead, Parrot, TomQuest2, Prat3, many others... It's just a TOC declaration that I've goofed on. It's fixed in the next release as well.Fixed in 2.0
This used to do the job.
Addon: TankMD Misdirect
http://wow.curse.com/downloads/wow-addons/details/trick-or-treat.aspx
Good luck in taking over the project, meanwhile you could check out my modification to double check.
http://www.wowinterface.com/downloads/info19461-TrickOrTreatupdatedfor4.0.x.html
Also, yes, damage breakdown is broken. I don't know why actually, I drycoded some changes there and supposed they were working, but apparently they don't. However I don't care enough for it to fix, as I don't need that display in combat anyway (got more important things to do then).
Message: ...ns\TrickOrTreat\libs\AceConfig-3.0\AceConfig-3.0.lua:21: Cannot find a library instance of "AceConfigRegistry-3.0".
Time: 11/02/10 15:34:01
Count: 1
Stack: [C]: in function `error'
Interface\AddOns\TrickOrTreat\libs\LibStub.lua:23: in function `LibStub'
...ns\TrickOrTreat\libs\AceConfig-3.0\AceConfig-3.0.lua:21: in main chunk
Locals: (*temporary) = "Cannot find a library instance of "AceConfigRegistry-3.0"."
so that is what i get when i start wow
don´t know if somebody knows something about that and maybe help me fixing it
http://sp00n.pytalhost.com/misc/TrickOrTreat.rar
Or manually:
File core.lua
Search for:
local function AddDamage(counter, damage, overkill)
return counter + damage - overkill
end
Replace with:
local function AddDamage(counter, damage, overkill)
if not damage then damage = 0 end
if not overkill then overkill = 0 end
return counter + damage - overkill
end
Search for:
self.dmgCounter_self = AddDamage(self.dmgCounter_self, arg12, arg13)
Replace with:
local amount, overkill, school, resisted, blocked, absorbed, critical, glancing, crushing = select(12, ...)
self.dmgCounter_self = AddDamage(self.dmgCounter_self, amount, overkill)
Search for:
self.dmgCounter_self = AddDamage(self.dmgCounter_self, arg9, arg10)
Replace with:
local amount, overkill = spellID, spellName
self.dmgCounter_self = AddDamage(self.dmgCounter_self, amount, overkill)
Search for:
self.dmgCounter_target = AddDamage(self.dmgCounter_target, arg12, arg13)
Replace with:
local amount, overkill, school, resisted, blocked, absorbed, critical, glancing, crushing = select(12, ...)
self.dmgCounter_target = AddDamage(self.dmgCounter_target, amount, overkill)
Search for:
self.dmgCounter_target = AddDamage(self.dmgCounter_target, arg9, arg10)
Replace with:
local amount, overkill = spellID, spellName
self.dmgCounter_target = AddDamage(self.dmgCounter_target, amount, overkill)
I'm so used to this addon i had to check 2 times if my ToT had actually been casted on my target with the blizzard default thing. Not even mentionning when someone was casting it on me...
Thanks again!
http://www.wowace.com/create-addon/