/trunk/TipTop
local color |
local player = UnitName("player") |
local server = GetRealmName() |
local target, tclass, tserver, targetLine, _, tree, pnts, spec, points, lasthp, lastmax, textformat |
local target, tclass, tserver, targetLine, _, active, tree, pnts, spec, points, lasthp, lastmax, textformat |
local talents = {} |
--local raidIcon = tt:CreateTexture(nil, "OVERLAY") |
local raidIcon = ttSBar:CreateTexture(nil, "OVERLAY") |
local function TalentText() |
if UnitExists("mouseover") then |
active = GetActiveTalentGroup(1) |
for i=1,3 do |
tree,_,pnts = GetTalentTabInfo(i, 1) |
tree,_,pnts = GetTalentTabInfo(i, 1, nil, active) |
talents[i] = {tree = tree, pnts = pnts} |
end |
points = talents[1].pnts.."/"..talents[2].pnts.."/"..talents[3].pnts |
## Name: TipTop |
## Author: Seerah |
## Notes: Tooltip enhancement |
## Version: 1.8.6 |
## Version: 1.8.7 |
## SavedVariables: TipTopDB |
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets |