WeakAuras

WeakAuras

206M Downloads

ElvUI aura tooltips compatibility

MickeyPickey opened this issue ยท 0 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

ElvUI has a feature that shows who aura belongs to, but it doesn't work with WA tooltips in Wrath ( and i guess for everything that is not Retail). ElvUI throws either wrong or empty "buff/debuff" owner info.
image

Reason being is becouse WA doesn't pass 3rd argument - filter ("HELPFUL" or "HARMFUL") to GameTooltip:Set* methods, which is required for the feature to work.

Simply passing 3rd argument to GameTooltip:SetUnitBuff and GameTooltip:SetUnitDebuff in BuffTrigger.SetToolTip(trigger, state) function fixes an issue:

...
    if state.filter == "HELPFUL" then
      GameTooltip:SetUnitBuff(state.unit, state.index, state.filter)
    elseif state.filter == "HARMFUL" then
      GameTooltip:SetUnitDebuff(state.unit, state.index, state.filter)
    end
...

WeakAuras Version

WeakAuras 5.7.1

World of Warcraft Flavor

Wrath of the Lich King Classic

World of Warcraft Region

EU

Tested with only WeakAuras

  • Yes

Lua Error

No response

Reproduction Steps

  1. Enable ElvUI
  2. Enable options to display tooltip on any
    image
  3. Hower the aura's tooltip. It throws either wrong or empty "buff/debuff" owner info.

Last Good Version

No response

Screenshots

No response

Export String

No response