Alscara

Untitled

Nov 6th, 2015
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. function onThink(creature, interval)
  2. local player = Player(creature)
  3. if not player then
  4. return false
  5. end
  6. if os.time() < player:getStorageValue(9) then
  7. return false
  8. end
  9. return player:getPosition():sendMagicEffect(CONST_ME_FIREATTACK), player:setStorageValue(9, os.time() + 3)
  10. end
Advertisement
Add Comment
Please, Sign In to add comment