whats wrong with this lua code?

Post new topic   Reply to topic

View previous topic View next topic Go down

whats wrong with this lua code?

Post  Admin on Sun Dec 11, 2011 2:40 am

For the life of me i can't find out why this code causes the ability under it to throw a syntax error and causes the rotation to fail when it normally works without it.

local debuff = { 105925. 109075, 110070, 110080 }


Code:
for i,v in ipairs(debuff) do
   local FLDebuff, _, _, _, _, _, FLExpireTime = UnitDebuffID("player",v)
   if FLDebuff then
      otherExpireTime = FLExpireTime - GetTime()
      if otherExpireTime < 5 then
         return true
      end
   end
end

Admin
Admin

Posts: 11
Join date: 2011-12-02

View user profile http://pqrotation.forumotion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Post new topic   Reply to topic
Permissions in this forum:
You can reply to topics in this forum