Add support for Shadow Dance switching
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ local abdefaults = {
|
||||
stance = {
|
||||
DRUID = { bear = 9, cat = 7, prowl = 8 },
|
||||
WARRIOR = { battle = 7, def = 8, berserker = 9 },
|
||||
ROGUE = { stealth = 7 }
|
||||
ROGUE = { stealth = 7, shadowdance = 7 }
|
||||
},
|
||||
},
|
||||
visibility = {
|
||||
|
||||
@@ -172,6 +172,10 @@ local function getStanceTable()
|
||||
if class == "WARLOCK" and tbl[1] == GetSpellInfo(59672) then
|
||||
tbl[2], tbl[1] = tbl[1], nil
|
||||
end
|
||||
|
||||
if class == "ROGUE" and tbl[1] == GetSpellInfo(51713) then -- shadow dance hack
|
||||
tbl[3], tbl[1] = tbl[1], nil
|
||||
end
|
||||
return tbl
|
||||
end
|
||||
|
||||
|
||||
@@ -72,6 +72,7 @@ local DefaultStanceMap = setmetatable({}, { __index = function(t,k)
|
||||
elseif k == "ROGUE" then
|
||||
newT = {
|
||||
{ id = "stealth", name = GetSpellInfo(1784), index = 1 },
|
||||
{ id = "shadowdance", name = GetSpellInfo(51713), index = 3, type = "form" },
|
||||
}
|
||||
elseif k == "PRIEST" then
|
||||
newT = {
|
||||
|
||||
Reference in New Issue
Block a user