From 0ff1ac2b710f77acbf289091d01c8cb86e85d089 Mon Sep 17 00:00:00 2001 From: Arthur Corenzan Date: Sat, 21 Nov 2015 17:30:01 -0200 Subject: [PATCH] Floors the default offset for target unit frame --- SlightlyImprovedAttributeBars.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SlightlyImprovedAttributeBars.lua b/SlightlyImprovedAttributeBars.lua index aa61118..ad336a9 100644 --- a/SlightlyImprovedAttributeBars.lua +++ b/SlightlyImprovedAttributeBars.lua @@ -156,7 +156,7 @@ function SIAB.Initialize(eventCode, addOnName) -- Initialize the offset to be just above the health bar if (SIAB.vars.targetReticleOffset == -1) then - SIAB.vars.targetReticleOffset = ZO_PlayerAttributeHealth:GetTop() - 175 + SIAB.vars.targetReticleOffset = zo_floor(ZO_PlayerAttributeHealth:GetTop() - 175) end -- Save the original offset in case this feature is disabled