PQRotation
Would you like to react to this message? Create an account in a few clicks or log in to continue.

whats wrong with this lua code?

Go down

whats wrong with this lua code?  Empty whats wrong with this lua code?

Post  Admin Sun Dec 11, 2011 4: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

https://pqrotation.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum