Download
(5Kb)
Download
Updated: 03-28-15 05:20 AM
Pictures
File Info
Compatibility:
The Adventure Continues (6.1)
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:03-28-15 05:20 AM
Created:06-22-13 03:08 PM
Downloads:3,539
Favorites:6
MD5:

Intoxicated - Monk Tank Display

Version: 1.07
by: Malsomnus [More]

I was pretty happy when Blizzard added the Stagger bar for monks... until I realized it has an annoying delay. So I decided to just make a full kit for monk tanks who have to keep tabs on oh so many things.
This should work for clients in all languages, please let me know if it doesn't.

This currently tracks:
* Stagger - total damage
* Shuffle - time left
* Elusive Brew - stacks/ time left
* Resolve - value
* Guard - value and time left
* Zen Sphere - time left
* Dampen Harm - stacks/ time left
* Fortifying Brew - time left
* Tiger Power - time left

If there's anything else you'd like to see tracked on this add-on, don't hesitate to comment!


_________________________________________

Have you seen my other add-ons yet?
SanityCheck - Of course you know how to play your class, but there is just so much to remember!
Flaskaholic - Flasks are expensive, stop wasting them!
Surprise - What does this add-on do? There is only one way to find out!
MooTrack - The simple, lightweight way to keep track of buffs and debuffs!
MagicMarker - One configurable tool for all your automatic marking needs!

v1.07
* Fixed a bug with Resolve and Guard sometimes not showing correctly
* Added a bar for Tiger Power

v1.06
* Added scaling, locking, and hide-out-of-combat, all available in the interface options

v1.05
* Added slash commands to lock/ unlock

v1.04
* Finally it's WoD-compatible

v1.03
* Maybe now it will work for other languages too

v1.02
* Serious code improvements, which should probably help this support languages other than English
* Added bars for Dampen Harm and Fortifying Brew, plus split Elusive Brew into 2 bars (one for the stacks and one for the actual buff)

v1.01
* Added bars for Guard and Zen sphere.
* Right-click menu allows you to show/ hide any of the bars.
Optional Files (0)


Post A Reply Comment Options
Unread 07-02-13, 02:04 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Patch 5.2 added a new function you might find useful:
http://www.wowpedia.org/API_UnitStagger

Additionally I can suggest that you work with spellids and use GetSpellInfo to extract the localized name of the spell you want to track.

Currently your addon works in English only because you hardcoded the spellnames.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 07-02-13 at 02:10 AM.
Report comment to moderator  
Reply With Quote
Unread 07-02-13, 05:31 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
That's useful advice, thank you
Finding up-to-date info on the API seems to be pretty hard. I generally work with wowprogramming.com and UnitStagger() does not even appear there. Makes me wonder how many useful API functions I've been missing...

Frankly, I haven't given any thought to internationalization of my add-ons yet because I figured it was a lot of effort when I don't even know if anybody wants them in another language in the first place. But in this case the method you suggest is more correct anyway, so I think this will see a new version soon.
Report comment to moderator  
Reply With Quote
Unread 07-02-13, 07:12 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 07-23-13, 04:24 AM  
Digawen
A Kobold Labourer

Forum posts: 1
File comments: 13
Uploads: 0
I would be very happy about a German localization.


If I were to translate any things, then I'll do it gladly.
And sorry for my bad english.
Last edited by Digawen : 07-23-13 at 04:26 AM.
Report comment to moderator  
Reply With Quote
Unread 07-23-13, 05:09 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
I thought after the last version nearly everything should work in the local language. Is there anything that still appears in English except "Stagger" and "Options"?

My German isn't very good (I know only 3 words), so if you translate the strings for me, I'll go learn how to do localization
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Unread 07-23-13, 10:17 AM  
Digawen
A Kobold Labourer

Forum posts: 1
File comments: 13
Uploads: 0
To say exactly, nothing appears generally.
No window or a bar or similar.

I thought that would hang together with the localization.
Report comment to moderator  
Reply With Quote
Unread 07-23-13, 10:30 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
Oh crap... the other non-localized string is:
Lua Code:
  1. if UnitClass('player')=='Monk' then
^^

I will patch this up ASAP, thanks for the report
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Unread 07-23-13, 10:43 AM  
Digawen
A Kobold Labourer

Forum posts: 1
File comments: 13
Uploads: 0
So if I changed just from Monk to Mönch, would it have to work? ^^
Great !

Then I must probably finish my work fast and go home... ^^

I have replaced it with weakaura.

http://sunniersartofwar.com/brewmaster-weak-auras/

The Stagger Percentage i find very interesting.
Last edited by Digawen : 07-23-13 at 10:44 AM.
Report comment to moderator  
Reply With Quote
Unread 07-23-13, 10:50 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
That might work, yeah, but I'm already fixing it
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Unread 07-24-13, 04:35 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Just do

Lua Code:
  1. if select(2, UnitClass("player")) ~= "MONK" then return end

UnitClass has more return values. The second return value is the same in any language.
http://wowprogramming.com/docs/api/UnitClass
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 07-24-13 at 04:35 AM.
Report comment to moderator  
Reply With Quote
Unread 07-24-13, 06:44 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
Actually I fixed it to use the third return value. Numbers just seem more trustworthy
(This return value is not documented in wowprogramming)
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Unread 07-26-13, 04:26 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Those strings are constants. They will not change ever. Plus you know exactly what class you are looking at. With number you always have to keep an index of number to classname to check which class is what. Tedious later on imo.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 07-26-13, 04:55 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
I would agree completely, if this add-on wasn't strictly for monks. If my code had to handle even 2 different classes, I'd do it the way you said
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.