mirror of
https://github.com/OldManAlpha/Puppeteer.git
synced 2025-11-28 23:48:35 +00:00
commit
119a2381c6
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user