when rogue go stealth, change bar (#40)

* when rogues go stealth, change bar

* nuoh
This commit is contained in:
Matthew Rodrigues
2023-06-28 13:52:07 -07:00
committed by GitHub
parent ba471c6a6c
commit bd2730e72b
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ E.noop = function() end
E.title = format("|cff1784d1E|r|cffe5e3e3lvUI|r") E.title = format("|cff1784d1E|r|cffe5e3e3lvUI|r")
E.myfaction, E.myLocalizedFaction = UnitFactionGroup("player") E.myfaction, E.myLocalizedFaction = UnitFactionGroup("player")
E.mylevel = UnitLevel("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.myLocalizedRace, E.myrace = UnitRace("player")
E.myname = UnitName("player") E.myname = UnitName("player")
E.myrealm = GetRealmName() E.myrealm = GetRealmName()
@@ -1243,4 +1243,4 @@ function E:Initialize()
if GetCVar("scriptProfile") ~= "1" then if GetCVar("scriptProfile") ~= "1" then
collectgarbage("collect") collectgarbage("collect")
end end
end end
+3 -2
View File
@@ -4018,10 +4018,11 @@ P.actionbar = {
showGrid = true, showGrid = true,
paging = { paging = {
HERO = "[bonusbar:1,nostealth] 7; [bonusbar:1,stealth] 8; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10;", 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;", RANGER = "[stealth] 7; [nostealth] 1;",
REAPER = "[stealth] 7; [nostealth] 1;", REAPER = "[stealth] 7; [nostealth] 1;",
ROGUE = "[stealth] 7; [nostealth] 1;",
SPIRITMAGE = "[stealth] 7; [nostealth] 1;", SPIRITMAGE = "[stealth] 7; [nostealth] 1;",
PROPHET = "[stealth] 7; [nostealth] 1;",
}, },
visibility = "" visibility = ""
}, },
@@ -4200,4 +4201,4 @@ do -- cooldown stuff
-- we gonna need this on by default :3 -- we gonna need this on by default :3
P.cooldown.enable = true P.cooldown.enable = true
end end