Loading...

[Retail & Classic] GennUI

321
Ponyhof wrote: Fri Mar 19, 2021 2:30 am
E:AddTagInfo("HealM", "|cffc41f3bHealM|r", "Mana percent for Healers", 3)
ElvUF.Tags.Events['HealM'] = 'UNIT_POWER_FREQUENT UNIT_MAXPOWER'
ElvUF.Tags.Methods['HealM'] = function(unit)
local min = UnitPower(unit, SPELL_POWER_MANA)
local max = UnitPowerMax(unit, SPELL_POWER_MANA)
local currentSpec = GetSpecialization()
local role = UnitGroupRolesAssigned(unit)
if currentSpec then
local _, currentSpecName = GetSpecializationInfo(currentSpec)
if (currentSpecName == "Restoration" or currentSpecName == "Mistweaver" or currentSpecName == "Discipline" or currentSpecName == "Holy") and min ~= max then
return E:GetFormattedText('PERCENT', UnitPower(unit, SPELL_POWER_MANA), UnitPowerMax(unit, SPELL_POWER_MANA))
end
end
if role == 'HEALER' and min ~= max then
return E:GetFormattedText('PERCENT', UnitPower(unit, SPELL_POWER_MANA), UnitPowerMax(unit, SPELL_POWER_MANA))
end
end
I have found this in an old version from gennui
I edit the TAG to HEALM
and add this in Interface/addons/Elvui_gennui/modules/customtags.lua
now Mana % are show only on healer .
No it does not, it's buggy sometimes shows for others too, sometimes show 0%.
Will add it back when done properly
GENN UI An ElvUI Edit.

[Retail & Classic] GennUI

329
v2.61 [25/03/2021]
• Healer Mana Percent Tag is back and is now separate, for Player and Party. Party Power bars disabled.
• Installer updated to allow users to retain their settings while doing a minimum required updates.
• TooltipIcons module now has a toggle in GennUI options.
• DeadlyBossMods Profile re-enabled in the installer. (Make sure to update to DBM 9.0.24 and above and AddOnsSkins to 4.49-Alpha and above)
• BigDebuffs, OmniCD, DeadlyBossMods, OmniBar, GladiusEx, NameplateCooldowns profiles updated.
GENN UI An ElvUI Edit.