mundo_gameplay

Untitled

Apr 12th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  1. options:
  2. mensagemaoupar: &2[Transmissao] &6%player% upou para o nivel &2%{_nivel}% &6de &2%event-skilltype%
  3.  
  4.  
  5.  
  6. On mcmmo skill levelup:
  7. set {_skillnome} to "%event-skilltype%"
  8. set {_skillexcavation} to "%excavation level of player%"
  9. set {_skillmining} to "%mining level of player%"
  10. set {_skillfishing} to "%fishing level of player%"
  11. set {_skillwoodcutting} to "%woodcutting level of player%"
  12. set {_skillherbalism} to "%herbalism level of player%"
  13. set {_skillarchery} to "%archery level of player%"
  14. set {_skillswords} to "%swords level of player%"
  15. set {_skillaxes} to "%axes level of player%"
  16. set {_skillunarmed} to "%unarmed level of player%"
  17. set {_skilltaming} to "%taming level of player%"
  18. set {_skillacrobatics} to "%acrobatics level of player%"
  19. set {_skillalchemy} to "%alchemy level of player%"
  20. set {_skillrepair} to "%repair xp of player%"
  21. set {_skillsmelting} to "%smelting level of player%"
  22. set {_skillsalvage} to "%salvage level of player%"
  23. if {_skillnome} contains "excavation":
  24. if {_skillexcavation} contains "00":
  25. set {_nivel} to "%{_skillexcavation}%"
  26. Broadcast "{@mensagemaoupar}"
  27. else:
  28. if {_skillnome} contains "mining":
  29. if {_skillmining} contains "00":
  30. set {_nivel} to "%{_skillmining}%"
  31. Broadcast "{@mensagemaoupar}"
  32. else:
  33. if {_skillnome} contains "fishing":
  34. if {_skillfishing} contains "00":
  35. set {_nivel} to "%{_skillfishing}%"
  36. Broadcast "{@mensagemaoupar}"
  37. else:
  38. if {_skillnome} contains "woodcutting":
  39. if {_skillwoodcutting} contains "00":
  40. set {_nivel} to "%{_skillwoodcutting}%"
  41. Broadcast "{@mensagemaoupar}"
  42. else:
  43. if {_skillnome} contains "herbalism":
  44. if {_skillherbalism} contains "00":
  45. set {_nivel} to "%{_skillherbalism}%"
  46. Broadcast "{@mensagemaoupar}"
  47. else:
  48. if {_skillnome} contains "archery":
  49. if {_skillarchery} contains "00":
  50. set {_nivel} to "%{_skillarchery}%"
  51. Broadcast "{@mensagemaoupar}"
  52. else:
  53. if {_skillnome} contains "swords":
  54. if {_skillswords} contains "00":
  55. set {_nivel} to "%{_skillswords}%"
  56. Broadcast "{@mensagemaoupar}"
  57. else:
  58. if {_skillnome} contains "axes":
  59. if {_skillaxes} contains "00":
  60. set {_nivel} to "%{_skillaxes}%"
  61. Broadcast "{@mensagemaoupar}"
  62. else:
  63. if {_skillnome} contains "unarmed":
  64. if {_skillunarmed} contains "00":
  65. set {_nivel} to "%{_skillunarmed}%"
  66. Broadcast "{@mensagemaoupar}"
  67. else:
  68. if {_skillnome} contains "taming":
  69. if {_skilltaming} contains "00":
  70. set {_nivel} to "%{_skilltaming}%"
  71. Broadcast "{@mensagemaoupar}"
  72. else:
  73. if {_skillnome} contains "acrobatics":
  74. if {_skillacrobatics} contains "00":
  75. set {_nivel} to "%{_skillacrobatics}%"
  76. Broadcast "{@mensagemaoupar}"
  77. else:
  78. if {_skillnome} contains "alchemy":
  79. if {_skillalchemy} contains "00":
  80. set {_nivel} to "%{_skillalchemy}%"
  81. Broadcast "{@mensagemaoupar}"
  82. else:
  83. if {_skillnome} contains "repair":
  84. if {_skillrepair} contains "00":
  85. set {_nivel} to "%{_skillrepair}%"
  86. Broadcast "{@mensagemaoupar}"
  87. else:
  88. if {_skillnome} contains "smelting":
  89. if {_skillsmelting} contains "00":
  90. set {_nivel} to "%{_skillsmelting}%"
  91. Broadcast "{@mensagemaoupar}"
  92. else:
  93. if {_skillnome} contains "salvage":
  94. if {_skillsalvage} contains "00":
  95. set {_nivel} to "%{_skillsalvage}%"
  96. Broadcast "{@mensagemaoupar}"
  97. else:
  98. stop
  99. delete {_skillexcavation}
  100. delete {_skillmining}
  101. delete {_skillfishing}
  102. delete {_skillwoodcutting}
  103. delete {_skillherbalism}
  104. delete {_skillarchery}
  105. delete {_skillswords}
  106. delete {_skillaxes}
  107. delete {_skillunarmed}
  108. delete {_skilltaming}
  109. delete {_skillacrobatics}
  110. delete {_skillalchemy}
  111. delete {_skillrepair}
  112. delete {_skillsmelting}
  113. delete {_skillsalvage}
  114. delete {_nivel}
Advertisement
Add Comment
Please, Sign In to add comment