mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- fixed Vengeance module to work for all classes
This commit is contained in:
@ -58,8 +58,9 @@ function Vengeance.prototype:UpdateCurrent(event, unit)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local name, _, _, _, _, _, _, _, _, _, auraID = UnitAura(unit, GetSpellInfo(VENGEANCE_SPELL_ID))
|
local spellName = GetSpellInfo(VENGEANCE_SPELL_ID)
|
||||||
if (name) then
|
local name = UnitAura(unit, spellName)
|
||||||
|
if name then
|
||||||
-- Buff found, copy it into the buffer for scanning
|
-- Buff found, copy it into the buffer for scanning
|
||||||
self.tooltipBuffer:ClearLines()
|
self.tooltipBuffer:ClearLines()
|
||||||
self.tooltipBuffer:SetUnitBuff(unit, name)
|
self.tooltipBuffer:SetUnitBuff(unit, name)
|
||||||
|
Reference in New Issue
Block a user