Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1.  
  2. //npc "itemmall" "Trainer" 4_M_03 27 78 0 0 0
  3. npc "prontera" "Trainer" 4_M_03 150 150 0 0 0
  4. OnClick:
  5. dialog "[Trainer]"
  6. dialog "Olá, você quer ter algumas aulas de treinamento?"
  7. wait
  8. choose menu "Sim, obrigado." "Não tenho tempo, perdão."
  9. case 1
  10. if v[Max_Weight_Up_Scroll] > 0
  11. dialog "[Trainer]"
  12. var chk_inccarry = ChkSkill ALL_INCCARRY
  13. if chk_inccarry > 9
  14. dialog "[Trainer]"
  15. dialog "Desculpe-me, mas sua força já está no nível máximo."
  16. close
  17. return
  18. endif
  19. chk_inccarry = chk_inccarry + 1
  20. EventDelSkill ALL_INCCARRY
  21. EventAddSkill ALL_INCCARRY chk_inccarry
  22. dropitem Max_Weight_Up_Scroll 1
  23. dialog "[Trainer]"
  24. dialog "Done..."
  25. close
  26. return
  27. else
  28. dialog "[Trainer]"
  29. dialog "Me desculpe, mas você não tem um cartão filiado."
  30. close
  31. return
  32. endif
  33. break
  34. case 2
  35. dialog "[Trainer]"
  36. dialog "Ok, te vejo mais tarde!"
  37. close
  38. return
  39. break
  40. endchoose
  41. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement