mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 10:40:48 +00:00
librange: skip on macro action slots
This commit is contained in:
+4
-2
@@ -192,9 +192,11 @@ function librange:GetRealUnit(unit)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function librange:GetRangeSlot()
|
function librange:GetRangeSlot()
|
||||||
|
local texture
|
||||||
|
|
||||||
for i=1,120 do
|
for i=1,120 do
|
||||||
local texture = GetActionTexture(i)
|
texture = GetActionTexture(i)
|
||||||
if texture and not GetMacroInfo(i) then
|
if texture and not GetActionText(i) then
|
||||||
for _, check in pairs(spells[class]) do
|
for _, check in pairs(spells[class]) do
|
||||||
if check == texture then
|
if check == texture then
|
||||||
return i
|
return i
|
||||||
|
|||||||
Reference in New Issue
Block a user