diff --git a/LunaUnitFrames.lua b/LunaUnitFrames.lua index 6f54bf0..884b8fd 100644 --- a/LunaUnitFrames.lua +++ b/LunaUnitFrames.lua @@ -1,7 +1,7 @@ -- Luna Unit Frames 4.0 by Aviana LUF = select(2, ...) -LUF.version = 4250 +LUF.version = 4270 local L = LUF.L local ACR = LibStub("AceConfigRegistry-3.0", true) diff --git a/LunaUnitFrames.toc b/LunaUnitFrames.toc index 1b635a9..fe56abb 100644 --- a/LunaUnitFrames.toc +++ b/LunaUnitFrames.toc @@ -1,8 +1,8 @@ -## Interface: 11401 +## Interface: 11402 ## Title: Luna Unit Frames ## Notes: ## Author: Aviana -## Version: 4250 +## Version: 4270 ## 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_TagsWithHeal/oUF_TagsWithHeal.lua b/libs/oUF_Plugins/oUF_TagsWithHeal/oUF_TagsWithHeal.lua index 71773c0..9d3259d 100644 --- a/libs/oUF_Plugins/oUF_TagsWithHeal/oUF_TagsWithHeal.lua +++ b/libs/oUF_Plugins/oUF_TagsWithHeal/oUF_TagsWithHeal.lua @@ -221,6 +221,10 @@ local tagStrings = { end end]], + ["grpnum"] = [[function(unit) + return strmatch(unit, "(%d+)") or 0 + end]], + ["happiness"] = [[function(unit) if not UnitIsUnit(unit,"pet") or select(2,UnitClass("player")) ~= "HUNTER" then return diff --git a/locales/deDE.lua b/locales/deDE.lua index 59a89c4..98ca09b 100644 --- a/locales/deDE.lua +++ b/locales/deDE.lua @@ -326,6 +326,7 @@ local L = { ["numtargeting"] = "Anzahl an Spielern die diese Einheit aus deiner Gruppe im Ziel haben", ["cnumtargeting"] = "Gef\195\164rbte Version von numtargeting", ["enumtargeting"] = "Gesch\195\164tzte Anzahl Feinde die dieses Ziel haben (Nur PvP)", +["grpnum"] = "Die Einheitennummer in der zugh\195\182rigen Gruppe", ["br"] = "F\195\188gt eine Zeilenumbruch hinzu", ["name"] = "Gibt den reinen Namen der Einheit zur\195\188ck", ["shortname:x"] = "Gibt x Buchstaben des Namens zur\195\188ck (1-12)", diff --git a/locales/enUS.lua b/locales/enUS.lua index 7f7ce2b..250be27 100644 --- a/locales/enUS.lua +++ b/locales/enUS.lua @@ -323,6 +323,7 @@ local L = { ["numtargeting"] = "Number of people in your group targeting this unit", ["cnumtargeting"] = "Colored version of numtargeting", ["enumtargeting"] = "Guessed amount of enemies targeting this unit (PvP only)", +["grpnum"] = "The unit number in the respective group", ["br"] = "Adds a line break", ["name"] = "Returns plain name of the unit", ["shortname:x"] = "Returns the first x letters of the name (1-12)", diff --git a/locales/koKR.lua b/locales/koKR.lua index 02d0769..6cd8b12 100644 --- a/locales/koKR.lua +++ b/locales/koKR.lua @@ -323,6 +323,7 @@ local L = { ["numtargeting"] = "유닛을 대상으로 하는 그룹 내 인원수를 표시합니다.", ["cnumtargeting"] = "대상으로 하는 그룹 내 인원수를 색상화한 버전", ["enumtargeting"] = "Guessed amount of enemies targeting this unit (PvP only)", +["grpnum"] = "The unit number in the respective group", ["br"] = "빈 라인 추가", ["name"] = "유닛의 정확한 이름을 표시합니다.", ["shortname:x"] = "이름의 첫 x글자를 표시합니다. (x는 1-12)", diff --git a/locales/zhCN.lua b/locales/zhCN.lua index 796874f..a8cf37b 100644 --- a/locales/zhCN.lua +++ b/locales/zhCN.lua @@ -323,6 +323,7 @@ local L = { ["numtargeting"] = "你队伍中以该单位为目标的人数", ["cnumtargeting"] = "使用颜色来表示选中目标人数", ["enumtargeting"] = "Guessed amount of enemies targeting this unit (PvP only)", +["grpnum"] = "The unit number in the respective group", ["br"] = "换行", ["name"] = "显示名字", ["shortname:x"] = "显示名字的前x位,x=1-12", diff --git a/locales/zhTW.lua b/locales/zhTW.lua index c86e4e1..58cd6d5 100644 --- a/locales/zhTW.lua +++ b/locales/zhTW.lua @@ -323,6 +323,7 @@ local L = { ["numtargeting"] = "你隊伍中以該單位為目標的人數", ["cnumtargeting"] = "使用顏色來表示你隊伍選中該目標的人數", ["enumtargeting"] = "Guessed amount of enemies targeting this unit (PvP only)", +["grpnum"] = "The unit number in the respective group", ["br"] = "換行", ["name"] = "名字", ["shortname:x"] = "顯示短名字,只顯示名字的前x位,x=1-12", diff --git a/modules/Options.lua b/modules/Options.lua index 79863a8..bf60670 100644 --- a/modules/Options.lua +++ b/modules/Options.lua @@ -10,6 +10,7 @@ local InfoTags = { ["numtargeting"] = true, ["cnumtargeting"] = true, ["enumtargeting"] = true, + ["grpnum"] = true, ["br"] = true, ["name"] = true, ["nameafk"] = true,