Loading...

[Retail & Classic] GennUI

311
Gennoken wrote: Wed Mar 17, 2021 4:00 pm
saeed242 wrote: every time i run the installer it revamps my bars from this https://gyazo.com/8c7a7ebb900fac7c45cf3dddc12a3bfb to this https://gyazo.com/3554f68f0075e394810313eaf4d5249e

is there a way to update it without changing bars ?
In ElvUI 12.20 they changed how actionbars are handeled, you need update/move your spells and abilities otherwise you'll have this issue every update,
My advice, run the install process, move your spells and keybinds to the new actionbars (account wise not character wise, then log off to save changes), this way you'll have no problem for future updates.
xqzme wrote: I will lose all my custom settings if I run the install again right? I definitely don't want to lose all the changes I did. ><
Yes, so u need that manually fix the Tag you have problem with,

go to these uniteframe (party/arena/boss) and check the gMana tag, clear its content, save.
for Player unitframe, change it from gnuihmana to gnuidmana

hit skip install if promped in the install and you are done.
this is how to do it without running the install to keep all ur settings?

[Retail & Classic] GennUI

315
Gennoken wrote: Wed Mar 17, 2021 4:00 pm
Yes, so u need that manually fix the Tag you have problem with,

go to these uniteframe (party/arena/boss) and check the gMana tag, clear its content, save.
for Player unitframe, change it from gnuihmana to gnuidmana

hit skip install if promped in the install and you are done.
So I did this change and I don't see the mana of guys in my party anymore ;(

[Retail & Classic] GennUI

316
xqzme wrote: Thu Mar 18, 2021 8:37 pm
Gennoken wrote: Wed Mar 17, 2021 4:00 pm
Yes, so u need that manually fix the Tag you have problem with,

go to these uniteframe (party/arena/boss) and check the gMana tag, clear its content, save.
for Player unitframe, change it from gnuihmana to gnuidmana

hit skip install if promped in the install and you are done.
So I did this change and I don't see the mana of guys in my party anymore ;(
Activate power bars for party unitframes
GENN UI An ElvUI Edit.

[Retail & Classic] GennUI

320
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 .