mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-01 16:36:56 +00:00
Fold librange into pfUI.api.UnitInRange
This commit is contained in:
+1
-1
@@ -1719,7 +1719,7 @@ function pfUI.uf:RefreshUnitState(unit)
|
||||
unit.power.bar:SetMinMaxValues(0, 100)
|
||||
SetBarValue(unit.hp.bar, 0)
|
||||
SetBarValue(unit.power.bar, 0)
|
||||
elseif unit.config.faderange == "1" and not pfUI.api.UnitInRange(unit.label .. unit.id, 4) and not unlock then
|
||||
elseif unit.config.faderange == "1" and not pfUI.api.UnitInRange(unit.label .. unit.id) and not unlock then
|
||||
alpha = unit.alpha_outrange
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user