It registers itself so that hitting escape will close it.
Setting it as a center frame seemed the best solution at the time I did this. I still think it's the best choice.
That's weird, because tons of other addons close on Escape without taking over the way Talented does. Did a quick check of a few addons and Rock config, GuildGreet, Examiner, ArkInventory all close on Escape while still playing nice with other frames.
maybe it's been suggested, but i'm just now looking at this thread... any chance of cooperation with drdamage? i recall seeing some talent spec info in drdamage (like you could over-ride your current spec) so i believe the functionality exists. all that would need to happen is for talented to recognize if drdamage is installed and add a button to stuff those values for you and maybe set a couple of flags to use em. (says the guy who didn't write either of these mods)
the most straight-forward way was to simply assume that anybody playing with their talents would like to see the result in drdamage, so i didn't bother with a toggle or anything.
i simply added the following snippets to the viewmode.lua file:
around line 85:
if (DrDamage and DrDamage.talents and DrDamage.talentInfo[talent.info.name]) then
DrDamage.talents[talent.info.name] = rank;
and around line 160+ (right after the loops end)
if (DrDamage and DrDamage.talents) then
this is basically updating all the talents on every update of the talent window -- overkill, but seems harmless.
what is lacking is an automatic re-assignment of your normals talents when you exit, but i know there's a drdamage call to reset talents so i'm sure it won't be hard to stuff in there.
oh, it seems that drdamage uses babble-spell-2.2 to rewire non-english back into english for the internal talent info, so this needs to be mimicked (reverse translations of the talent names into english). this was just a proof of concept hack more than anything... an official change would need to be more thorough and include this translation stuff.
You should make a Talented_DrDamage addon, or DrDamage_Talented addon, that hooks Talented:UpdateView:
local template = Talented.template
local talents, tinfos = DrDamage.talents, DrDamage.talentInfo
if not talents or not template then return end
local info = Talented:GetTalentInfo(template.class)
for tab, tree in ipairs(info) do
for index, talent in ipairs(tree) do
local name = talent.info.name
if tinfo[name] then
local rank = template[tab][index]
if rank ~= talents[name] then
talents[name] = rank
changed = true
if changed then DrDamage:UpdateAB() end
You may want to reset the talents when Talented closes and also check that localisation works.
How do I see a template I want to build from on a toon I'm leveling? When I choose my full combat rogue spec template, and tell it to apply (I have at least 1 point to spend) it just says I don't have enough points.
Is there no quick and easy way to see a comparison between my fully modeled spec, and my current state so I can choose my next talent as I progress? some people don't have a super memory for complex comparisons on different pages, so going to a menu and toggling between current and some template, is prone to cause errors, if not repeated several times... Maybe it could somehow show a comparison between current and the template in the other mode?