mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-26 17:36:04 +00:00
fixed shaman range check.
fixed shaman range check.
This commit is contained in:
+2
-1
@@ -51,6 +51,8 @@ if GetNampowerVersion then
|
||||
-- abort on non healing classes
|
||||
if not spells[class] then return end
|
||||
|
||||
nampower_spell = nil
|
||||
|
||||
for i = 1, GetNumSpellTabs() do
|
||||
local _, _, offset, num = GetSpellTabInfo(i)
|
||||
for id = offset + 1, offset + num do
|
||||
@@ -61,7 +63,6 @@ if GetNampowerVersion then
|
||||
for _, tex in pairs(spells[class]) do
|
||||
if tex == texture then
|
||||
nampower_spell = name
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user