Cant see Auras in Edit Mode #2158


  • Defect
Open
  • hippoterus created this issue Dec 1, 2024

    Can´t see any Auras ( Buffs or Debuffs ) on any units in Edit Mode. No add on is blocking anything, i checked. Redownloaded the Addon aswell. No change, issuse continues. 

  • hippoterus added a tag Defect Dec 1, 2024
  • similarmelody posted a comment Dec 7, 2024

    I can confirm this one. have run into it myself a bunch of times.

  • DarkMac posted a comment Feb 1, 2025

    Can confirm, no Auras in config mode. Neither buffs or debuffs, on any and all frames.

  • DnB_Junkee posted a comment Feb 27, 2025

    I looked into the code why auras don't show in config mode. Apparently the configmode overwrites references to the blizz api like UnitAura with dummy implementations and then modifies the environment associated with a module once you go into configmode. Since the Classic Era Update and using LibClassicDurations the UnitAura overwrite does not affect the runenvironment of the Aura module, because it saves the reference to UnitAura early on. Thus using setfenv to overwrite UnitAura with a dummy function has no effect.

     

    A simple but rather ugly way is to go into auras.lua in the module directory in the function `scan` replace 

    local name, texture, count, auraType, duration, endTime, caster, isRemovable, nameplateShowPersonal, spellID, canApplyAura, isBossDebuff = parent.auraFunc(frame.parent.unit, index, filter)

    with

    local UnitAura = ShadowUF.db.profile.locked and parent.auraFunc or UnitAura

    local name, texture, count, auraType, duration, endTime, caster, isRemovable, nameplateShowPersonal, spellID, canApplyAura, isBossDebuff = UnitAura(frame.parent.unit, index, filter)

    Additionally to better see differences between auras cast by the player or not, I would suggest an edit in the movers.lua line 130 for the UnitAura overwrite in `configEnv` as follows:

    return L["Test Aura"], texture, id, auraType, 0, 0, id < 5 and "player" or nil, id % 6 == 0

    This simply makes the first 4 auras a player aura, and the rest not. Now you can see how it would look like with enlarged player auras AND not enlarged auras.


    Edited Feb 27, 2025

To post a comment, please login or register a new account.