diff --git a/LunaUnitFrames.lua b/LunaUnitFrames.lua index 35e9ca5..5d25ccc 100644 --- a/LunaUnitFrames.lua +++ b/LunaUnitFrames.lua @@ -1,7 +1,7 @@ -- Luna Unit Frames 4.0 by Aviana LUF = select(2, ...) -LUF.version = 4200 +LUF.version = 4210 local L = LUF.L local ACR = LibStub("AceConfigRegistry-3.0", true) diff --git a/LunaUnitFrames.toc b/LunaUnitFrames.toc index 7198c46..92babc7 100644 --- a/LunaUnitFrames.toc +++ b/LunaUnitFrames.toc @@ -2,7 +2,7 @@ ## Title: Luna Unit Frames ## Notes: ## Author: Aviana -## Version: 4200 +## Version: 4210 ## SavedVariables: LunaUFDB ## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets, Clique ## X-License: WTFPL (http://www.wtfpl.net/about/) diff --git a/libs/oUF_Plugins/oUF_StatusPortrait/oUF_StatusPortrait.lua b/libs/oUF_Plugins/oUF_StatusPortrait/oUF_StatusPortrait.lua index 721c237..f57edc1 100644 --- a/libs/oUF_Plugins/oUF_StatusPortrait/oUF_StatusPortrait.lua +++ b/libs/oUF_Plugins/oUF_StatusPortrait/oUF_StatusPortrait.lua @@ -140,7 +140,7 @@ local function Update(self, event, unit) element.texture:Hide() element.model:Show() elseif element.type == "class" or element.type == "2dclass" and UnitIsPlayer(unit) then - local class = select(2,UnitClass(unit)) + local class = select(2,UnitClass(unit)) or "WARRIOR" element.texture:SetTexture("Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Classes") element.texture:SetTexCoord(CLASS_ICON_TCOORDS[class][1], CLASS_ICON_TCOORDS[class][2], CLASS_ICON_TCOORDS[class][3], CLASS_ICON_TCOORDS[class][4]) element.texture:Show() diff --git a/libs/oUF_Plugins/oUF_TagsWithHeal/oUF_TagsWithHeal.lua b/libs/oUF_Plugins/oUF_TagsWithHeal/oUF_TagsWithHeal.lua index ca59fbe..4f6b7bd 100644 --- a/libs/oUF_Plugins/oUF_TagsWithHeal/oUF_TagsWithHeal.lua +++ b/libs/oUF_Plugins/oUF_TagsWithHeal/oUF_TagsWithHeal.lua @@ -869,7 +869,7 @@ local tagStrings = { status, scaledPercentage = select(2, UnitDetailedThreatSituation("player", unit)) end if status then - return scaledPercentage.."%" + return ceil(scaledPercentage).."%" end end]],