Skip to content

Commit c406b00

Browse files
committed
Update to 9.0 PTR
1 parent 7474369 commit c406b00

33 files changed

+1133
-303
lines changed

Roth_UI.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 810000
1+
## Interface: 80205
22
## Author: Galaxy
33
## Title: Roth UI
44
## Notes: Galaxy's oUF layout with Diablo flavor!

config.lua

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-- A Diablo themed unitframe layout for oUF 1.6.x
77
-- Galaxy119/Joker119 - 2016-2018
8-
-- Version 2.7.1
8+
-- Version 2.8.0
99
---------------------------------------------
1010

1111
--get the addon namespace
@@ -629,29 +629,35 @@
629629
texture = (mediapath.."statusbar3"),
630630
},
631631
aurawatch = {
632-
show = true,
632+
show = false,
633633
},
634634
auras = {
635635
--put every single spellid here that you want to be tracked, be it buff or debuff doesn't matter
636-
--maximum number of icons displayed at a time = 1
637-
--this is for important boss mechanics only, this is not for tracking healing HOTs etc
638636
whitelist = {
639-
637+
223306, -- Bestow Faith
638+
53563, -- Beacon of Light
639+
6940, -- Blessing of Sacrifice
640+
287280, -- Glimmer of Light
641+
156910, -- Beacon of Faith
642+
200025, -- Beacon of Virtue
643+
313255, -- Slow
640644
},
641645
blacklist = {
642-
--these are abilities that should definetly now be shown
646+
--these are abilities that should definetly not be shown
643647
164545,
644648
164547,
649+
54149,
645650
},
646651
show = true,
647652
disableCooldown = false,
648653
showBuffType = true,
649654
showDebuffType = true,
650-
doNotUseCustomFilter = true,
655+
doNotUseCustomFilter = false,
651656
size = 13,
652657
num = 5,
653658
spacing = 3,
654-
pos = { a1 = "CENTER", x = 0, y = -23},
659+
debuffPos = { a1 = "CENTER", x = 0, y = -23},
660+
buffPos = {a1 = "CENTER", x = 33, y = 0},
655661
},
656662
attributes = {
657663
visibility = "custom [nogroup:party,nogroup:raid] show; [group:party,nogroup:raid] show; [group:raid] show; hide",
@@ -830,7 +836,7 @@
830836
mouseover = {
831837
enable = true,
832838
fadeIn = {time = 0.4, alpha = 1},
833-
fadeOut = {time = 0.3, alpha = 0.2},
839+
fadeOut = {time = 0.3, alpha = 1},
834840
},
835841
},
836842
bar6 = {
@@ -1021,6 +1027,7 @@ cfg.tracker = {
10211027
--rMinimap
10221028
cfg.minimap = {
10231029
scale = 1,
1030+
alpha = 0.5,
10241031
point = {"TOPRIGHT", 0, -18},
10251032
}
10261033

core/mainmenu.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ cfg.backdrop = { bgFile = mediapath.."Tooltip_Background", edgeFile = mediapath.
2020

2121
local MenuSetup = function() end
2222
--Skin the Game Menu
23-
GameMenuFrame:SetBackdrop(cfg.backdrop)
23+
-- GameMenuFrame:SetBackdrop(cfg.backdrop)
2424

2525
--Skin the Character Frame

core/panel.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@
237237

238238
--basic color picker func
239239
local createBasicColorPicker = function(parent, name, title, width, height)
240-
local picker = CF("Button", name, parent)
240+
local picker = CF("Button", name, parent, BackdropTemplateMixin and "BackdropTemplate")
241241
picker:SetSize(width, height)
242-
picker:SetBackdrop(backdrop)
242+
picker:SetBackdrop({backdrop})
243243
picker:SetBackdropBorderColor(0.5,0.5,0.5)
244244
--texture
245245
local color = picker:CreateTexture(nil,"BACKGROUND",nil,-7)

core/tags.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ end
195195
local val = oUF.Tags.Methods["perhp"](unit)
196196
return val or ""
197197
end
198-
oUF.Tags.Events["diablo:bosshp"] = "UNIT_HEALTH_FREQUENT UNIT_MAXHEALTH UNIT_TARGETABLE_CHANGED"
198+
oUF.Tags.Events["diablo:bosshp"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_TARGETABLE_CHANGED"
199199

200200
--boss power value
201201
oUF.Tags.Methods["diablo:bosspp"] = function(unit)
@@ -435,4 +435,4 @@ end
435435
end
436436
--oUF.Tags.Events["diablo:PowerOrbBottom"] = "UNIT_DISPLAYPOWER UNIT_POWER_UPDATE UNIT_MAXPOWER UNIT_CONNECTION"
437437

438-
---------------------------------------------
438+
---------------------------------------------

embeds/Roth_ShinyBuffs/Roth_ShinyBuffs.lua

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ local function SkinningMachine(svtable, btn, dur, c, icon, bor, firstTime)
7070
bor:SetDrawLayer("OVERLAY", 1)
7171
end
7272
--
73-
btn.bar = CreateFrame("StatusBar", nil, btn.bg)
73+
btn.bar = CreateFrame("StatusBar", nil, btn.bg, BackdropTemplateMixin and "BackdropTemplate")
7474
btn.bar:SetPoint("TOPLEFT", icon, "BOTTOMLEFT", 0, -1.5)
7575
btn.bar:SetPoint("TOPRIGHT", icon, "BOTTOMRIGHT", 0, -1.5)
7676
btn.bar:SetPoint("BOTTOM", btn.bg, "BOTTOM", 0, 5.5)
@@ -99,21 +99,16 @@ local function SkinningMachine(svtable, btn, dur, c, icon, bor, firstTime)
9999
dur:SetFont(LSM:Fetch("font", db.font), db[svtable].dfsize, db.fstyle)
100100
c:SetFont(LSM:Fetch("font", db.font), db[svtable].cfsize, db.fstyle)
101101
btn.bg:SetPoint("BOTTOMRIGHT", btn, "BOTTOMRIGHT", 2, -max(db[svtable].size*.2, 5))
102-
btn.bg:SetBackdrop({ bgFile = LSM:Fetch("background", db.bg),
103-
edgeFile = LSM:Fetch("border", db.border),
104-
edgeSize = db.borderWidth,
105-
insets = {left=3,right=3,top=3,bottom=3}
106-
})
107102
btn.bar:SetStatusBarTexture(LSM:Fetch("statusbar", db.sbar))
108103
if db.classbg then
109-
btn.bg:SetBackdropColor(classColor.r, classColor.g, classColor.b)
104+
--btn.bg:SetBackdropColor(classColor.r, classColor.g, classColor.b)
110105
else
111-
btn.bg:SetBackdropColor(db.bgColor.r, db.bgColor.g, db.bgColor.b)
106+
--btn.bg:SetBackdropColor(db.bgColor.r, db.bgColor.g, db.bgColor.b)
112107
end
113108
if db.classbor then
114-
btn.bg:SetBackdropBorderColor(classColor.r, classColor.g, classColor.b)
109+
--btn.bg:SetBackdropBorderColor(classColor.r, classColor.g, classColor.b)
115110
else
116-
btn.bg:SetBackdropBorderColor(db.borColor.r, db.borColor.g, db.borColor.b)
111+
--btn.bg:SetBackdropBorderColor(db.borColor.r, db.borColor.g, db.borColor.b)
117112
end
118113
if db.classbar then
119114
btn.bar:SetStatusBarColor(classColor.r, classColor.g, classColor.b)
@@ -923,4 +918,4 @@ LSM:Register("background", "Solid", "Interface\\AddOns\\Roth_UI\\media\\Solid.tg
923918

924919
SB:SetScript("OnEvent", PEW)
925920

926-
SB:RegisterEvent("PLAYER_ENTERING_WORLD")
921+
SB:RegisterEvent("PLAYER_ENTERING_WORLD")

embeds/oUF/elements/health.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ local Enable = function(self, unit)
167167
health.ForceUpdate = ForceUpdate
168168

169169
if(health.frequentUpdates) then
170-
self:RegisterEvent('UNIT_HEALTH_FREQUENT', Path)
170+
self:RegisterEvent('UNIT_HEALTH', Path)
171171
else
172172
self:RegisterEvent('UNIT_HEALTH', Path)
173173
end
@@ -190,7 +190,7 @@ local Disable = function(self)
190190
local health = self.Health
191191
if(health) then
192192
health:Hide()
193-
self:UnregisterEvent('UNIT_HEALTH_FREQUENT', Path)
193+
self:UnregisterEvent('UNIT_HEALTH', Path)
194194
self:UnregisterEvent('UNIT_HEALTH', Path)
195195
self:UnregisterEvent('UNIT_MAXHEALTH', Path)
196196
self:UnregisterEvent('UNIT_CONNECTION', Path)

embeds/rActionBarStyler/core/bar1.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ if not gcfg.embeds.rActionBarStyler then return end
2121

2222
--create the frame to hold the buttons
2323
local frame = CreateFrame("Frame", "rABS_MainMenuBar", UIParent, "SecureHandlerStateTemplate")
24-
frame:ClearAllPoints();
2524
if cfg.uselayout2x6 then
2625
frame:SetWidth(cfg.buttons.size*num/2 + (num/2-1)*cfg.buttons.margin + 2*cfg.padding)
2726
frame:SetHeight(cfg.buttons.size*num/6 + (num/6-1)*cfg.buttons.margin + 2*cfg.padding)
@@ -37,9 +36,11 @@ if not gcfg.embeds.rActionBarStyler then return end
3736
frame:SetScale(cfg.scale)
3837

3938
--move the buttons into position and reparent them
39+
MainMenuBarArtFrame:ClearAllPoints()
4040
MainMenuBarArtFrame:SetParent(frame)
4141
MainMenuBarArtFrame:EnableMouse(false)
4242
MainMenuBar:EnableMouse(false)
43+
MainMenuBar:ClearAllPoints()
4344
MainMenuBar:Hide()
4445

4546
for i=1, num do

embeds/rButtonTemplate/core.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ end
120120

121121
local function SetupBackdrop(button,backdrop)
122122
if not backdrop then return end
123-
local bg = CreateFrame("Frame", nil, button)
123+
local bg = CreateFrame("Frame", nil, button, BackdropTemplateMixin and "BackdropTemplate")
124124
ApplyPoints(bg, backdrop.points)
125125
bg:SetFrameLevel(button:GetFrameLevel()-1)
126-
bg:SetBackdrop(backdrop)
126+
bg:SetBackdrop({backdrop})
127127
if backdrop.backgroundColor then
128128
bg:SetBackdropColor(unpack(backdrop.backgroundColor))
129129
end
@@ -359,4 +359,4 @@ function rButtonTemplate:StyleAllAuraButtons(cfg)
359359
rButtonTemplate:StyleBuffButtons(cfg)
360360
rButtonTemplate:StyleDebuffButtons(cfg)
361361
rButtonTemplate:StyleTempEnchants(cfg)
362-
end
362+
end

embeds/rInfostrings/core/core.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ if not cfg.embeds.rInfoStrings then return end
151151
xp = "|c00FA58F4"..numformat(UnitXP("player")).."/"..numformat(UnitXPMax("player")).." |r|c00ffb400("..numformat(GetXPExhaustion() or 0)..")|r|c00FA58F4 | "..string.format("%.0f", (UnitXP("player")/UnitXPMax("player")*100)).."%|r"
152152
else
153153
local _, _, minimum, maximum, value = GetWatchedFactionInfo()
154+
154155
if ((value-minimum)==999) and ((maximum-minimum)==1000) then
155156
xp = "|c0000FF00MAXED OUT|r"
156157
else

embeds/rMinimap/core.lua

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ Minimap:SetMaskTexture(mediapath.."mask2")
3030
Minimap:ClearAllPoints()
3131
Minimap:SetPoint("CENTER")
3232
Minimap:SetSize(190,190) --correct the cluster offset
33+
local function SetAlpha()
34+
Minimap:SetAlpha(cfg.minimap.alpha)
35+
end
36+
C_Timer.After(5, SetAlpha)
37+
38+
3339

3440
--hide regions
3541
MinimapBackdrop:Hide()
@@ -156,9 +162,8 @@ Minimap:SetScript("OnLeave", SetTimer)
156162
rLib:RegisterCallback("PLAYER_ENTERING_WORLD", Hide)
157163
Hide(Minimap)
158164

159-
160165
--drag frame
161166
rLib:CreateDragFrame(MinimapCluster, L.dragFrames, -2, true)
162167

163168
--create slash commands
164-
rLib:CreateSlashCmd(L.addonName, L.addonShortcut, L.dragFrames, L.addonColor)
169+
rLib:CreateSlashCmd(L.addonName, L.addonShortcut, L.dragFrames, L.addonColor)

embeds/rNamePlates/rNamePlates.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,16 +180,15 @@ hooksecurefunc("CompactUnitFrame_UpdateName", function (frame)
180180
frame.name:SetFont(cfg.font, 12)
181181

182182
--explosiove orbs
183-
if (name == "Explosives") then
183+
if (string.match( name, "Explosives" )) then
184184
frame.healthBar:SetSize(384,48)
185185
frame.healthBar:SetScale(0.35)
186186
frame.healthBar:SetFrameStrata("TOOLTIP")
187187
frame.healthBar:SetFrameLevel(20)
188188
frame.healthBar.re:SetSize(128,128)
189189
frame.healthBar.le:SetSize(128,128)
190190
else
191-
frame.healthBar.re:SetSize(64,64)
192-
frame.healthBar.le:SetSize(64,64)
191+
frame.healthBar:SetSize(64,64)
193192
end
194193
end)
195194

embeds/rRaidManager/core.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@
7070
---------------------------
7171

7272
--create manager frame
73-
local manager = CF("Frame", addon, UIP, "SecureHandlerStateTemplate")
73+
local manager = CF("Frame", addon, UIP, "SecureHandlerStateTemplate" and "BackdropTemplate")
7474
manager:SetFrameStrata("DIALOG")
7575
manager:SetSize(200,390)
7676
manager:SetPoint("LEFT", -190, 0)
7777
manager:SetAlpha(0.4)
78-
manager:SetBackdrop(backdrop)
78+
manager:SetBackdrop({backdrop})
7979
manager:SetBackdropColor(0.1,0.1,0.1,0.9)
8080
manager:SetBackdropBorderColor(0.7,0.7,0.7)
8181
manager:RegisterEvent("PLAYER_LOGIN")

embeds/tullaRange/LICENSE

100755100644
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
Copyright (c) 2010 Jason Greer
2-
3-
Permission is hereby granted, free of charge, to any person obtaining a copy
4-
of this software and associated documentation files (the "Software"), to deal
5-
in the Software without restriction, including without limitation the rights
6-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7-
copies of the Software, and to permit persons to whom the Software is
8-
furnished to do so, subject to the following conditions:
9-
10-
The above copyright notice and this permission notice shall be included in
11-
all copies or substantial portions of the Software.
12-
13-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1+
Copyright (c) 2010 Jason Greer
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
THE SOFTWARE.

embeds/tullaRange/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# tullaRange
2+
3+
[![Travis (.org)](https://img.shields.io/travis/tullamods/tullarange?style=flat-square)](https://travis-ci.com/tullamods/tullaRange)
4+
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/tullamods/tullaRange?sort=semver&style=flat-square)](https://github.com/tullamods/tullaRange/releases/latest)
5+
6+
An addon for World of Warcraft that makes buttons appear red when out of range

embeds/tullaRange/changelog.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# tullaRange release notes
2+
3+
## 9.0.0
4+
5+
* Updated for World of Warcraft 9.0.1 - Shadowlands
6+
7+
## 8.3.2
8+
9+
* Added support for pet action buttons. You can disable this via `/run tullaRange:SetEnablePetActions(false)`
10+
* Replaced the attack flash animation with a smoother one. You can disable this via `/run tullaRange:SetEnableFlashAnimations(false)`
11+
12+
## 8.3.1
13+
14+
* Increase performance a bit by only updating attack actions and actions with a range
15+
16+
## 8.3.0
17+
18+
* Update for WoW 8.3.0
19+
20+
## 8.2.7
21+
22+
* Use a C_Timer.After handler for updates
23+
24+
## 8.2.6
25+
26+
* Update classic TOC for 1.13.2
27+
* Update packager to use github actions
28+
29+
## 8.2.5
30+
31+
* Updated TOC for 8.2.5
32+
33+
## 8.2.2
34+
35+
* Added classic build
36+
37+
## 8.2.1
38+
39+
* Automated releases
40+
41+
## 8.2.0
42+
43+
* Updated TOC for 8.2.0
44+
* Verified the addon works with classic
45+
* Cleaned up code a tiny bit

0 commit comments

Comments
 (0)