Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. quest reset_scroll begin
  2. state start begin
  3. when 71002.use begin
  4. --- l
  5. say("Doresti sa resetezi punctele competentelor")
  6. say("tale actuale ?")
  7. say("")
  8.  
  9. local s = select("Da", "Nu")
  10. if 2 == s then
  11. return
  12. end
  13.  
  14. char_log(0, "RESET_ALL", "USE_ITEM(71002)")
  15. pc.remove_item(71002)
  16.  
  17. char_log(0, "RESET_ALL", "RESET_SKILL_POINTS")
  18. pc.clear_skill()
  19.  
  20. pc.set_skill_group(0)
  21. char_log(0, "RESET_ALL", "RESET_END")
  22. end
  23. --------------------------------------------------------
  24. when 71003.use begin
  25.  
  26. say("Doresti sa resetezi punctele statusului")
  27. say("tau actual ?")
  28. say("")
  29.  
  30. local s = select("Da", "Nu")
  31. if 2 == s then
  32. return
  33. end
  34.  
  35. char_log(0, "RESET_ALL", "USE_ITEM(71003)")
  36. pc.remove_item(71002)
  37.  
  38. char_log(0, "RESET_ALL", "RESET_STAT_POINTS")
  39. pc.clear_skill()
  40.  
  41. pc.set_skill_group(0)
  42. char_log(0, "RESET_ALL", "RESET_END")
  43. end
  44. end
  45. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement