From bd2730e72baaa60a9d45f14db0b51525c45e2975 Mon Sep 17 00:00:00 2001 From: Matthew Rodrigues <38044816+mattcapazz@users.noreply.github.com> Date: Wed, 28 Jun 2023 13:52:07 -0700 Subject: [PATCH] when rogue go stealth, change bar (#40) * when rogues go stealth, change bar * nuoh --- ElvUI/Core/Core.lua | 4 ++-- ElvUI/Settings/Profile.lua | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ElvUI/Core/Core.lua b/ElvUI/Core/Core.lua index bc6a2d9..8e17924 100644 --- a/ElvUI/Core/Core.lua +++ b/ElvUI/Core/Core.lua @@ -54,7 +54,7 @@ E.noop = function() end E.title = format("|cff1784d1E|r|cffe5e3e3lvUI|r") E.myfaction, E.myLocalizedFaction = UnitFactionGroup("player") E.mylevel = UnitLevel("player") -E.myLocalizedClass, E.myclass = UnitClass("player") -- On Ascension, this is always (Hero, HERO) +E.myLocalizedClass, E.myclass = UnitClass("player") E.myLocalizedRace, E.myrace = UnitRace("player") E.myname = UnitName("player") E.myrealm = GetRealmName() @@ -1243,4 +1243,4 @@ function E:Initialize() if GetCVar("scriptProfile") ~= "1" then collectgarbage("collect") end -end \ No newline at end of file +end diff --git a/ElvUI/Settings/Profile.lua b/ElvUI/Settings/Profile.lua index db1780b..8b1986a 100644 --- a/ElvUI/Settings/Profile.lua +++ b/ElvUI/Settings/Profile.lua @@ -4018,10 +4018,11 @@ P.actionbar = { showGrid = true, paging = { HERO = "[bonusbar:1,nostealth] 7; [bonusbar:1,stealth] 8; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10;", + PROPHET = "[stealth] 7; [nostealth] 1;", RANGER = "[stealth] 7; [nostealth] 1;", REAPER = "[stealth] 7; [nostealth] 1;", + ROGUE = "[stealth] 7; [nostealth] 1;", SPIRITMAGE = "[stealth] 7; [nostealth] 1;", - PROPHET = "[stealth] 7; [nostealth] 1;", }, visibility = "" }, @@ -4200,4 +4201,4 @@ do -- cooldown stuff -- we gonna need this on by default :3 P.cooldown.enable = true -end \ No newline at end of file +end