Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 613799f

Browse files
committed
fix shapeshift stance not showing for Shamans
1 parent 2a99859 commit 613799f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Neuron-GUI.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ function NeuronGUI:UpdateBarGUI(newBar)
752752

753753
--Sets bar primaary options
754754
for i,f in ipairs(barOpt.pri) do
755-
if (f.option == "stance" and (GetNumShapeshiftForms() < 1 or Neuron.class == "DEATHKNIGHT" or Neuron.class == "PALADIN" or Neuron.class == "HUNTER")) then
755+
if (f.option == "stance" and ((GetNumShapeshiftForms() < 1 or Neuron.class == "DEATHKNIGHT" or Neuron.class == "PALADIN" or Neuron.class == "HUNTER"))) and not Neuron.class=="SHAMAN" then
756756
f:SetChecked(nil)
757757
f:Disable()
758758
f.text:SetTextColor(0.5,0.5,0.5)
@@ -1822,7 +1822,7 @@ function NeuronGUI:ActionEditor_OnLoad(frame)
18221822
--Renames Stance for rogues to Stealth as that is what should really be used
18231823
if state == "stance" and (class == "ROGUE") then
18241824
f.text:SetText(L["Stealth"])--:upper())
1825-
elseif state == "stance" and (class == "DRUID") then
1825+
elseif state == "stance" and (class == "DRUID" or class=="SHAMAN") then
18261826
f.text:SetText(L["Shapeshift"])--:upper())
18271827
else
18281828
f.text:SetText(MAS[state].localizedName)--:upper())

0 commit comments

Comments
 (0)