Skip to content

Commit 6515266

Browse files
committed
cant use health value as a check bc its a secret
1 parent 9463ba0 commit 6515266

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

ElvUI_ActionBarBuddy/Core.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ do
460460
or (db.displayTriggers.isPossessed and possessbar == '1')
461461
or (db.displayTriggers.hasOverridebar and HasOverrideActionBar())
462462
or (db.displayTriggers.inCombat == 2 and UnitAffectingCombat('player') or db.displayTriggers.inCombat == 1 and not UnitAffectingCombat('player'))
463-
or (db.displayTriggers.notMaxHealth and (UnitHealth('player') ~= UnitHealthMax('player')))
463+
or (not E.Retail and (db.displayTriggers.notMaxHealth and (UnitHealth('player') ~= UnitHealthMax('player'))))
464464
or (db.displayTriggers.onTaxi == 2 and UnitOnTaxi('player') or db.displayTriggers.onTaxi == 1 and not UnitOnTaxi('player'))
465465
or (E.Retail and (db.displayTriggers.isDragonRiding and not IsPassenger() and (canGlide or CanGlide(event))))
466466
or (not E.Classic and (db.displayTriggers.inVehicle and UnitExists('vehicle') and (not db.displayTriggers.hideAsPassenger or db.displayTriggers.hideAsPassenger and not IsPassenger()))) then

ElvUI_ActionBarBuddy/Options.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ local globalFadeOptions = {
173173
notMaxHealth = {
174174
name = L["Not Max Health"],
175175
order = 50,
176+
hidden = function() return E.Retail end,
176177
},
177178
playerCasting = {
178179
name = L["Player Casting"],

0 commit comments

Comments
 (0)