Merge pull request #14 from OldManAlpha/dev

Version 1.0.4
This commit is contained in:
OldManAlpha 2025-08-29 22:21:30 -07:00 committed by GitHub
commit 119a2381c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,5 @@
## Interface: 11200
## Version: 1.0.3
## Version: 1.0.4
## Title: Puppeteer
## Notes: Unit frames addon tailored for healers
## Author: OldManAlpha, Richard Truax(i2ichardt)

View File

@ -223,6 +223,10 @@ function AutoRole(unit)
end
function AutoRoleByNameClass(name, class)
if not TalentCountRoleMap[class] then
SetRoleAndUpdate(name, "Damage")
return
end
PlayerTalentData[name] = {class = class, trees = {}}
requestTalents(name)
end

View File

@ -637,6 +637,9 @@ if SuperWoW or TurtleWow then
local _, _, _, i = UnitDebuff(unit, index)
id = i
end
if not id then -- Uh oh, Turtle lost the ID
return ScanAuraInfo(unit, index, type)
end
end
if not auraNameCache[id] then
auraNameCache[id], auraTypeCache[id] = ScanAuraInfo(unit, index, type)