Skip to content

Commit

Permalink
Toc bump and new tag
Browse files Browse the repository at this point in the history
- Bump the toc
- Add [grpnum] tag for unit number
  • Loading branch information
Aviana committed Apr 2, 2022
1 parent 3ea9b52 commit 18201d6
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LunaUnitFrames.lua
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions LunaUnitFrames.toc
Original file line number Diff line number Diff line change
@@ -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/)
Expand Down
4 changes: 4 additions & 0 deletions libs/oUF_Plugins/oUF_TagsWithHeal/oUF_TagsWithHeal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
1 change: 1 addition & 0 deletions locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
1 change: 1 addition & 0 deletions locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
1 change: 1 addition & 0 deletions locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions modules/Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ local InfoTags = {
["numtargeting"] = true,
["cnumtargeting"] = true,
["enumtargeting"] = true,
["grpnum"] = true,
["br"] = true,
["name"] = true,
["nameafk"] = true,
Expand Down

0 comments on commit 18201d6

Please sign in to comment.