Saturday, April 14, 2012

help with a lua file

[:1]I have a problem with grid hot status, and other druid's hots showing up on grid. I'm followed instructions provided here: http://treebarkjacket.blogspot.com/2...shots-fix.html

But it has not fixed the issue. Would someone mind looking over my lua file to see if I'm doing it right? Thanks!


Code:
local now = GetTime()
-- Find number of hots per unit
for i=1,999 do
local bname,brank,btexture,bcount,btype,bdur,bexptime,bismine = UnitBuff(unitid, i)
if bismine == "player" then
bismine = true
else
bismine = false
end




if not bname then break end

local btime = bexptime - now

No comments:

Post a Comment