Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 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 "Olá, você quer ter algumas aulas de treinamento?"
  8. wait
  9. choose menu "Sim, obrigado." "Não tenho tempo, perdão."
  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 "Desculpe-me, mas sua força já está no nível máximo."
  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 "Terminado..."
  26. close
  27. return
  28. else
  29. dialog "[Trainer]"
  30. dialog "Me desculpe, mas você não tem um cartão filiado."
  31. close
  32. return
  33. endif
  34. break
  35. case 2
  36. dialog "[Trainer]"
  37. dialog "Ok, te vejo mais tarde!"
  38. close
  39. return
  40. break
  41. endchoose
  42. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement