mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 05:20:49 +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
|
-- abort on non healing classes
|
||||||
if not spells[class] then return end
|
if not spells[class] then return end
|
||||||
|
|
||||||
|
nampower_spell = nil
|
||||||
|
|
||||||
for i = 1, GetNumSpellTabs() do
|
for i = 1, GetNumSpellTabs() do
|
||||||
local _, _, offset, num = GetSpellTabInfo(i)
|
local _, _, offset, num = GetSpellTabInfo(i)
|
||||||
for id = offset + 1, offset + num do
|
for id = offset + 1, offset + num do
|
||||||
@@ -61,7 +63,6 @@ if GetNampowerVersion then
|
|||||||
for _, tex in pairs(spells[class]) do
|
for _, tex in pairs(spells[class]) do
|
||||||
if tex == texture then
|
if tex == texture then
|
||||||
nampower_spell = name
|
nampower_spell = name
|
||||||
return
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user