Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. quest exp_boost begin
  2. state start begin
  3. when 72002.use begin
  4. local exp = {25,30,35,40,45}
  5. local exp_aleatorio = math.random(1,5)
  6. affect.add_collect(apply.EXP_DOUBLE_BONUS, exp[exp_aleatorio], 60*60*30)
  7. pc.remove_item(72002,1)
  8. notice("Has recibido un bonus "..exp[exp_aleatorio].."% mas de  probabilidad de ganar experiencia")
  9. notice("durante 30 minutos.")
  10. end
  11. end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement