Advertisement
Guest User

Creaturescripts/Scripts

a guest
May 29th, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. local exp = 1.2
  2. local expfinal = 1 --Não mude, isso é para a experiencia voltar ao normal.
  3. local tempo = 24*60*60 -- 1000 = 1s
  4. local time = os.time() + tempo
  5.  
  6. function onKill(cid, target, lastHit)
  7.  
  8. if getPlayerStorageValue(cid, 82039) - os.time() > 0 then
  9. doPlayerSetExperienceRate(cid,exp)
  10. else
  11. doPlayerSetExperienceRate(cid,expfinal)
  12. end
  13. return true
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement