Add two new lines: Zone and Guild Note
Scott Sibley [10-28-10 - 07:16]
Add two new lines: Zone and Guild Note
diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua
index 9f216bb..5a19f82 100644
--- a/Modules/UnitTooltip/UnitTooltip.lua
+++ b/Modules/UnitTooltip/UnitTooltip.lua
@@ -414,6 +414,16 @@ return select(2, GetRole(unit))
update = 1000
},
[22] = {
+ name = "Zone",
+ left = [[
+return "Zone:"
+]],
+ right = [[
+return select(6, UnitGuildInfo(unit))
+]],
+ enabled = true
+ },
+ [23] = {
name = "Location",
left = [[
return "Location:"
@@ -423,7 +433,7 @@ return select(3, GetUnitTooltipStats(unit))
]],
enabled = true
},
- [23] = {
+ [24] = {
name = "Range",
left = [[
local min, max = RangeCheck:GetRange(unit)
@@ -439,6 +449,16 @@ end
enabled = true,
update = 1000
},
+ [24] = {
+ name = "Guild Note",
+ left = [[
+return "Guild Note:"
+]],
+ right = [[
+return select(7, UnitGuildInfo(unit))
+]],
+ enabled = true
+ },
}
local options = {}