Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1.  
  2.  
  3. //npc "itemmall" "Trainer" 4_M_03 27 78 0 0 0
  4. npc "prontera" "Trainer" 4_M_03 150 150 0 0 0
  5. OnClick:
  6. dialog "[Trainer]"
  7. dialog "Hello, do you want to take some training lessons?"
  8. wait
  9. choose menu "Sure" "No time, sorry"
  10. case 1
  11. if v[Max_Weight_Up_Scroll] > 0
  12. dialog "[Trainer]"
  13. var chk_inccarry = ChkSkill ALL_INCCARRY
  14. if chk_inccarry > 9
  15. dialog "[Trainer]"
  16. dialog "Sorry, your strength is maxed already..."
  17. close
  18. return
  19. endif
  20. chk_inccarry = chk_inccarry + 1
  21. EventDelSkill ALL_INCCARRY
  22. EventAddSkill ALL_INCCARRY chk_inccarry
  23. dropitem Max_Weight_Up_Scroll 1
  24. dialog "[Trainer]"
  25. dialog "Done..."
  26. close
  27. return
  28. else
  29. dialog "[Trainer]"
  30. dialog "Sorry, you don't have a Membership Card."
  31. close
  32. return
  33. endif
  34. break
  35. case 2
  36. dialog "[Trainer]"
  37. dialog "Ok, see you later!"
  38. close
  39. return
  40. break
  41. endchoose
  42. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement