Download
(983 Kb)
Download
Updated: 07-16-12 03:22 AM
Compatibility:
Mists of Pandaria (5.0.4)
Updated:07-16-12 03:22 AM
Created:06-30-12 09:53 AM
Downloads:4,273
Favorites:15
MD5:
Tidy Plates: Threat Plates - MoP
Version: v6.0 Rev 1.0.2
by: suicidalkatt [More]
Currently 'functioning' version (i.e. gives no addon errors) of Threat Plates for MoP.

Special Thanks to Nainokami for helping me test Rev (1.0.2) of TPTP v6.0 MoP Beta.

Tidy Plates for MoP:

Tidy Plates Beta

Updates Rev 1.0.2:
  • Talent determination has been updated and fully functional.
  • Options have been fixed and totem icons and options have been updated.
  • Fresh saved variables table name is now ThreatPlatesDB_BETA which will be reverted when live launches.
  • Included monk class icon to the icons widget.


Old:
Some in-depth functions such talent role prediction will need some rewriting still, options are also non-functional until Ace Libraries have been updated.


I appreciate any and all comments or help you'd like to suggest. Also feel free to donate!! <3



Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
v6.0 Rev 1.0.1
1MB
suicidalkatt
06-30-12 10:12 AM


Post A Reply Comment Options
Old 08-22-12, 04:55 AM  
Paopao001
A Deviate Faerie Dragon
 
Paopao001's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 209
Uploads: 10
Thanks for keeping on this really nice plate mods! I noticed that a sentence that has not been translated in zhCN and zhTW.
Lua Code:
  1. L["This will toggle the debuff widget to only show for your current target."]
in zhCN, it should be
这样做就只显示你对当前目标施加的减益效果。
in zhTW, it should be
這樣做就只顯示你對當前目標施加的減益效果。
__________________

I hope you could understand my broken English.
If I offended you it was unwitting.
Last edited by Paopao001 : 08-22-12 at 04:56 AM.
Paopao001 is offline Report comment to moderator  
Reply With Quote
Old 08-12-12, 04:52 PM  
galvin
A Theradrim Guardian

Forum posts: 66
File comments: 151
Uploads: 0
I changed the lines of code that have ThreatPlatesDB_BETA to ThreatPlatesDB for mists.
I ported all my save files from live to beta. And so far everything looks the same as it does on live after making the change. Just want to make sure this didn't add errors, assuming you made no DB changes that would effect old saves.

Just trying to get a head start on my UI on mists since I plan to port all save files and addons back to live when ptr goes live.
galvin is offline Report comment to moderator  
Reply With Quote
Old 07-03-12, 10:12 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 302
File comments: 1368
Uploads: 60
Originally Posted by MysticalOS
Role prediction if you want some ideas, i did this for DBM back in cataclysm, and you know what i did to uppdate support for MoP, not a damn thing, it worked out of box. It was a creative way to check roles based on "IsSpellKnown(12345)" and checking for key spells only certain roles had. for example, do you know vengeance? you're a tank! Meditation? You're a healer.

Now in cataclysm it gets tricky for bears, but fortunately in MOP that's eliminated.

But basically this

Code:
--A simple check to see if these classes know "Vengeance".
function addon()
	return (class == "WARRIOR" and IsSpellKnown(93098))
	or (class == "DEATHKNIGHT" and IsSpellKnown(93099))
	or (class == "PALADIN" and IsSpellKnown(84839))
	or (class == "DRUID" and IsSpellKnown(84840))
	or (class == "MONK" and IsSpellKnown(120267))
end
Code:
--A simple check to see if these classes know "Meditation".
function addon()
	return (class == "PALADIN" and IsSpellKnown(95859))
 	or (class == "SHAMAN" and IsSpellKnown(95862))
	or (class == "DRUID" and IsSpellKnown(85101))
	or (class == "PRIEST" and (IsSpellKnown(95860) or IsSpellKnown(95861)))
	or (class == "MONK" and IsSpellKnown(121278))
end
Both of above false? you're a dps

now on live for druid you have to do some extra talent checking still to figure out feral dps from feral bear, but since this is a MoP beta mod, probably irrelevent for your current needs.
I probably won't go crazy into talent spells, since those will change pretty often. Instead a more simple approach would be easier to accomplish:

Lua Code:
  1. local tankspecs = {
  2.     DEATHKNIGHT = 1,
  3.     DRUID = 2,
  4.     MONK = 1,
  5.     PALADIN = 2,
  6.     WARRIOR = 3,
  7. }
  8.  
  9. function IsTank()
  10.     if tankspecs[select(2,UnitClass("player"))] and tankspecs[select(2,UnitClass("player"))] == GetSpecialization() then -- checks class and talent specialization match
  11.         return true
  12.     else
  13.         return false
  14.     end
  15. end

Druids could be the only exception to the check for a particular spell but other than that it's pretty easy.
Last edited by suicidalkatt : 07-03-12 at 10:17 AM.
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Old 07-02-12, 10:34 AM  
MysticalOS
A Wyrmkin Dreamwalker
 
MysticalOS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 272
Uploads: 1
Role prediction if you want some ideas, i did this for DBM back in cataclysm, and you know what i did to uppdate support for MoP, not a damn thing, it worked out of box. It was a creative way to check roles based on "IsSpellKnown(12345)" and checking for key spells only certain roles had. for example, do you know vengeance? you're a tank! Meditation? You're a healer.

Now in cataclysm it gets tricky for bears, but fortunately in MOP that's eliminated.

But basically this

Code:
--A simple check to see if these classes know "Vengeance".
function addon()
	return (class == "WARRIOR" and IsSpellKnown(93098))
	or (class == "DEATHKNIGHT" and IsSpellKnown(93099))
	or (class == "PALADIN" and IsSpellKnown(84839))
	or (class == "DRUID" and IsSpellKnown(84840))
	or (class == "MONK" and IsSpellKnown(120267))
end
Code:
--A simple check to see if these classes know "Meditation".
function addon()
	return (class == "PALADIN" and IsSpellKnown(95859))
 	or (class == "SHAMAN" and IsSpellKnown(95862))
	or (class == "DRUID" and IsSpellKnown(85101))
	or (class == "PRIEST" and (IsSpellKnown(95860) or IsSpellKnown(95861)))
	or (class == "MONK" and IsSpellKnown(121278))
end
Both of above false? you're a dps

now on live for druid you have to do some extra talent checking still to figure out feral dps from feral bear, but since this is a MoP beta mod, probably irrelevent for your current needs.
Last edited by MysticalOS : 07-02-12 at 10:36 AM.
MysticalOS is offline 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.