Skip to content

Commit

Permalink
Update to 9.0 PTR
Browse files Browse the repository at this point in the history
  • Loading branch information
joker-119 committed Aug 13, 2020
1 parent 7474369 commit c406b00
Show file tree
Hide file tree
Showing 33 changed files with 1,133 additions and 303 deletions.
2 changes: 1 addition & 1 deletion Roth_UI.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 810000
## Interface: 80205
## Author: Galaxy
## Title: Roth UI
## Notes: Galaxy's oUF layout with Diablo flavor!
Expand Down
25 changes: 16 additions & 9 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

-- A Diablo themed unitframe layout for oUF 1.6.x
-- Galaxy119/Joker119 - 2016-2018
-- Version 2.7.1
-- Version 2.8.0
---------------------------------------------

--get the addon namespace
Expand Down Expand Up @@ -629,29 +629,35 @@
texture = (mediapath.."statusbar3"),
},
aurawatch = {
show = true,
show = false,
},
auras = {
--put every single spellid here that you want to be tracked, be it buff or debuff doesn't matter
--maximum number of icons displayed at a time = 1
--this is for important boss mechanics only, this is not for tracking healing HOTs etc
whitelist = {

223306, -- Bestow Faith
53563, -- Beacon of Light
6940, -- Blessing of Sacrifice
287280, -- Glimmer of Light
156910, -- Beacon of Faith
200025, -- Beacon of Virtue
313255, -- Slow
},
blacklist = {
--these are abilities that should definetly now be shown
--these are abilities that should definetly not be shown
164545,
164547,
54149,
},
show = true,
disableCooldown = false,
showBuffType = true,
showDebuffType = true,
doNotUseCustomFilter = true,
doNotUseCustomFilter = false,
size = 13,
num = 5,
spacing = 3,
pos = { a1 = "CENTER", x = 0, y = -23},
debuffPos = { a1 = "CENTER", x = 0, y = -23},
buffPos = {a1 = "CENTER", x = 33, y = 0},
},
attributes = {
visibility = "custom [nogroup:party,nogroup:raid] show; [group:party,nogroup:raid] show; [group:raid] show; hide",
Expand Down Expand Up @@ -830,7 +836,7 @@
mouseover = {
enable = true,
fadeIn = {time = 0.4, alpha = 1},
fadeOut = {time = 0.3, alpha = 0.2},
fadeOut = {time = 0.3, alpha = 1},
},
},
bar6 = {
Expand Down Expand Up @@ -1021,6 +1027,7 @@ cfg.tracker = {
--rMinimap
cfg.minimap = {
scale = 1,
alpha = 0.5,
point = {"TOPRIGHT", 0, -18},
}

Expand Down
2 changes: 1 addition & 1 deletion core/mainmenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ cfg.backdrop = { bgFile = mediapath.."Tooltip_Background", edgeFile = mediapath.

local MenuSetup = function() end
--Skin the Game Menu
GameMenuFrame:SetBackdrop(cfg.backdrop)
-- GameMenuFrame:SetBackdrop(cfg.backdrop)

--Skin the Character Frame
4 changes: 2 additions & 2 deletions core/panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@

--basic color picker func
local createBasicColorPicker = function(parent, name, title, width, height)
local picker = CF("Button", name, parent)
local picker = CF("Button", name, parent, BackdropTemplateMixin and "BackdropTemplate")
picker:SetSize(width, height)
picker:SetBackdrop(backdrop)
picker:SetBackdrop({backdrop})
picker:SetBackdropBorderColor(0.5,0.5,0.5)
--texture
local color = picker:CreateTexture(nil,"BACKGROUND",nil,-7)
Expand Down
4 changes: 2 additions & 2 deletions core/tags.lua
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ end
local val = oUF.Tags.Methods["perhp"](unit)
return val or ""
end
oUF.Tags.Events["diablo:bosshp"] = "UNIT_HEALTH_FREQUENT UNIT_MAXHEALTH UNIT_TARGETABLE_CHANGED"
oUF.Tags.Events["diablo:bosshp"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_TARGETABLE_CHANGED"

--boss power value
oUF.Tags.Methods["diablo:bosspp"] = function(unit)
Expand Down Expand Up @@ -435,4 +435,4 @@ end
end
--oUF.Tags.Events["diablo:PowerOrbBottom"] = "UNIT_DISPLAYPOWER UNIT_POWER_UPDATE UNIT_MAXPOWER UNIT_CONNECTION"

---------------------------------------------
---------------------------------------------
17 changes: 6 additions & 11 deletions embeds/Roth_ShinyBuffs/Roth_ShinyBuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ local function SkinningMachine(svtable, btn, dur, c, icon, bor, firstTime)
bor:SetDrawLayer("OVERLAY", 1)
end
--
btn.bar = CreateFrame("StatusBar", nil, btn.bg)
btn.bar = CreateFrame("StatusBar", nil, btn.bg, BackdropTemplateMixin and "BackdropTemplate")
btn.bar:SetPoint("TOPLEFT", icon, "BOTTOMLEFT", 0, -1.5)
btn.bar:SetPoint("TOPRIGHT", icon, "BOTTOMRIGHT", 0, -1.5)
btn.bar:SetPoint("BOTTOM", btn.bg, "BOTTOM", 0, 5.5)
Expand Down Expand Up @@ -99,21 +99,16 @@ local function SkinningMachine(svtable, btn, dur, c, icon, bor, firstTime)
dur:SetFont(LSM:Fetch("font", db.font), db[svtable].dfsize, db.fstyle)
c:SetFont(LSM:Fetch("font", db.font), db[svtable].cfsize, db.fstyle)
btn.bg:SetPoint("BOTTOMRIGHT", btn, "BOTTOMRIGHT", 2, -max(db[svtable].size*.2, 5))
btn.bg:SetBackdrop({ bgFile = LSM:Fetch("background", db.bg),
edgeFile = LSM:Fetch("border", db.border),
edgeSize = db.borderWidth,
insets = {left=3,right=3,top=3,bottom=3}
})
btn.bar:SetStatusBarTexture(LSM:Fetch("statusbar", db.sbar))
if db.classbg then
btn.bg:SetBackdropColor(classColor.r, classColor.g, classColor.b)
--btn.bg:SetBackdropColor(classColor.r, classColor.g, classColor.b)
else
btn.bg:SetBackdropColor(db.bgColor.r, db.bgColor.g, db.bgColor.b)
--btn.bg:SetBackdropColor(db.bgColor.r, db.bgColor.g, db.bgColor.b)
end
if db.classbor then
btn.bg:SetBackdropBorderColor(classColor.r, classColor.g, classColor.b)
--btn.bg:SetBackdropBorderColor(classColor.r, classColor.g, classColor.b)
else
btn.bg:SetBackdropBorderColor(db.borColor.r, db.borColor.g, db.borColor.b)
--btn.bg:SetBackdropBorderColor(db.borColor.r, db.borColor.g, db.borColor.b)
end
if db.classbar then
btn.bar:SetStatusBarColor(classColor.r, classColor.g, classColor.b)
Expand Down Expand Up @@ -923,4 +918,4 @@ LSM:Register("background", "Solid", "Interface\\AddOns\\Roth_UI\\media\\Solid.tg

SB:SetScript("OnEvent", PEW)

SB:RegisterEvent("PLAYER_ENTERING_WORLD")
SB:RegisterEvent("PLAYER_ENTERING_WORLD")
4 changes: 2 additions & 2 deletions embeds/oUF/elements/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ local Enable = function(self, unit)
health.ForceUpdate = ForceUpdate

if(health.frequentUpdates) then
self:RegisterEvent('UNIT_HEALTH_FREQUENT', Path)
self:RegisterEvent('UNIT_HEALTH', Path)
else
self:RegisterEvent('UNIT_HEALTH', Path)
end
Expand All @@ -190,7 +190,7 @@ local Disable = function(self)
local health = self.Health
if(health) then
health:Hide()
self:UnregisterEvent('UNIT_HEALTH_FREQUENT', Path)
self:UnregisterEvent('UNIT_HEALTH', Path)
self:UnregisterEvent('UNIT_HEALTH', Path)
self:UnregisterEvent('UNIT_MAXHEALTH', Path)
self:UnregisterEvent('UNIT_CONNECTION', Path)
Expand Down
3 changes: 2 additions & 1 deletion embeds/rActionBarStyler/core/bar1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ if not gcfg.embeds.rActionBarStyler then return end

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

--move the buttons into position and reparent them
MainMenuBarArtFrame:ClearAllPoints()
MainMenuBarArtFrame:SetParent(frame)
MainMenuBarArtFrame:EnableMouse(false)
MainMenuBar:EnableMouse(false)
MainMenuBar:ClearAllPoints()
MainMenuBar:Hide()

for i=1, num do
Expand Down
6 changes: 3 additions & 3 deletions embeds/rButtonTemplate/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ end

local function SetupBackdrop(button,backdrop)
if not backdrop then return end
local bg = CreateFrame("Frame", nil, button)
local bg = CreateFrame("Frame", nil, button, BackdropTemplateMixin and "BackdropTemplate")
ApplyPoints(bg, backdrop.points)
bg:SetFrameLevel(button:GetFrameLevel()-1)
bg:SetBackdrop(backdrop)
bg:SetBackdrop({backdrop})
if backdrop.backgroundColor then
bg:SetBackdropColor(unpack(backdrop.backgroundColor))
end
Expand Down Expand Up @@ -359,4 +359,4 @@ function rButtonTemplate:StyleAllAuraButtons(cfg)
rButtonTemplate:StyleBuffButtons(cfg)
rButtonTemplate:StyleDebuffButtons(cfg)
rButtonTemplate:StyleTempEnchants(cfg)
end
end
1 change: 1 addition & 0 deletions embeds/rInfostrings/core/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ if not cfg.embeds.rInfoStrings then return end
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"
else
local _, _, minimum, maximum, value = GetWatchedFactionInfo()

if ((value-minimum)==999) and ((maximum-minimum)==1000) then
xp = "|c0000FF00MAXED OUT|r"
else
Expand Down
9 changes: 7 additions & 2 deletions embeds/rMinimap/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ Minimap:SetMaskTexture(mediapath.."mask2")
Minimap:ClearAllPoints()
Minimap:SetPoint("CENTER")
Minimap:SetSize(190,190) --correct the cluster offset
local function SetAlpha()
Minimap:SetAlpha(cfg.minimap.alpha)
end
C_Timer.After(5, SetAlpha)



--hide regions
MinimapBackdrop:Hide()
Expand Down Expand Up @@ -156,9 +162,8 @@ Minimap:SetScript("OnLeave", SetTimer)
rLib:RegisterCallback("PLAYER_ENTERING_WORLD", Hide)
Hide(Minimap)


--drag frame
rLib:CreateDragFrame(MinimapCluster, L.dragFrames, -2, true)

--create slash commands
rLib:CreateSlashCmd(L.addonName, L.addonShortcut, L.dragFrames, L.addonColor)
rLib:CreateSlashCmd(L.addonName, L.addonShortcut, L.dragFrames, L.addonColor)
5 changes: 2 additions & 3 deletions embeds/rNamePlates/rNamePlates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -180,16 +180,15 @@ hooksecurefunc("CompactUnitFrame_UpdateName", function (frame)
frame.name:SetFont(cfg.font, 12)

--explosiove orbs
if (name == "Explosives") then
if (string.match( name, "Explosives" )) then
frame.healthBar:SetSize(384,48)
frame.healthBar:SetScale(0.35)
frame.healthBar:SetFrameStrata("TOOLTIP")
frame.healthBar:SetFrameLevel(20)
frame.healthBar.re:SetSize(128,128)
frame.healthBar.le:SetSize(128,128)
else
frame.healthBar.re:SetSize(64,64)
frame.healthBar.le:SetSize(64,64)
frame.healthBar:SetSize(64,64)
end
end)

Expand Down
4 changes: 2 additions & 2 deletions embeds/rRaidManager/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@
---------------------------

--create manager frame
local manager = CF("Frame", addon, UIP, "SecureHandlerStateTemplate")
local manager = CF("Frame", addon, UIP, "SecureHandlerStateTemplate" and "BackdropTemplate")
manager:SetFrameStrata("DIALOG")
manager:SetSize(200,390)
manager:SetPoint("LEFT", -190, 0)
manager:SetAlpha(0.4)
manager:SetBackdrop(backdrop)
manager:SetBackdrop({backdrop})
manager:SetBackdropColor(0.1,0.1,0.1,0.9)
manager:SetBackdropBorderColor(0.7,0.7,0.7)
manager:RegisterEvent("PLAYER_LOGIN")
Expand Down
36 changes: 18 additions & 18 deletions embeds/tullaRange/LICENSE
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Copyright (c) 2010 Jason Greer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
Copyright (c) 2010 Jason Greer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
6 changes: 6 additions & 0 deletions embeds/tullaRange/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# tullaRange

[![Travis (.org)](https://img.shields.io/travis/tullamods/tullarange?style=flat-square)](https://travis-ci.com/tullamods/tullaRange)
[![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)

An addon for World of Warcraft that makes buttons appear red when out of range
45 changes: 45 additions & 0 deletions embeds/tullaRange/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# tullaRange release notes

## 9.0.0

* Updated for World of Warcraft 9.0.1 - Shadowlands

## 8.3.2

* Added support for pet action buttons. You can disable this via `/run tullaRange:SetEnablePetActions(false)`
* Replaced the attack flash animation with a smoother one. You can disable this via `/run tullaRange:SetEnableFlashAnimations(false)`

## 8.3.1

* Increase performance a bit by only updating attack actions and actions with a range

## 8.3.0

* Update for WoW 8.3.0

## 8.2.7

* Use a C_Timer.After handler for updates

## 8.2.6

* Update classic TOC for 1.13.2
* Update packager to use github actions

## 8.2.5

* Updated TOC for 8.2.5

## 8.2.2

* Added classic build

## 8.2.1

* Automated releases

## 8.2.0

* Updated TOC for 8.2.0
* Verified the addon works with classic
* Cleaned up code a tiny bit
Loading

0 comments on commit c406b00

Please sign in to comment.