Advertisement
HallowedS

Untitled

Feb 13th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.93 KB | None | 0 0
  1. #=======================================#
  2. # Universidade Oficial Ghol #
  3. # O diretor da faculdade de Tecnologia #
  4. # Script do Brasil, no uso de suas atri-#
  5. # buições e tendo em vista a conclusão #
  6. # em 01/01/1017 de 1017, confere o titu #
  7. # lo de BACHAREL EM SISTEMAS SKRIPTS #
  8. # DAVI MARQUES DOS S. MAGALHÃES #
  9. # TIPO: OURO-V ALUNO: Dav1 #
  10. #=======================================#
  11.  
  12. command /encantar:
  13. permission: enchant.vip
  14. permission message: &cVocê não tem permissão para executar este comando.
  15. trigger:
  16. set {xp.%player%} to xp of player
  17. open virtual chest inventory with size 3 named "Feiticeiro" to player
  18. create a gui slot 10 of player with experience bottle named "&ePoção de Experiência" with lore "&7Custo: &f500 XP||&7XP: &f500" to run player command "exp1" with left click
  19. create a gui slot 11 of player with experience bottle named "&ePoção de Experiência" with lore "&7Custo: &f1000 XP||&7XP: &f1000" to run player command "exp2" with left click
  20. create a gui slot 12 of player with experience bottle named "&ePoção de Experiência" with lore "&7Custo: &f5000 XP||&7XP: &f5000" to run player command "exp3" with left click
  21. create a gui slot 14 of player with book named "&eLivro de encantamentos" with lore "&7Tipo: &fSimples||&7Custo: &f1500 XP|| ||&7Botão esquerdo: &fComprar||&7Botão direito: &FVer encantamentos" to run player command "book1" with left click
  22. create a gui slot 14 of player with book named "&eLivro de encantamentos" with lore "&7Tipo: &fSimples||&7Custo: &f1500 XP|| ||&7Botão esquerdo: &fComprar||&7Botão direito: &FVer encantamentos" to run player command "simples" with right click
  23. create a gui slot 15 of player with book named "&eLivro de encantamentos" with lore "&7Tipo: &fNormal||&7Custo: &f3000 XP|| ||&7Botão esquerdo: &fComprar||&7Botão direito: &FVer encantamentos" to run player command "book2" with left click
  24. create a gui slot 15 of player with book named "&eLivro de encantamentos" with lore "&7Tipo: &fNormal||&7Custo: &f3000 XP|| ||&7Botão esquerdo: &fComprar||&7Botão direito: &FVer encantamentos" to run player command "normal" with right click
  25. create a gui slot 16 of player with book named "&eLivro de encantamentos" with lore "&7Tipo: &fAvançado||&7Custo: &f5500 XP|| ||&7Botão esquerdo: &fComprar||&7Botão direito: &FVer encantamentos" to run player command "book3" with left click
  26. create a gui slot 16 of player with book named "&eLivro de encantamentos" with lore "&7Tipo: &fAvançado||&7Custo: &f5500 XP|| ||&7Botão esquerdo: &fComprar||&7Botão direito: &FVer encantamentos" to run player command "avancado" with right click
  27. create a gui slot 26 of player with experience bottle named "&eSua experiência" with lore "&7XP: &f%{xp.%player%}%" to do nothing
  28. command /simples:
  29. trigger:
  30. open chest with 6 rows named "Encantamentos - Livro Simples" to player
  31. wait 5 tick
  32. format slot 10 of player with enchanted book named "&eLivro Simples" with lore "&7Proteção I" to be unstealable
  33. format slot 11 of player with enchanted book named "&eLivro Simples" with lore "&7Proteção II" to be unstealable
  34. format slot 12 of player with enchanted book named "&eLivro Simples" with lore "&7Proteção Contra Fogo I" to be unstealable
  35. format slot 13 of player with enchanted book named "&eLivro Simples" with lore "&7Proteção Contra Fogo II" to be unstealable
  36. format slot 14 of player with enchanted book named "&eLivro Simples" with lore "&7Respiração I" to be unstealable
  37. format slot 15 of player with enchanted book named "&eLivro Simples" with lore "&7Peso Pena I" to be unstealable
  38. format slot 16 of player with enchanted book named "&eLivro Simples" with lore "&7Peso Pena II" to be unstealable
  39. format slot 19 of player with enchanted book named "&eLivro Simples" with lore "&7Passos Profundos I" to be unstealable
  40. format slot 20 of player with enchanted book named "&eLivro Simples" with lore "&7Afiação I" to be unstealable
  41. format slot 21 of player with enchanted book named "&eLivro Simples" with lore "&7Afiação II" to be unstealable
  42. format slot 22 of player with enchanted book named "&eLivro Simples" with lore "&7Pilhagem I" to be unstealable
  43. format slot 23 of player with enchanted book named "&eLivro Simples" with lore "&7Eficiência I" to be unstealable
  44. format slot 24 of player with enchanted book named "&eLivro Simples" with lore "&7Eficiência II" to be unstealable
  45. format slot 25 of player with enchanted book named "&eLivro Simples" with lore "&7Inquebrável I" to be unstealable
  46. format slot 28 of player with enchanted book named "&eLivro Simples" with lore "&7Inquebrável II" to be unstealable
  47. format slot 29 of player with enchanted book named "&eLivro Simples" with lore "&7Fortuna I" to be unstealable
  48. format slot 30 of player with enchanted book named "&eLivro Simples" with lore "&7Força I" to be unstealable
  49. format slot 31 of player with enchanted book named "&eLivro Simples" with lore "&7Força II" to be unstealable
  50. format slot 49 of player with arrow named "&aVoltar" to run [make player execute command "/encantar"]
  51. command /normal:
  52. trigger:
  53. open chest with 6 rows named "Encantamentos - Livro Normal" to player
  54. wait 5 tick
  55. format slot 10 of player with enchanted book named "&eLivro Normal" with lore "&7Proteção III" to be unstealable
  56. format slot 11 of player with enchanted book named "&eLivro Normal" with lore "&7Proteção IV" to be unstealable
  57. format slot 12 of player with enchanted book named "&eLivro Normal" with lore "&7Proteção Contra Fogo III" to be unstealable
  58. format slot 13 of player with enchanted book named "&eLivro Normal" with lore "&7Respiração II" to be unstealable
  59. format slot 14 of player with enchanted book named "&eLivro Normal" with lore "&7Peso Pena III" to be unstealable
  60. format slot 15 of player with enchanted book named "&eLivro Normal" with lore "&7Passos Profundos II" to be unstealable
  61. format slot 16 of player with enchanted book named "&eLivro Normal" with lore "&7Afiação III" to be unstealable
  62. format slot 19 of player with enchanted book named "&eLivro Normal" with lore "&7Afiação IV" to be unstealable
  63. format slot 20 of player with enchanted book named "&eLivro Normal" with lore "&7Pilhagem II" to be unstealable
  64. format slot 21 of player with enchanted book named "&eLivro Normal" with lore "&7Eficiência III" to be unstealable
  65. format slot 22 of player with enchanted book named "&eLivro Normal" with lore "&7Eficiência IV" to be unstealable
  66. format slot 23 of player with enchanted book named "&eLivro Normal" with lore "&7Inquebrável III" to be unstealable
  67. format slot 24 of player with enchanted book named "&eLivro Normal" with lore "&7Inquebrável IV" to be unstealable
  68. format slot 25 of player with enchanted book named "&eLivro Normal" with lore "&7Fortuna II" to be unstealable
  69. format slot 28 of player with enchanted book named "&eLivro Normal" with lore "&7Força III" to be unstealable
  70. format slot 29 of player with enchanted book named "&eLivro Normal" with lore "&7Força IV" to be unstealable
  71. format slot 30 of player with enchanted book named "&eLivro Normal" with lore "&7Aspecto Flamejante I" to be unstealable
  72. format slot 31 of player with enchanted book named "&eLivro Normal" with lore "&7Impacto I" to be unstealable
  73. format slot 49 of player with arrow named "&aVoltar" to run [make player execute command "/encantar"]
  74. command /avancado:
  75. trigger:
  76. open chest with 6 rows named "Encantamentos - Livro Avançado" to player
  77. wait 5 tick
  78. format slot 10 of player with enchanted book named "&eLivro Avançado" with lore "&7Proteção V" to be unstealable
  79. format slot 11 of player with enchanted book named "&eLivro Avançado" with lore "&7Proteção contra fogo IV" to be unstealable
  80. format slot 12 of player with enchanted book named "&eLivro Avançado" with lore "&7Respiração III" to be unstealable
  81. format slot 13 of player with enchanted book named "&eLivro Avançado" with lore "&7Peso Pena IV" to be unstealable
  82. format slot 14 of player with enchanted book named "&eLivro Avançado" with lore "&7Passos Profundos III" to be unstealable
  83. format slot 15 of player with enchanted book named "&eLivro Avançado" with lore "&7Afiação V" to be unstealable
  84. format slot 16 of player with enchanted book named "&eLivro Avançado" with lore "&7Pilhagem III" to be unstealable
  85. format slot 19 of player with enchanted book named "&eLivro Avançado" with lore "&7Eficiência V" to be unstealable
  86. format slot 20 of player with enchanted book named "&eLivro Avançado" with lore "&7Inquebrável V" to be unstealable
  87. format slot 21 of player with enchanted book named "&eLivro Avançado" with lore "&7Fortuna III" to be unstealable
  88. format slot 22 of player with enchanted book named "&eLivro Avançado" with lore "&7Força V" to be unstealable
  89. format slot 23 of player with enchanted book named "&eLivro Avançado" with lore "&7Infinidade I" to be unstealable
  90. format slot 24 of player with enchanted book named "&eLivro Avançado" with lore "&7Aspecto Flamejante II" to be unstealable
  91. format slot 25 of player with enchanted book named "&eLivro Avançado" with lore "&7Chama I" to be unstealable
  92. format slot 28 of player with enchanted book named "&eLivro Avançado" with lore "&7Toque Suave I" to be unstealable
  93. format slot 29 of player with enchanted book named "&eLivro Avançado" with lore "&7Impacto II" to be unstealable
  94. format slot 30 of player with enchanted book named "&eLivro Avançado" with lore "&7Afinidade Aquática I" to be unstealable
  95. format slot 49 of player with arrow named "&aVoltar" to run [make player execute command "/encantar"]
  96. command /exp1:
  97. trigger:
  98. if xp of player is more than 500:
  99. remove 500 from xp of player
  100. give 1 experience bottle named "&ePoção de experiência" with lore "&7XP: &f500" to player
  101. else:
  102. send "&cVocê não tem experiência suficiente"
  103. command /exp2:
  104. trigger:
  105. if xp of player is more than 1000:
  106. remove 1000 from xp of player
  107. give 1 experience bottle named "&ePoção de experiência" with lore "&7XP: &f1000" to player
  108. else:
  109. send "&cVocê não tem experiência suficiente"
  110. command /exp3:
  111. trigger:
  112. if xp of player is more than 5000:
  113. remove 5000 from xp of player
  114. give 1 experience bottle named "&ePoção de experiência" with lore "&7XP: &f5000" to player
  115. else:
  116. send "&cVocê não tem experiência suficiente"
  117. command /book1:
  118. trigger:
  119. if xp of player is more than 1500:
  120. remove 1500 from xp of player
  121. give 1 book named "&eLivro de encantamentos" with lore "&7Tipo: &fSimples" to player
  122. else:
  123. send "&cVocê não tem experiência suficiente"
  124. command /book2:
  125. trigger:
  126. if xp of player is more than 3000:
  127. remove 3000 from xp of player
  128. give 1 book named "&eLivro de encantamentos" with lore "&7Tipo: &fNormal" to player
  129. else:
  130. send "&cVocê não tem experiência suficiente"
  131. command /book3:
  132. trigger:
  133. if xp of player is more than 5500:
  134. remove 5500 from xp of player
  135. give 1 book named "&eLivro de encantamentos" with lore "&7Tipo: &fAvançado" to player
  136. else:
  137. send "&cVocê não tem experiência suficiente"
  138. #=====================================================================#
  139. # Clique com o botão direito com os itens especiais #
  140. #=====================================================================#
  141. on right click with a book:
  142. name of held item is "&eLivro de encantamentos"
  143. lore of held item is "&7Tipo: &fSimples"
  144. remove 1 book named "&eLivro de encantamentos" with lore "&7Tipo: &fSimples" from player
  145. chance of 9%:
  146. give 1 enchanted book named "&eLivro simples" with lore "&7Eficiência II|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  147. stop
  148. chance of 9%:
  149. give 1 enchanted book named "&eLivro simples" with lore "&7Eficiência I|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  150. stop
  151. chance of 9%:
  152. give 1 enchanted book named "&eLivro simples" with lore "&7Proteção II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  153. stop
  154. chance of 9%:
  155. give 1 enchanted book named "&eLivro simples" with lore "&7Proteção contra fogo I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  156. stop
  157. chance of 9%:
  158. give 1 enchanted book named "&eLivro simples" with lore "&7Proteção contra fogo II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  159. stop
  160. chance of 9%:
  161. give 1 enchanted book named "&eLivro simples" with lore "&7Peso Pena I|| ||&aChance de sucesso: 50*||&7Encanta: Botas" to player
  162. stop
  163. chance of 9%:
  164. give 1 enchanted book named "&eLivro simples" with lore "&7Peso Pena II|| ||&aChance de sucesso: 50*||&7Encanta: Botas" to player
  165. stop
  166. chance of 9%:
  167. give 1 enchanted book named "&ELivro simples" with lore "&7Proteção contra explosões II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  168. stop
  169. chance of 9%:
  170. give 1 enchanted book named "&ELivro simples" with lore "&7Proteção contra explosões I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  171. stop
  172. chance of 9%:
  173. give 1 enchanted book named "&ELivro simples" with lore "&7Proteção contra fogo I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  174. stop
  175. chance of 9%:
  176. give 1 enchanted book named "&ELivro simples" with lore "&7Proteção contra fogo II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  177. stop
  178. chance of 8%:
  179. give 1 enchanted book named "&eLivro simples" with lore "&7Proteção I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  180. stop
  181. chance of 8:
  182. give 1 enchanted book named "&eLivro simples" with lore "&7Proteção II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  183. stop
  184. chance of 9%:
  185. give 1 enchanted book named "&eLivro simples" with lore "&7Proteção contra explosões I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  186. stop
  187. chance of 2.5%:
  188. give 1 enchanted book named "&eLivro simples" with lore "&7Proteção contra explosões II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  189. stop
  190. chance of 9%:
  191. give 1 enchanted book named "&eLivro simples" with lore "&7Respiração I|| ||&aChance de sucesso: 50*||&7Encanta: Elmos" to player
  192. stop
  193. chance of 9%:
  194. give 1 enchanted book named "&eLivro simples" with lore "&7Força I|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  195. stop
  196. chance of 9%:
  197. give 1 enchanted book named "&eLivro simples" with lore "&7Força II|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  198. stop
  199. chance of 9%:
  200. give 1 enchanted book named "&eLivro simples" with lore "&7Afiação I|| ||&aChance de sucesso: 50*||&7Encanta: Armas" to player
  201. stop
  202. chance of 9%:
  203. give 1 enchanted book named "&eLivro simples" with lore "&7Afiação II|| ||&aChance de sucesso: 50*||&7Encanta: Armas" to player
  204. stop
  205. chance of 9%:
  206. give 1 enchanted book named "&eLivro simples" with lore "&7Respiração I|| ||&aChance de sucesso: 50*||&7Encanta: Elmos" to player
  207. stop
  208. chance of 9%:
  209. give 1 enchanted book named "&eLivro simples" with lore "&7Espinhos I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  210. stop
  211. chance of 9%:
  212. give 1 enchanted book named "&eLivro simples" with lore "&7Julgamento I|| ||&aChance de sucesso: 50*||&7Encanta: Armas" to player
  213. stop
  214. chance of 9%:
  215. give 1 enchanted book named "&eLivro simples" with lore "&7Julgamento II|| ||&aChance de sucesso: 50*||&7Encanta: Armas" to player
  216. stop
  217. chance of 9%:
  218. give 1 enchanted book named "&eLivro simples" with lore "&7Ruína de Artrópodes II|| ||&aChance de sucesso: 50*||&7Encanta: Armas" to player
  219. stop
  220. chance of 9%:
  221. give 1 enchanted book named "&eLivro simples" with lore "&7Ruína de Artrópodes I|| ||&aChance de sucesso: 50*||&7Encanta: Armas" to player
  222. stop
  223. chance of 9%:
  224. give 1 enchanted book named "&eLivro simples" with lore "&7Força I|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  225. stop
  226. chance of 9%:
  227. give 1 enchanted book named "&eLivro simples" with lore "&7Força II|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  228. stop
  229. chance of 9%:
  230. give 1 enchanted book named "&eLivro simples" with lore "&7Inquebrável I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras||&7Ferramentas ou Armas" to player
  231. stop
  232. chance of 9%:
  233. give 1 enchanted book named "&eLivro simples" with lore "&7Inquebrável II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras||&7Ferramentas ou Armas" to player
  234. stop
  235. chance of 9%:
  236. give 1 enchanted book named "&eLivro simples" with lore "&7Pilhagem I|| ||&aChance de sucesso: 50*||&7Encanta: Espadas" to player
  237. stop
  238. chance of 9%:
  239. give 1 enchanted book named "&eLivro simples" with lore "&7Fortune I|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  240. stop
  241. else:
  242. send "&cVocê não teve sorte o suficiente para ter ganhado um livro de encantamento."
  243. on right click with a book:
  244. name of held item is "&eLivro de encantamentos"
  245. lore of held item is "&7Tipo: &fNormal"
  246. remove 1 book named "&eLivro de encantamentos" with lore "&7Tipo: &fNormal" from player
  247. chance of 9%:
  248. give 1 enchanted book named "&eLivro normal" with lore "&7Proteção III|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  249. stop
  250. chance of 9%:
  251. give 1 enchanted book named "&eLivro normal" with lore "&7Proteção IV|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  252. stop
  253. chance of 9%:
  254. give 1 enchanted book named "&eLivro normal" with lore "&7Respiração II|| ||&aChance de sucesso: 50*||&7Encanta: Elmos" to player
  255. stop
  256. chance of 9%:
  257. give 1 enchanted book named "&eLivro normal" with lore "&7Proteção contra fogo III|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  258. stop
  259. chance of 9%:
  260. give 1 enchanted book named "&eLivro normal" with lore "&7Peso Pena III|| ||&aChance de sucesso: 50*||&7Encanta: Botas" to player
  261. stop
  262. chance of 9%:
  263. give 1 enchanted book named "&eLivro normal" with lore "&7Afiação III|| ||&aChance de sucesso: 50*||&7Encanta: Armas" to player
  264. stop
  265. chance of 9%:
  266. give 1 enchanted book named "&eLivro normal" with lore "&7Afiação IV|| ||&aChance de sucesso: 50*||&7Encanta: Armas" to player
  267. stop
  268. chance of 9%:
  269. give 1 enchanted book named "&eLivro normal" with lore "&7Pilhagem II|| ||&aChance de sucesso: 50*||&7Encanta: Espadas" to player
  270. stop
  271. chance of 9%:
  272. give 1 enchanted book named "&eLivro normal" with lore "&7Eficiência III|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  273. stop
  274. chance of 9%:
  275. give 1 enchanted book named "&eLivro normal" with lore "&7Eficiência IV|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  276. stop
  277. chance of 9%:
  278. give 1 enchanted book named "&eLivro normal" with lore "&7Inquebrável III|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras||&7Ferramentas ou Armas" to player
  279. stop
  280. chance of 9%:
  281. give 1 enchanted book named "&eLivro normal" with lore "&7Inquebrável IV|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras||&7Ferramentas ou Armas" to player
  282. stop
  283. chance of 9%:
  284. give 1 enchanted book named "&eLivro normal" with lore "&7Fortune II|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  285. stop
  286. chance of 9%:
  287. give 1 enchanted book named "&eLivro normal" with lore "&7Força III|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  288. stop
  289. chance of 9%:
  290. give 1 enchanted book named "&eLivro normal" with lore "&7Força IV|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  291. stop
  292. chance of 9%:
  293. give 1 enchanted book named "&eLivro normal" with lore "&7Aspecto flamejante I|| ||&aChance de sucesso: 50*||&7Encanta: Espadas" to player
  294. stop
  295. chance of 9%:
  296. give 1 enchanted book named "&eLivro normal" with lore "&7Impacto I|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  297. stop
  298. else:
  299. send "&cVocê não teve sorte :/"
  300. on right click with a book:
  301. name of held item is "&eLivro de encantamentos"
  302. lore of held item is "&7Tipo: &fAvançado"
  303. remove 1 book named "&eLivro de encantamentos" with lore "&7Tipo: &fAvançado" from player
  304. chance of 9%:
  305. give 1 enchanted book named "&eLivro avançado" with lore "&7Proteção V|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  306. stop
  307. chance of 9%:
  308. give 1 enchanted book named "&eLivro avançado" with lore "&7Proteção contra fogo IV|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras" to player
  309. stop
  310. chance of 9%:
  311. give 1 enchanted book named "&eLivro avançado" with lore "&7Respiração III|| ||&aChance de sucesso: 50*||&7Encanta: Elmos" to player
  312. stop
  313. chance of 9%:
  314. give 1 enchanted book named "&eLivro avançado" with lore "&7Peso Pena IV|| ||&aChance de sucesso: 50*||&7Encanta: Botas" to player
  315. stop
  316. chance of 9%:
  317. give 1 enchanted book named "&eLivro avançado" with lore "&7Passos profundos III|| ||&aChance de sucesso: 50*||&7Encanta: Botas" to player
  318. stop
  319. chance of 9%:
  320. give 1 enchanted book named "&eLivro avançado" with lore "&7Afiação V|| ||&aChance de sucesso: 50*||&7Encanta: Armas" to player
  321. stop
  322. chance of 9%:
  323. give 1 enchanted book named "&eLivro avançado" with lore "&7Pilhagem III|| ||&aChance de sucesso: 50*||&7Encanta: Espadas" to player
  324. stop
  325. chance of 9%:
  326. give 1 enchanted book named "&eLivro avançado" with lore "&7Eficiência V|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  327. stop
  328. chance of 9%:
  329. give 1 enchanted book named "&eLivro avançado" with lore "&7Inquebrável V|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras||&7Ferramentas ou Armas" to player
  330. stop
  331. chance of 9%:
  332. give 1 enchanted book named "&eLivro avançado" with lore "&7Fortune III|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  333. stop
  334. chance of 9%:
  335. give 1 enchanted book named "&eLivro avançado" with lore "&7Força V|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  336. stop
  337. chance of 9%:
  338. give 1 enchanted book named "&eLivro avançado" with lore "&7Infinidade I|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  339. stop
  340. chance of 9%:
  341. give 1 enchanted book named "&eLivro avançado" with lore "&7Aspecto flamejante II|| ||&aChance de sucesso: 50*||&7Encanta: Espadas" to player
  342. stop
  343. chance of 9%:
  344. give 1 enchanted book named "&eLivro avançado" with lore "&7Chama I|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  345. stop
  346. chance of 9%:
  347. give 1 enchanted book named "&eLivro avançado" with lore "&7Toque Suave I|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas" to player
  348. stop
  349. chance of 9%:
  350. give 1 enchanted book named "&eLivro avançado" with lore "&7Impacto II|| ||&aChance de sucesso: 50*||&7Encanta: Arcos" to player
  351. stop
  352. chance of 9%:
  353. give 1 enchanted book named "&eLivro avançado" with lore "&7Afinidade Áquatica I|| ||&aChance de sucesso: 50*||&7Encanta: Elmos" to player
  354. stop
  355. on right click with a experience bottle:
  356. name of held item is "&ePoção de experiência"
  357. lore of held item is "&7XP: &f500"
  358. cancel event
  359. remove 1 experience bottle named "&ePoção de experiência" with lore "&7XP: &f500" from player
  360. give 500 xp to the player
  361. stop
  362. on right click with a experience bottle:
  363. name of held item is "&ePoção de experiência"
  364. lore of held item is "&7XP: &f1000"
  365. cancel event
  366. remove 1 experience bottle named "&ePoção de experiência" with lore "&7XP: &f1000" from player
  367. give 1000 xp to the player
  368. stop
  369. on right click with a experience bottle:
  370. name of held item is "&ePoção de experiência"
  371. lore of held item is "&7XP: &f5000"
  372. cancel event
  373. remove 1 experience bottle named "&ePoção de experiência" with lore "&7XP: &f5000" from player
  374. give 5000 xp to the player
  375. stop
  376. #=====================================================================#
  377. # Eficiência #
  378. #=====================================================================#
  379. on inventory click:
  380. if cursor item is enchanted book named "&eLivro simples" with lore "&7Eficiência I|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  381. if clicked item is pickaxe or axe or shovel or hoe:
  382. chance of 50%:
  383. enchant clicked item with efficiency 1
  384. set cursor item to air
  385. message "&aEncantamento aplicado com sucesso."
  386. stop
  387. chance of 50%:
  388. send "&cIhhh! Parece que não deu certo."
  389. set cursor item to air
  390. stop
  391. on inventory click:
  392. if cursor item is enchanted book named "&eLivro simples" with lore "&7Eficiência II|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  393. if clicked item is pickaxe or axe or shovel or hoe:
  394. chance of 50%:
  395. clicked item is enchanted with efficiency 1
  396. enchant clicked item with efficiency 2
  397. set cursor item to air
  398. message "&aEncantamento aplicado com sucesso."
  399. stop
  400. else:
  401. send "&cVocê precisa ter o encantamento Eficiência I."
  402. cancel event
  403. stop
  404. chance of 50%:
  405. clicked item is enchanted with efficiency 1
  406. set cursor item to air
  407. send "&cIhhh! Parece que não deu certo."
  408. stop
  409. else:
  410. send "&cVocê precisa ter o encantamento Eficiência I."
  411. cancel event
  412. stop
  413. on inventory click:
  414. if cursor item is enchanted book named "&eLivro normal" with lore "&7Eficiência III|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  415. if clicked item is pickaxe or axe or shovel or hoe:
  416. chance of 50%:
  417. clicked item is enchanted with efficiency 2
  418. enchant clicked item with efficiency 3
  419. set cursor item to air
  420. message "&aEncantamento aplicado com sucesso."
  421. stop
  422. else:
  423. send "&cVocê precisa ter o encantamento Eficiência II."
  424. cancel event
  425. stop
  426. chance of 50%:
  427. clicked item is enchanted with efficiency 2
  428. set cursor item to air
  429. send "&cIhhh! Parece que não deu certo."
  430. stop
  431. else:
  432. send "&cVocê precisa ter o encantamento Eficiência II."
  433. cancel event
  434. stop
  435. on inventory click:
  436. if cursor item is enchanted book named "&eLivro normal" with lore "&7Eficiência IV|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  437. if clicked item is pickaxe or axe or shovel or hoe:
  438. chance of 50%:
  439. clicked item is enchanted with efficiency 3
  440. enchant clicked item with efficiency 4
  441. set cursor item to air
  442. message "&aEncantamento aplicado com sucesso."
  443. stop
  444. else:
  445. send "&cVocê precisa ter o encantamento Eficiência III."
  446. cancel event
  447. stop
  448. chance of 50%:
  449. clicked item is enchanted with efficiency 3
  450. set cursor item to air
  451. send "&cIhhh! Parece que não deu certo."
  452. stop
  453. else:
  454. send "&cVocê precisa ter o encantamento Eficiência III."
  455. cancel event
  456. stop
  457. on inventory click:
  458. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Eficiência V|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  459. if clicked item is pickaxe or axe or shovel or hoe:
  460. chance of 50%:
  461. clicked item is enchanted with efficiency 4
  462. enchant clicked item with efficiency 5
  463. set cursor item to air
  464. message "&aEncantamento aplicado com sucesso."
  465. stop
  466. else:
  467. send "&cVocê precisa ter o encantamento Eficiência IV."
  468. cancel event
  469. stop
  470. chance of 50%:
  471. clicked item is enchanted with efficiency 4
  472. set cursor item to air
  473. send "&cIhhh! Parece que não deu certo."
  474. stop
  475. else:
  476. send "&cVocê precisa ter o encantamento Eficiência IV."
  477. cancel event
  478. stop
  479. #=====================================================================#
  480. # Proteção #
  481. #=====================================================================#
  482. on inventory click:
  483. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  484. if clicked item is boots or chestplate or leggings or helmet:
  485. chance of 50%:
  486. enchant clicked item with protection 1
  487. set cursor item to air
  488. message "&aEncantamento aplicado com sucesso."
  489. stop
  490. chance of 50%:
  491. send "&cIhhh! Parece que não deu certo."
  492. set cursor item to air
  493. stop
  494. on inventory click:
  495. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  496. if clicked item is boots or chestplate or leggings or helmet:
  497. chance of 50%:
  498. clicked item is enchanted with protection 1
  499. enchant clicked item with protection 2
  500. set cursor item to air
  501. message "&aEncantamento aplicado com sucesso."
  502. stop
  503. else:
  504. send "&cVocê precisa ter o encantamento Proteção I."
  505. cancel event
  506. stop
  507. chance of 50%:
  508. clicked item is enchanted with protection 1
  509. set cursor item to air
  510. send "&cIhhh! Parece que não deu certo."
  511. stop
  512. else:
  513. send "&cVocê precisa ter o encantamento Proteção I."
  514. cancel event
  515. stop
  516. on inventory click:
  517. if cursor item is enchanted book named "&eLivro normal" with lore "&7Proteção III|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  518. if clicked item is boots or chestplate or leggings or helmet:
  519. chance of 50%:
  520. clicked item is enchanted with protection 2
  521. enchant clicked item with protection 3
  522. set cursor item to air
  523. message "&aEncantamento aplicado com sucesso."
  524. stop
  525. else:
  526. send "&cVocê precisa ter o encantamento Proteção II."
  527. cancel event
  528. stop
  529. chance of 50%:
  530. clicked item is enchanted with protection 2
  531. set cursor item to air
  532. send "&cIhhh! Parece que não deu certo."
  533. stop
  534. else:
  535. send "&cVocê precisa ter o encantamento Proteção II."
  536. cancel event
  537. stop
  538. on inventory click:
  539. if cursor item is enchanted book named "&eLivro normal" with lore "&7Proteção IV|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  540. if clicked item is boots or chestplate or leggings or helmet:
  541. chance of 50%:
  542. clicked item is enchanted with protection 3
  543. enchant clicked item with protection 4
  544. set cursor item to air
  545. message "&aEncantamento aplicado com sucesso."
  546. stop
  547. else:
  548. send "&cVocê precisa ter o encantamento Proteção III."
  549. cancel event
  550. stop
  551. chance of 50%:
  552. clicked item is enchanted with protection 3
  553. set cursor item to air
  554. send "&cIhhh! Parece que não deu certo."
  555. stop
  556. else:
  557. send "&cVocê precisa ter o encantamento Proteção III."
  558. cancel event
  559. stop
  560. on inventory click:
  561. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Proteção V|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  562. if clicked item is boots or chestplate or leggings or helmet:
  563. chance of 50%:
  564. clicked item is enchanted with protection 4
  565. enchant clicked item with protection 5
  566. set cursor item to air
  567. message "&aEncantamento aplicado com sucesso."
  568. stop
  569. else:
  570. send "&cVocê precisa ter o encantamento Proteção IV."
  571. cancel event
  572. stop
  573. chance of 50%:
  574. clicked item is enchanted with protection 4
  575. set cursor item to air
  576. send "&cIhhh! Parece que não deu certo."
  577. stop
  578. else:
  579. send "&cVocê precisa ter o encantamento Proteção IV."
  580. cancel event
  581. stop
  582. #=====================================================================#
  583. # Proteção contra fogo #
  584. #=====================================================================#
  585. on inventory click:
  586. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção contra fogo I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  587. if clicked item is boots or chestplate or leggings or helmet:
  588. chance of 50%:
  589. enchant clicked item with fire protection 1
  590. set cursor item to air
  591. message "&aEncantamento aplicado com sucesso."
  592. stop
  593. chance of 50%:
  594. send "&cIhhh! Parece que não deu certo."
  595. set cursor item to air
  596. stop
  597. on inventory click:
  598. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção contra fogo II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  599. if clicked item is boots or chestplate or leggings or helmet:
  600. chance of 50%:
  601. clicked item is enchanted with fire protection 1
  602. enchant clicked item with fire protection 2
  603. set cursor item to air
  604. message "&aEncantamento aplicado com sucesso."
  605. stop
  606. else:
  607. send "&cVocê precisa ter o encantamento Proteção contra fogo I."
  608. cancel event
  609. stop
  610. chance of 50%:
  611. clicked item is enchanted with fire protection 1
  612. set cursor item to air
  613. send "&cIhhh! Parece que não deu certo."
  614. stop
  615. else:
  616. send "&cVocê precisa ter o encantamento Proteção contra fogo I."
  617. cancel event
  618. stop
  619. on inventory click:
  620. if cursor item is enchanted book named "&eLivro normal" with lore "&7Proteção contra fogo III|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  621. if clicked item is boots or chestplate or leggings or helmet:
  622. chance of 50%:
  623. clicked item is enchanted with fire protection 2
  624. enchant clicked item with fire protection 3
  625. set cursor item to air
  626. message "&aEncantamento aplicado com sucesso."
  627. stop
  628. else:
  629. send "&cVocê precisa ter o encantamento Proteção contra fogo II."
  630. cancel event
  631. stop
  632. chance of 50%:
  633. clicked item is enchanted with fire protection 2
  634. set cursor item to air
  635. send "&cIhhh! Parece que não deu certo."
  636. stop
  637. else:
  638. send "&cVocê precisa ter o encantamento Proteção contra fogo II."
  639. cancel event
  640. stop
  641. on inventory click:
  642. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Proteção contra fogo IV|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  643. if clicked item is boots or chestplate or leggings or helmet:
  644. chance of 50%:
  645. clicked item is enchanted with fire protection 3
  646. enchant clicked item with fire protection 4
  647. set cursor item to air
  648. message "&aEncantamento aplicado com sucesso."
  649. stop
  650. else:
  651. send "&cVocê precisa ter o encantamento Proteção contra fogo III."
  652. cancel event
  653. stop
  654. chance of 50%:
  655. clicked item is enchanted with fire protection 3
  656. set cursor item to air
  657. send "&cIhhh! Parece que não deu certo."
  658. stop
  659. else:
  660. send "&cVocê precisa ter o encantamento Proteção contra fogo III."
  661. cancel event
  662. stop
  663. on inventory click:
  664. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Proteção contra fogo V|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  665. if clicked item is boots or chestplate or leggings or helmet:
  666. chance of 50%:
  667. clicked item is enchanted with fire protection 4
  668. enchant clicked item with fire protection 5
  669. set cursor item to air
  670. message "&aEncantamento aplicado com sucesso."
  671. stop
  672. else:
  673. send "&cVocê precisa ter o encantamento Proteção contra fogo IV."
  674. cancel event
  675. stop
  676. chance of 50%:
  677. clicked item is enchanted with fire protection 4
  678. set cursor item to air
  679. send "&cIhhh! Parece que não deu certo."
  680. stop
  681. else:
  682. send "&cVocê precisa ter o encantamento Proteção contra fogo IV."
  683. cancel event
  684. stop
  685. #=====================================================================#
  686. # Peso pena #
  687. #=====================================================================#
  688. on inventory click:
  689. if cursor item is enchanted book named "&eLivro simples" with lore "&7Peso Pena I|| ||&aChance de sucesso: 50*||&7Encanta: Botas":
  690. if clicked item is boots:
  691. chance of 50%:
  692. enchant clicked item with feather falling 1
  693. set cursor item to air
  694. message "&aEncantamento aplicado com sucesso."
  695. stop
  696. chance of 50%:
  697. send "&cIhhh! Parece que não deu certo."
  698. set cursor item to air
  699. stop
  700. on inventory click:
  701. if cursor item is enchanted book named "&eLivro simples" with lore "&7Peso Pena II|| ||&aChance de sucesso: 50*||&7Encanta: Botas":
  702. if clicked item is boots:
  703. chance of 50%:
  704. clicked item is enchanted with feather falling 1
  705. enchant clicked item with feather falling 2
  706. set cursor item to air
  707. message "&aEncantamento aplicado com sucesso."
  708. stop
  709. else:
  710. send "&cVocê precisa ter o encantamento Peso Pena I."
  711. cancel event
  712. stop
  713. chance of 50%:
  714. clicked item is enchanted with feather falling 1
  715. set cursor item to air
  716. send "&cIhhh! Parece que não deu certo."
  717. stop
  718. else:
  719. send "&cVocê precisa ter o encantamento Peso Pena I."
  720. cancel event
  721. stop
  722. on inventory click:
  723. if cursor item is enchanted book named "&eLivro normal" with lore "&7Peso Pena III|| ||&aChance de sucesso: 50*||&7Encanta: Botas":
  724. if clicked item is boots:
  725. chance of 50%:
  726. clicked item is enchanted with feather falling 2
  727. enchant clicked item with feather falling 3
  728. set cursor item to air
  729. message "&aEncantamento aplicado com sucesso."
  730. stop
  731. else:
  732. send "&cVocê precisa ter o encantamento Peso Pena II."
  733. cancel event
  734. stop
  735. chance of 50%:
  736. clicked item is enchanted with feather falling 2
  737. set cursor item to air
  738. send "&cIhhh! Parece que não deu certo."
  739. stop
  740. else:
  741. send "&cVocê precisa ter o encantamento Peso Pena II."
  742. cancel event
  743. stop
  744. on inventory click:
  745. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Peso Pena IV|| ||&aChance de sucesso: 50*||&7Encanta: Botas":
  746. if clicked item is boots:
  747. chance of 50%:
  748. clicked item is enchanted with feather falling 3
  749. enchant clicked item with feather falling 4
  750. set cursor item to air
  751. message "&aEncantamento aplicado com sucesso."
  752. stop
  753. else:
  754. send "&cVocê precisa ter o encantamento Peso Pena III."
  755. cancel event
  756. stop
  757. chance of 50%:
  758. clicked item is enchanted with feather falling 3
  759. set cursor item to air
  760. send "&cIhhh! Parece que não deu certo."
  761. stop
  762. else:
  763. send "&cVocê precisa ter o encantamento Peso Pena III."
  764. cancel event
  765. stop
  766. on inventory click:
  767. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Peso Pena V|| ||&aChance de sucesso: 50*||&7Encanta: Botas":
  768. if clicked item is boots:
  769. chance of 50%:
  770. clicked item is enchanted with feather falling 4
  771. enchant clicked item with feather falling 5
  772. set cursor item to air
  773. message "&aEncantamento aplicado com sucesso."
  774. stop
  775. else:
  776. send "&cVocê precisa ter o encantamento Peso Pena IV."
  777. cancel event
  778. stop
  779. chance of 50%:
  780. clicked item is enchanted with feather falling 4
  781. set cursor item to air
  782. send "&cIhhh! Parece que não deu certo."
  783. stop
  784. else:
  785. send "&cVocê precisa ter o encantamento Peso Pena IV."
  786. cancel event
  787. stop
  788. #=====================================================================#
  789. # Proteção contra explosões #
  790. #=====================================================================#
  791. on inventory click:
  792. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção contra explosões I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  793. if clicked item is boots or chestplate or leggings or helmet:
  794. chance of 50%:
  795. enchant clicked item with blast protection 1
  796. set cursor item to air
  797. message "&aEncantamento aplicado com sucesso."
  798. stop
  799. chance of 50%:
  800. send "&cIhhh! Parece que não deu certo."
  801. set cursor item to air
  802. stop
  803. on inventory click:
  804. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção contra explosões II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  805. if clicked item is boots or chestplate or leggings or helmet:
  806. chance of 50%:
  807. clicked item is enchanted with blast protection 1
  808. enchant clicked item with blast protection 2
  809. set cursor item to air
  810. message "&aEncantamento aplicado com sucesso."
  811. stop
  812. else:
  813. send "&cVocê precisa ter o encantamento Proteção contra explosões I."
  814. cancel event
  815. stop
  816. chance of 50%:
  817. clicked item is enchanted with blast protection 1
  818. set cursor item to air
  819. send "&cIhhh! Parece que não deu certo."
  820. stop
  821. else:
  822. send "&cVocê precisa ter o encantamento Proteção contra explosões I."
  823. cancel event
  824. stop
  825. on inventory click:
  826. if cursor item is enchanted book named "&eLivro normal" with lore "&7Proteção contra explosões III|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  827. if clicked item is boots or chestplate or leggings or helmet:
  828. chance of 50%:
  829. clicked item is enchanted with blast protection 2
  830. enchant clicked item with blast protection 3
  831. set cursor item to air
  832. message "&aEncantamento aplicado com sucesso."
  833. stop
  834. else:
  835. send "&cVocê precisa ter o encantamento Proteção contra explosões II."
  836. cancel event
  837. stop
  838. chance of 50%:
  839. clicked item is enchanted with blast protection 2
  840. set cursor item to air
  841. send "&cIhhh! Parece que não deu certo."
  842. stop
  843. else:
  844. send "&cVocê precisa ter o encantamento Proteção contra explosões II."
  845. cancel event
  846. stop
  847. on inventory click:
  848. if cursor item is enchanted book named "&eLivro normal" with lore "&7Proteção contra explosões IV|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  849. if clicked item is boots or chestplate or leggings or helmet:
  850. chance of 50%:
  851. clicked item is enchanted with blast protection 3
  852. enchant clicked item with blast protection 4
  853. set cursor item to air
  854. message "&aEncantamento aplicado com sucesso."
  855. stop
  856. else:
  857. send "&cVocê precisa ter o encantamento Proteção contra explosões III."
  858. cancel event
  859. stop
  860. chance of 50%:
  861. clicked item is enchanted with blast protection 3
  862. set cursor item to air
  863. send "&cIhhh! Parece que não deu certo."
  864. stop
  865. else:
  866. send "&cVocê precisa ter o encantamento Proteção contra explosões III."
  867. cancel event
  868. stop
  869. on inventory click:
  870. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Proteção contra explosões V|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  871. if clicked item is boots or chestplate or leggings or helmet:
  872. chance of 50%:
  873. clicked item is enchanted with blast protection 4
  874. enchant clicked item with blast protection 5
  875. set cursor item to air
  876. message "&aEncantamento aplicado com sucesso."
  877. stop
  878. else:
  879. send "&cVocê precisa ter o encantamento Proteção contra explosões IV."
  880. cancel event
  881. stop
  882. chance of 50%:
  883. clicked item is enchanted with blast protection 4
  884. set cursor item to air
  885. send "&cIhhh! Parece que não deu certo."
  886. stop
  887. else:
  888. send "&cVocê precisa ter o encantamento Proteção contra explosões IV."
  889. cancel event
  890. stop
  891. #=====================================================================#
  892. # Proteção contra projéteis #
  893. #=====================================================================#
  894. on inventory click:
  895. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção contra projéteis I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  896. if clicked item is boots or chestplate or leggings or helmet:
  897. chance of 50%:
  898. enchant clicked item with projectile protection 1
  899. set cursor item to air
  900. message "&aEncantamento aplicado com sucesso."
  901. stop
  902. chance of 50%:
  903. send "&cIhhh! Parece que não deu certo."
  904. set cursor item to air
  905. stop
  906. on inventory click:
  907. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção contra explosões II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  908. if clicked item is boots or chestplate or leggings or helmet:
  909. chance of 50%:
  910. clicked item is enchanted with projectile protection 1
  911. enchant clicked item with projectile protection 2
  912. set cursor item to air
  913. message "&aEncantamento aplicado com sucesso."
  914. stop
  915. else:
  916. send "&cVocê precisa ter o encantamento Proteção contra explosões I."
  917. cancel event
  918. stop
  919. chance of 50%:
  920. clicked item is enchanted with projectile protection 1
  921. set cursor item to air
  922. send "&cIhhh! Parece que não deu certo."
  923. stop
  924. else:
  925. send "&cVocê precisa ter o encantamento Proteção contra explosões I."
  926. cancel event
  927. stop
  928. on inventory click:
  929. if cursor item is enchanted book named "&eLivro simples" with lore "&7Proteção contra explosões III|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  930. if clicked item is boots or chestplate or leggings or helmet:
  931. chance of 50%:
  932. clicked item is enchanted with projectile protection 2
  933. enchant clicked item with projectile protection 3
  934. set cursor item to air
  935. message "&aEncantamento aplicado com sucesso."
  936. stop
  937. else:
  938. send "&cVocê precisa ter o encantamento Proteção contra explosões II."
  939. cancel event
  940. stop
  941. chance of 50%:
  942. clicked item is enchanted with projectile protection 2
  943. set cursor item to air
  944. send "&cIhhh! Parece que não deu certo."
  945. stop
  946. else:
  947. send "&cVocê precisa ter o encantamento Proteção contra explosões II."
  948. cancel event
  949. stop
  950. on inventory click:
  951. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Proteção contra explosões IV|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  952. if clicked item is boots or chestplate or leggings or helmet:
  953. chance of 50%:
  954. clicked item is enchanted with projectile protection 3
  955. enchant clicked item with projectile protection 4
  956. set cursor item to air
  957. message "&aEncantamento aplicado com sucesso."
  958. stop
  959. else:
  960. send "&cVocê precisa ter o encantamento Proteção contra explosões III."
  961. cancel event
  962. stop
  963. chance of 50%:
  964. clicked item is enchanted with projectile protection 3
  965. set cursor item to air
  966. send "&cIhhh! Parece que não deu certo."
  967. stop
  968. else:
  969. send "&cVocê precisa ter o encantamento Proteção contra explosões III."
  970. cancel event
  971. stop
  972. on inventory click:
  973. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Proteção contra explosões V|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  974. if clicked item is boots or chestplate or leggings or helmet:
  975. chance of 50%:
  976. clicked item is enchanted with projectile protection 4
  977. enchant clicked item with projectile protection 5
  978. set cursor item to air
  979. message "&aEncantamento aplicado com sucesso."
  980. stop
  981. else:
  982. send "&cVocê precisa ter o encantamento Proteção contra explosões IV."
  983. cancel event
  984. stop
  985. chance of 50%:
  986. clicked item is enchanted with projectile protection 4
  987. set cursor item to air
  988. send "&cIhhh! Parece que não deu certo."
  989. stop
  990. else:
  991. send "&cVocê precisa ter o encantamento Proteção contra explosões IV."
  992. cancel event
  993. stop
  994. #=====================================================================#
  995. # Respiração #
  996. #=====================================================================#
  997. on inventory click:
  998. if cursor item is enchanted book named "&eLivro simples" with lore "&7Respiração I|| ||&aChance de sucesso: 50*||&7Encanta: Elmos":
  999. if clicked item is helmet:
  1000. chance of 50%:
  1001. enchant clicked item with respiration 1
  1002. set cursor item to air
  1003. message "&aEncantamento aplicado com sucesso."
  1004. stop
  1005. chance of 50%:
  1006. send "&cIhhh! Parece que não deu certo."
  1007. set cursor item to air
  1008. stop
  1009. on inventory click:
  1010. if cursor item is enchanted book named "&eLivro normal" with lore "&7Respiração II|| ||&aChance de sucesso: 50*||&7Encanta: Elmos":
  1011. if clicked item is helmet:
  1012. chance of 50%:
  1013. clicked item is enchanted with respiration 1
  1014. enchant clicked item with respiration 2
  1015. set cursor item to air
  1016. message "&aEncantamento aplicado com sucesso."
  1017. stop
  1018. else:
  1019. send "&cVocê precisa ter o encantamento Respiração I."
  1020. cancel event
  1021. stop
  1022. chance of 50%:
  1023. clicked item is enchanted with respiration 1
  1024. set cursor item to air
  1025. send "&cIhhh! Parece que não deu certo."
  1026. stop
  1027. else:
  1028. send "&cVocê precisa ter o encantamento Respiração I."
  1029. cancel event
  1030. stop
  1031. on inventory click:
  1032. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Respiração III|| ||&aChance de sucesso: 50*||&7Encanta: Elmos":
  1033. if clicked item is helmet:
  1034. chance of 50%:
  1035. clicked item is enchanted with respiration 2
  1036. enchant clicked item with respiration 3
  1037. set cursor item to air
  1038. message "&aEncantamento aplicado com sucesso."
  1039. stop
  1040. else:
  1041. send "&cVocê precisa ter o encantamento Respiração II."
  1042. cancel event
  1043. stop
  1044. chance of 50%:
  1045. clicked item is enchanted with respiration 2
  1046. set cursor item to air
  1047. send "&cIhhh! Parece que não deu certo."
  1048. stop
  1049. else:
  1050. send "&cVocê precisa ter o encantamento Respiração II."
  1051. cancel event
  1052. stop
  1053. #=====================================================================#
  1054. # Afinidade Áquatica #
  1055. #=====================================================================#
  1056. on inventory click:
  1057. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Afinidade Áquatica I|| ||&aChance de sucesso: 50*||&7Encanta: Elmos":
  1058. if clicked item is helmet:
  1059. chance of 50%:
  1060. enchant clicked item with respiration 1
  1061. set cursor item to air
  1062. message "&aEncantamento aplicado com sucesso."
  1063. stop
  1064. chance of 50%:
  1065. send "&cIhhh! Parece que não deu certo."
  1066. set cursor item to air
  1067. stop
  1068. #=====================================================================#
  1069. # Espinhos #
  1070. #=====================================================================#
  1071. on inventory click:
  1072. if cursor item is enchanted book named "&eLivro simples" with lore "&7Espinhos I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  1073. if clicked item is boots or chestplate or leggings or helmet:
  1074. chance of 50%:
  1075. enchant clicked item with thorns 1
  1076. set cursor item to air
  1077. message "&aEncantamento aplicado com sucesso."
  1078. stop
  1079. chance of 50%:
  1080. send "&cIhhh! Parece que não deu certo."
  1081. set cursor item to air
  1082. stop
  1083. on inventory click:
  1084. if cursor item is enchanted book named "&eLivro normal" with lore "&7Espinhos II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  1085. if clicked item is boots or chestplate or leggings or helmet:
  1086. chance of 50%:
  1087. clicked item is enchanted with thorns 1
  1088. enchant clicked item with thorns 2
  1089. set cursor item to air
  1090. message "&aEncantamento aplicado com sucesso."
  1091. stop
  1092. else:
  1093. send "&cVocê precisa ter o encantamento Espinhos I."
  1094. cancel event
  1095. stop
  1096. chance of 50%:
  1097. clicked item is enchanted with thorns 1
  1098. set cursor item to air
  1099. send "&cIhhh! Parece que não deu certo."
  1100. stop
  1101. else:
  1102. send "&cVocê precisa ter o encantamento Espinhos I."
  1103. cancel event
  1104. stop
  1105. on inventory click:
  1106. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Espinhos III|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras":
  1107. if clicked item is boots or chestplate or leggings or helmet:
  1108. chance of 50%:
  1109. clicked item is enchanted with thorns 2
  1110. enchant clicked item with thorns 3
  1111. set cursor item to air
  1112. message "&aEncantamento aplicado com sucesso."
  1113. stop
  1114. else:
  1115. send "&cVocê precisa ter o encantamento Espinhos II."
  1116. cancel event
  1117. stop
  1118. chance of 50%:
  1119. clicked item is enchanted with thorns 2
  1120. set cursor item to air
  1121. send "&cIhhh! Parece que não deu certo."
  1122. stop
  1123. else:
  1124. send "&cVocê precisa ter o encantamento Espinhos II."
  1125. cancel event
  1126. stop
  1127. #=====================================================================#
  1128. # Passos profundos #
  1129. #=====================================================================#
  1130. #on inventory click:
  1131. # if cursor item is enchanted book named "&eLivro simples" with lore "&7Passos profundos I|| ||&aChance de sucesso: 50*||&7Encanta: Botas":
  1132. # if clicked item is boots:
  1133. # chance of 50%:
  1134. # enchant clicked item with depth strider 1
  1135. # set cursor item to air
  1136. # message "&aEncantamento aplicado com sucesso."
  1137. # stop
  1138. # chance of 50%:
  1139. # send "&cIhhh! Parece que não deu certo."
  1140. # set cursor item to air
  1141. # stop
  1142. #on inventory click:
  1143. # if cursor item is enchanted book named "&eLivro simples" with lore "&7Passos profundos II|| ||&aChance de sucesso: 50*||&7Encanta: Botas":
  1144. # if clicked item is boots:
  1145. # chance of 50%:
  1146. # clicked item is enchanted with depth strider 1
  1147. # enchant clicked item with depth strider 2
  1148. # set cursor item to air
  1149. # message "&aEncantamento aplicado com sucesso."
  1150. # stop
  1151. # else:
  1152. # send "&cVocê precisa ter o encantamento Passos profundos I."
  1153. # cancel event
  1154. # stop
  1155. # chance of 50%:
  1156. # clicked item is enchanted with depth strider 1
  1157. # set cursor item to air
  1158. # send "&cIhhh! Parece que não deu certo."
  1159. # stop
  1160. # else:
  1161. # send "&cVocê precisa ter o encantamento Passos profundos I."
  1162. # cancel event
  1163. # stop
  1164. #on inventory click:
  1165. # if cursor item is enchanted book named "&eLivro avançado" with lore "&7Passos profundos III|| ||&aChance de sucesso: 50*||&7Encanta: Botas":
  1166. # if clicked item is boots:
  1167. # chance of 50%:
  1168. # clicked item is enchanted with depth strider 2
  1169. # enchant clicked item with depth strider 3
  1170. # set cursor item to air
  1171. # message "&aEncantamento aplicado com sucesso."
  1172. # stop
  1173. # else:
  1174. # send "&cVocê precisa ter o encantamento Passos profundos II."
  1175. # cancel event
  1176. # stop
  1177. # chance of 50%:
  1178. # clicked item is enchanted with depth strider 2
  1179. # set cursor item to air
  1180. # send "&cIhhh! Parece que não deu certo."
  1181. # stop
  1182. # else:
  1183. # send "&cVocê precisa ter o encantamento Passos profundos II."
  1184. # cancel event
  1185. # stop
  1186. #=====================================================================#
  1187. # Afiação #
  1188. #=====================================================================#
  1189. on inventory click:
  1190. if cursor item is enchanted book named "&eLivro simples" with lore "&7Afiação I|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1191. if clicked item is sword or axe:
  1192. chance of 50%:
  1193. enchant clicked item with sharpness 1
  1194. set cursor item to air
  1195. message "&aEncantamento aplicado com sucesso."
  1196. stop
  1197. chance of 50%:
  1198. send "&cIhhh! Parece que não deu certo."
  1199. set cursor item to air
  1200. stop
  1201. on inventory click:
  1202. if cursor item is enchanted book named "&eLivro simples" with lore "&7Afiação II|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1203. if clicked item is sword or axe:
  1204. chance of 50%:
  1205. clicked item is enchanted with sharpness 1
  1206. enchant clicked item with sharpness 2
  1207. set cursor item to air
  1208. message "&aEncantamento aplicado com sucesso."
  1209. stop
  1210. else:
  1211. send "&cVocê precisa ter o encantamento Afiação I."
  1212. cancel event
  1213. stop
  1214. chance of 50%:
  1215. clicked item is enchanted with sharpness 1
  1216. set cursor item to air
  1217. send "&cIhhh! Parece que não deu certo."
  1218. stop
  1219. else:
  1220. send "&cVocê precisa ter o encantamento Afiação I."
  1221. cancel event
  1222. stop
  1223. on inventory click:
  1224. if cursor item is enchanted book named "&eLivro normal" with lore "&7Afiação III|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1225. if clicked item is sword or axe:
  1226. chance of 50%:
  1227. clicked item is enchanted with sharpness 2
  1228. enchant clicked item with sharpness 3
  1229. set cursor item to air
  1230. message "&aEncantamento aplicado com sucesso."
  1231. stop
  1232. else:
  1233. send "&cVocê precisa ter o encantamento Afiação II."
  1234. cancel event
  1235. stop
  1236. chance of 50%:
  1237. clicked item is enchanted with sharpness 2
  1238. set cursor item to air
  1239. send "&cIhhh! Parece que não deu certo."
  1240. stop
  1241. else:
  1242. send "&cVocê precisa ter o encantamento Afiação II."
  1243. cancel event
  1244. stop
  1245. on inventory click:
  1246. if cursor item is enchanted book named "&eLivro normal" with lore "&7Afiação IV|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1247. if clicked item is sword or axe:
  1248. chance of 50%:
  1249. clicked item is enchanted with sharpness 3
  1250. enchant clicked item with sharpness 4
  1251. set cursor item to air
  1252. message "&aEncantamento aplicado com sucesso."
  1253. stop
  1254. else:
  1255. send "&cVocê precisa ter o encantamento Afiação III."
  1256. cancel event
  1257. stop
  1258. chance of 50%:
  1259. clicked item is enchanted with sharpness 3
  1260. set cursor item to air
  1261. send "&cIhhh! Parece que não deu certo."
  1262. stop
  1263. else:
  1264. send "&cVocê precisa ter o encantamento Afiação III."
  1265. cancel event
  1266. stop
  1267. on inventory click:
  1268. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Afiação V|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1269. if clicked item is sword or axe:
  1270. chance of 50%:
  1271. clicked item is enchanted with sharpness 4
  1272. enchant clicked item with sharpness 5
  1273. set cursor item to air
  1274. message "&aEncantamento aplicado com sucesso."
  1275. stop
  1276. else:
  1277. send "&cVocê precisa ter o encantamento Afiação IV."
  1278. cancel event
  1279. stop
  1280. chance of 50%:
  1281. clicked item is enchanted with sharpness 4
  1282. set cursor item to air
  1283. send "&cIhhh! Parece que não deu certo."
  1284. stop
  1285. else:
  1286. send "&cVocê precisa ter o encantamento Afiação IV."
  1287. cancel event
  1288. stop
  1289. #=====================================================================#
  1290. # julgamento #
  1291. #=====================================================================#
  1292. on inventory click:
  1293. if cursor item is enchanted book named "&eLivro simples" with lore "&7Julgamento I|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1294. if clicked item is sword or axe:
  1295. chance of 50%:
  1296. enchant clicked item with smite 1
  1297. set cursor item to air
  1298. message "&aEncantamento aplicado com sucesso."
  1299. stop
  1300. chance of 50%:
  1301. send "&cIhhh! Parece que não deu certo."
  1302. set cursor item to air
  1303. stop
  1304. on inventory click:
  1305. if cursor item is enchanted book named "&eLivro simples" with lore "&7Julgamento II|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1306. if clicked item is sword or axe:
  1307. chance of 50%:
  1308. clicked item is enchanted with smite 1
  1309. enchant clicked item with smite 2
  1310. set cursor item to air
  1311. message "&aEncantamento aplicado com sucesso."
  1312. stop
  1313. else:
  1314. send "&cVocê precisa ter o encantamento Julgamento I."
  1315. cancel event
  1316. stop
  1317. chance of 50%:
  1318. clicked item is enchanted with smite 1
  1319. set cursor item to air
  1320. send "&cIhhh! Parece que não deu certo."
  1321. stop
  1322. else:
  1323. send "&cVocê precisa ter o encantamento Julgamento I."
  1324. cancel event
  1325. stop
  1326. on inventory click:
  1327. if cursor item is enchanted book named "&eLivro normal" with lore "&7Julgamento III|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1328. if clicked item is sword or axe:
  1329. chance of 50%:
  1330. clicked item is enchanted with smite 2
  1331. enchant clicked item with smite 3
  1332. set cursor item to air
  1333. message "&aEncantamento aplicado com sucesso."
  1334. stop
  1335. else:
  1336. send "&cVocê precisa ter o encantamento Julgamento II."
  1337. cancel event
  1338. stop
  1339. chance of 50%:
  1340. clicked item is enchanted with smite 2
  1341. set cursor item to air
  1342. send "&cIhhh! Parece que não deu certo."
  1343. stop
  1344. else:
  1345. send "&cVocê precisa ter o encantamento Julgamento II."
  1346. cancel event
  1347. stop
  1348. on inventory click:
  1349. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Julgamento IV|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1350. if clicked item is sword or axe:
  1351. chance of 50%:
  1352. clicked item is enchanted with smite 3
  1353. enchant clicked item with smite 4
  1354. set cursor item to air
  1355. message "&aEncantamento aplicado com sucesso."
  1356. stop
  1357. else:
  1358. send "&cVocê precisa ter o encantamento Julgamento III."
  1359. cancel event
  1360. stop
  1361. chance of 50%:
  1362. clicked item is enchanted with smite 3
  1363. set cursor item to air
  1364. send "&cIhhh! Parece que não deu certo."
  1365. stop
  1366. else:
  1367. send "&cVocê precisa ter o encantamento Julgamento III."
  1368. cancel event
  1369. stop
  1370. on inventory click:
  1371. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Julgamento V|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1372. if clicked item is sword or axe:
  1373. chance of 50%:
  1374. clicked item is enchanted with smite 4
  1375. enchant clicked item with smite 5
  1376. set cursor item to air
  1377. message "&aEncantamento aplicado com sucesso."
  1378. stop
  1379. else:
  1380. send "&cVocê precisa ter o encantamento Julgamento IV."
  1381. cancel event
  1382. stop
  1383. chance of 50%:
  1384. clicked item is enchanted with smite 4
  1385. set cursor item to air
  1386. send "&cIhhh! Parece que não deu certo."
  1387. stop
  1388. else:
  1389. send "&cVocê precisa ter o encantamento Julgamento IV."
  1390. cancel event
  1391. stop
  1392. #=====================================================================#
  1393. # Ruína de Artrópodes #
  1394. #=====================================================================#
  1395. on inventory click:
  1396. if cursor item is enchanted book named "&eLivro simples" with lore "&7Ruína de Artrópodes I|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1397. if clicked item is sword or axe:
  1398. chance of 50%:
  1399. enchant clicked item with bane of arthropods 1
  1400. set cursor item to air
  1401. message "&aEncantamento aplicado com sucesso."
  1402. stop
  1403. chance of 50%:
  1404. send "&cIhhh! Parece que não deu certo."
  1405. set cursor item to air
  1406. stop
  1407. on inventory click:
  1408. if cursor item is enchanted book named "&eLivro simples" with lore "&7Ruína de Artrópodes II|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1409. if clicked item is sword or axe:
  1410. chance of 50%:
  1411. clicked item is enchanted with bane of arthropods 1
  1412. enchant clicked item with bane of arthropods 2
  1413. set cursor item to air
  1414. message "&aEncantamento aplicado com sucesso."
  1415. stop
  1416. else:
  1417. send "&cVocê precisa ter o encantamento Ruína de Artrópodes I."
  1418. cancel event
  1419. stop
  1420. chance of 50%:
  1421. clicked item is enchanted with bane of arthropods 1
  1422. set cursor item to air
  1423. send "&cIhhh! Parece que não deu certo."
  1424. stop
  1425. else:
  1426. send "&cVocê precisa ter o encantamento Ruína de Artrópodes I."
  1427. cancel event
  1428. stop
  1429. on inventory click:
  1430. if cursor item is enchanted book named "&eLivro normal" with lore "&7Ruína de Artrópodes III|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1431. if clicked item is sword or axe:
  1432. chance of 50%:
  1433. clicked item is enchanted with bane of arthropods 2
  1434. enchant clicked item with bane of arthropods 3
  1435. set cursor item to air
  1436. message "&aEncantamento aplicado com sucesso."
  1437. stop
  1438. else:
  1439. send "&cVocê precisa ter o encantamento Ruína de Artrópodes II."
  1440. cancel event
  1441. stop
  1442. chance of 50%:
  1443. clicked item is enchanted with bane of arthropods 2
  1444. set cursor item to air
  1445. send "&cIhhh! Parece que não deu certo."
  1446. stop
  1447. else:
  1448. send "&cVocê precisa ter o encantamento Ruína de Artrópodes II."
  1449. cancel event
  1450. stop
  1451. on inventory click:
  1452. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Ruína de Artrópodes IV|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1453. if clicked item is sword or axe:
  1454. chance of 50%:
  1455. clicked item is enchanted with bane of arthropods 3
  1456. enchant clicked item with bane of arthropods 4
  1457. set cursor item to air
  1458. message "&aEncantamento aplicado com sucesso."
  1459. stop
  1460. else:
  1461. send "&cVocê precisa ter o encantamento Ruína de Artrópodes III."
  1462. cancel event
  1463. stop
  1464. chance of 50%:
  1465. clicked item is enchanted with bane of arthropods 3
  1466. set cursor item to air
  1467. send "&cIhhh! Parece que não deu certo."
  1468. stop
  1469. else:
  1470. send "&cVocê precisa ter o encantamento Ruína de Artrópodes III."
  1471. cancel event
  1472. stop
  1473. on inventory click:
  1474. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Ruína de Artrópodes V|| ||&aChance de sucesso: 50*||&7Encanta: Armas":
  1475. if clicked item is sword or axe:
  1476. chance of 50%:
  1477. clicked item is enchanted with bane of arthropods 4
  1478. enchant clicked item with bane of arthropods 5
  1479. set cursor item to air
  1480. message "&aEncantamento aplicado com sucesso."
  1481. stop
  1482. else:
  1483. send "&cVocê precisa ter o encantamento Ruína de Artrópodes IV."
  1484. cancel event
  1485. stop
  1486. chance of 50%:
  1487. clicked item is enchanted with bane of arthropods 4
  1488. set cursor item to air
  1489. send "&cIhhh! Parece que não deu certo."
  1490. stop
  1491. else:
  1492. send "&cVocê precisa ter o encantamento Ruína de Artrópodes IV."
  1493. cancel event
  1494. stop
  1495. #=====================================================================#
  1496. # Repulsão #
  1497. #=====================================================================#
  1498. on inventory click:
  1499. if cursor item is enchanted book named "&eLivro normal" with lore "&7Repulsão I|| ||&aChance de sucesso: 50*||&7Encanta: Espadas":
  1500. if clicked item is sword:
  1501. chance of 50%:
  1502. enchant clicked item with knockback 1
  1503. set cursor item to air
  1504. message "&aEncantamento aplicado com sucesso."
  1505. stop
  1506. chance of 50%:
  1507. send "&cIhhh! Parece que não deu certo."
  1508. set cursor item to air
  1509. stop
  1510. on inventory click:
  1511. if cursor item is enchanted book named "&eLivro normal" with lore "&7Repulsão II|| ||&aChance de sucesso: 50*||&7Encanta: Espadas":
  1512. if clicked item is sword:
  1513. chance of 50%:
  1514. clicked item is enchanted with knockback 1
  1515. enchant clicked item with knockback 2
  1516. set cursor item to air
  1517. message "&aEncantamento aplicado com sucesso."
  1518. stop
  1519. else:
  1520. send "&cVocê precisa ter o encantamento Repulsão I."
  1521. cancel event
  1522. stop
  1523. chance of 50%:
  1524. clicked item is enchanted with knockback 1
  1525. set cursor item to air
  1526. send "&cIhhh! Parece que não deu certo."
  1527. stop
  1528. else:
  1529. send "&cVocê precisa ter o encantamento Repulsão I."
  1530. cancel event
  1531. stop
  1532. #=====================================================================#
  1533. # Aspecto flamejante #
  1534. #=====================================================================#
  1535. on inventory click:
  1536. if cursor item is enchanted book named "&eLivro normal" with lore "&7Aspecto flamejante I|| ||&aChance de sucesso: 50*||&7Encanta: Espadas":
  1537. if clicked item is sword:
  1538. chance of 50%:
  1539. enchant clicked item with fire aspect 1
  1540. set cursor item to air
  1541. message "&aEncantamento aplicado com sucesso."
  1542. stop
  1543. chance of 50%:
  1544. send "&cIhhh! Parece que não deu certo."
  1545. set cursor item to air
  1546. stop
  1547. on inventory click:
  1548. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Aspecto flamejante II|| ||&aChance de sucesso: 50*||&7Encanta: Espadas":
  1549. if clicked item is sword:
  1550. chance of 50%:
  1551. clicked item is enchanted with fire aspect 1
  1552. enchant clicked item with fire aspect 2
  1553. set cursor item to air
  1554. message "&aEncantamento aplicado com sucesso."
  1555. stop
  1556. else:
  1557. send "&cVocê precisa ter o encantamento Aspecto flamejante I."
  1558. cancel event
  1559. stop
  1560. chance of 50%:
  1561. clicked item is enchanted with fire aspect 1
  1562. set cursor item to air
  1563. send "&cIhhh! Parece que não deu certo."
  1564. stop
  1565. else:
  1566. send "&cVocê precisa ter o encantamento Aspecto flamejante I."
  1567. cancel event
  1568. stop
  1569. #=====================================================================#
  1570. # Pilhagem #
  1571. #=====================================================================#
  1572. on inventory click:
  1573. if cursor item is enchanted book named "&eLivro simples" with lore "&7Pilhagem I|| ||&aChance de sucesso: 50*||&7Encanta: Espadas":
  1574. if clicked item is sword:
  1575. chance of 50%:
  1576. enchant clicked item with looting 1
  1577. set cursor item to air
  1578. message "&aEncantamento aplicado com sucesso."
  1579. stop
  1580. chance of 50%:
  1581. send "&cIhhh! Parece que não deu certo."
  1582. set cursor item to air
  1583. stop
  1584. on inventory click:
  1585. if cursor item is enchanted book named "&eLivro normal" with lore "&7Pilhagem II|| ||&aChance de sucesso: 50*||&7Encanta: Espadas":
  1586. if clicked item is sword:
  1587. chance of 50%:
  1588. clicked item is enchanted with looting 1
  1589. enchant clicked item with looting 2
  1590. set cursor item to air
  1591. message "&aEncantamento aplicado com sucesso."
  1592. stop
  1593. else:
  1594. send "&cVocê precisa ter o encantamento Pilhagem I."
  1595. cancel event
  1596. stop
  1597. chance of 50%:
  1598. clicked item is enchanted with looting 1
  1599. set cursor item to air
  1600. send "&cIhhh! Parece que não deu certo."
  1601. stop
  1602. else:
  1603. send "&cVocê precisa ter o encantamento Pilhagem I."
  1604. cancel event
  1605. stop
  1606. on inventory click:
  1607. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Pilhagem III|| ||&aChance de sucesso: 50*||&7Encanta: Espadas":
  1608. if clicked item is sword or axe:
  1609. chance of 50%:
  1610. clicked item is enchanted with looting 2
  1611. enchant clicked item with looting 3
  1612. set cursor item to air
  1613. message "&aEncantamento aplicado com sucesso."
  1614. stop
  1615. else:
  1616. send "&cVocê precisa ter o encantamento Pilhagem II."
  1617. cancel event
  1618. stop
  1619. chance of 50%:
  1620. clicked item is enchanted with looting 2
  1621. set cursor item to air
  1622. send "&cIhhh! Parece que não deu certo."
  1623. stop
  1624. else:
  1625. send "&cVocê precisa ter o encantamento Pilhagem II."
  1626. cancel event
  1627. stop
  1628. #=====================================================================#
  1629. # Toque suave #
  1630. #=====================================================================#
  1631. on inventory click:
  1632. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Toque Suave I|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  1633. if clicked item is axe or pickaxe or shovel:
  1634. chance of 50%:
  1635. enchant clicked item with silk touch 1
  1636. set cursor item to air
  1637. message "&aEncantamento aplicado com sucesso."
  1638. stop
  1639. chance of 50%:
  1640. send "&cIhhh! Parece que não deu certo."
  1641. set cursor item to air
  1642. stop
  1643. #=====================================================================#
  1644. # Inquebrável #
  1645. #=====================================================================#
  1646. on inventory click:
  1647. if cursor item is enchanted book named "&eLivro simples" with lore "&7Inquebrável I|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras||&7Ferramentas ou Armas":
  1648. if clicked item is boots or chestplate or leggings or helmet or sword or pickaxe or shovel or bow:
  1649. chance of 50%:
  1650. enchant clicked item with unbreaking 1
  1651. set cursor item to air
  1652. message "&aEncantamento aplicado com sucesso."
  1653. stop
  1654. chance of 50%:
  1655. send "&cIhhh! Parece que não deu certo."
  1656. set cursor item to air
  1657. stop
  1658. on inventory click:
  1659. if cursor item is enchanted book named "&eLivro simples" with lore "&7Inquebrável II|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras||&7Ferramentas ou Armas":
  1660. if clicked item is boots or chestplate or leggings or helmet or sword or pickaxe or shovel or bow:
  1661. chance of 50%:
  1662. clicked item is enchanted with unbreaking 1
  1663. enchant clicked item with unbreaking 2
  1664. set cursor item to air
  1665. message "&aEncantamento aplicado com sucesso."
  1666. stop
  1667. else:
  1668. send "&cVocê precisa ter o encantamento Inquebrável I."
  1669. cancel event
  1670. stop
  1671. chance of 50%:
  1672. clicked item is enchanted with unbreaking 1
  1673. set cursor item to air
  1674. send "&cIhhh! Parece que não deu certo."
  1675. stop
  1676. else:
  1677. send "&cVocê precisa ter o encantamento Inquebrável I."
  1678. cancel event
  1679. stop
  1680. on inventory click:
  1681. if cursor item is enchanted book named "&eLivro normal" with lore "&7Inquebrável III|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras||&7Ferramentas ou Armas":
  1682. if clicked item is boots or chestplate or leggings or helmet or sword or pickaxe or shovel or bow:
  1683. chance of 50%:
  1684. clicked item is enchanted with unbreaking 2
  1685. enchant clicked item with unbreaking 3
  1686. set cursor item to air
  1687. message "&aEncantamento aplicado com sucesso."
  1688. stop
  1689. else:
  1690. send "&cVocê precisa ter o encantamento Inquebrável II."
  1691. cancel event
  1692. stop
  1693. chance of 50%:
  1694. clicked item is enchanted with unbreaking 2
  1695. set cursor item to air
  1696. send "&cIhhh! Parece que não deu certo."
  1697. stop
  1698. else:
  1699. send "&cVocê precisa ter o encantamento Inquebrável II."
  1700. cancel event
  1701. stop
  1702. on inventory click:
  1703. if cursor item is enchanted book named "&eLivro normal" with lore "&7Inquebrável IV|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras||&7Ferramentas ou Armas":
  1704. if clicked item is boots or chestplate or leggings or helmet or sword or pickaxe or shovel or bow:
  1705. chance of 50%:
  1706. clicked item is enchanted with unbreaking 3
  1707. enchant clicked item with unbreaking 4
  1708. set cursor item to air
  1709. message "&aEncantamento aplicado com sucesso."
  1710. stop
  1711. else:
  1712. send "&cVocê precisa ter o encantamento Inquebrável III."
  1713. cancel event
  1714. stop
  1715. chance of 50%:
  1716. clicked item is enchanted with unbreaking 3
  1717. set cursor item to air
  1718. send "&cIhhh! Parece que não deu certo."
  1719. stop
  1720. else:
  1721. send "&cVocê precisa ter o encantamento Inquebrável III."
  1722. cancel event
  1723. stop
  1724. on inventory click:
  1725. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Inquebrável V|| ||&aChance de sucesso: 50*||&7Encanta: Armaduras||&7Ferramentas ou Armas":
  1726. if clicked item is boots or chestplate or leggings or helmet or sword or pickaxe or shovel or bow:
  1727. chance of 50%:
  1728. clicked item is enchanted with unbreaking 4
  1729. enchant clicked item with unbreaking 5
  1730. set cursor item to air
  1731. message "&aEncantamento aplicado com sucesso."
  1732. stop
  1733. else:
  1734. send "&cVocê precisa ter o encantamento Inquebrável IV."
  1735. cancel event
  1736. stop
  1737. chance of 50%:
  1738. clicked item is enchanted with unbreaking 4
  1739. set cursor item to air
  1740. send "&cIhhh! Parece que não deu certo."
  1741. stop
  1742. else:
  1743. send "&cVocê precisa ter o encantamento Inquebrável IV."
  1744. cancel event
  1745. stop
  1746. #=====================================================================#
  1747. # Fortuna #
  1748. #=====================================================================#
  1749. on inventory click:
  1750. if cursor item is enchanted book named "&eLivro simples" with lore "&7Fortune I|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  1751. if clicked item is pickaxe or axe or shovel:
  1752. chance of 50%:
  1753. enchant clicked item with fortune 1
  1754. set cursor item to air
  1755. message "&aEncantamento aplicado com sucesso."
  1756. stop
  1757. chance of 50%:
  1758. send "&cIhhh! Parece que não deu certo."
  1759. set cursor item to air
  1760. stop
  1761. on inventory click:
  1762. if cursor item is enchanted book named "&eLivro normal" with lore "&7Fortune II|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  1763. if clicked item is pickaxe or axe or shovel:
  1764. chance of 50%:
  1765. clicked item is enchanted with fortune 1
  1766. enchant clicked item with fortune 2
  1767. set cursor item to air
  1768. message "&aEncantamento aplicado com sucesso."
  1769. stop
  1770. else:
  1771. send "&cVocê precisa ter o encantamento Fortune I."
  1772. cancel event
  1773. stop
  1774. chance of 50%:
  1775. clicked item is enchanted with fortune 1
  1776. set cursor item to air
  1777. send "&cIhhh! Parece que não deu certo."
  1778. stop
  1779. else:
  1780. send "&cVocê precisa ter o encantamento Fortune I."
  1781. cancel event
  1782. stop
  1783. on inventory click:
  1784. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Fortune III|| ||&aChance de sucesso: 50*||&7Encanta: Ferramentas":
  1785. if clicked item is sword or axe:
  1786. chance of 50%:
  1787. clicked item is enchanted with fortune 2
  1788. enchant clicked item with fortune 3
  1789. set cursor item to air
  1790. message "&aEncantamento aplicado com sucesso."
  1791. stop
  1792. else:
  1793. send "&cVocê precisa ter o encantamento Fortune II."
  1794. cancel event
  1795. stop
  1796. chance of 50%:
  1797. clicked item is enchanted with fortune 2
  1798. set cursor item to air
  1799. send "&cIhhh! Parece que não deu certo."
  1800. stop
  1801. else:
  1802. send "&cVocê precisa ter o encantamento Fortune II."
  1803. cancel event
  1804. stop
  1805. #=====================================================================#
  1806. # Power #
  1807. #=====================================================================#
  1808. on inventory click:
  1809. if cursor item is enchanted book named "&eLivro simples" with lore "&7Força I|| ||&aChance de sucesso: 50*||&7Encanta: Arcos":
  1810. if clicked item is bow:
  1811. chance of 50%:
  1812. enchant clicked item with power 1
  1813. set cursor item to air
  1814. message "&aEncantamento aplicado com sucesso."
  1815. stop
  1816. chance of 50%:
  1817. send "&cIhhh! Parece que não deu certo."
  1818. set cursor item to air
  1819. stop
  1820. on inventory click:
  1821. if cursor item is enchanted book named "&eLivro simples" with lore "&7Força II|| ||&aChance de sucesso: 50*||&7Encanta: Arcos":
  1822. if clicked item is bow:
  1823. chance of 50%:
  1824. clicked item is enchanted with power 1
  1825. enchant clicked item with power 2
  1826. set cursor item to air
  1827. message "&aEncantamento aplicado com sucesso."
  1828. stop
  1829. else:
  1830. send "&cVocê precisa ter o encantamento Força I."
  1831. cancel event
  1832. stop
  1833. chance of 50%:
  1834. clicked item is enchanted with power 1
  1835. set cursor item to air
  1836. send "&cIhhh! Parece que não deu certo."
  1837. stop
  1838. else:
  1839. send "&cVocê precisa ter o encantamento Força I."
  1840. cancel event
  1841. stop
  1842. on inventory click:
  1843. if cursor item is enchanted book named "&eLivro normal" with lore "&7Força III|| ||&aChance de sucesso: 50*||&7Encanta: Arcos":
  1844. if clicked item is bow:
  1845. chance of 50%:
  1846. clicked item is enchanted with power 2
  1847. enchant clicked item with power 3
  1848. set cursor item to air
  1849. message "&aEncantamento aplicado com sucesso."
  1850. stop
  1851. else:
  1852. send "&cVocê precisa ter o encantamento Força II."
  1853. cancel event
  1854. stop
  1855. chance of 50%:
  1856. clicked item is enchanted with power 2
  1857. set cursor item to air
  1858. send "&cIhhh! Parece que não deu certo."
  1859. stop
  1860. else:
  1861. send "&cVocê precisa ter o encantamento Força II."
  1862. cancel event
  1863. stop
  1864. on inventory click:
  1865. if cursor item is enchanted book named "&eLivro normal" with lore "&7Força IV|| ||&aChance de sucesso: 50*||&7Encanta: Arcos":
  1866. if clicked item is bow:
  1867. chance of 50%:
  1868. clicked item is enchanted with power 3
  1869. enchant clicked item with power 4
  1870. set cursor item to air
  1871. message "&aEncantamento aplicado com sucesso."
  1872. stop
  1873. else:
  1874. send "&cVocê precisa ter o encantamento Força III."
  1875. cancel event
  1876. stop
  1877. chance of 50%:
  1878. clicked item is enchanted with power 3
  1879. set cursor item to air
  1880. send "&cIhhh! Parece que não deu certo."
  1881. stop
  1882. else:
  1883. send "&cVocê precisa ter o encantamento Força III."
  1884. cancel event
  1885. stop
  1886. on inventory click:
  1887. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Força V|| ||&aChance de sucesso: 50*||&7Encanta: Arcos":
  1888. if clicked item is bow:
  1889. chance of 50%:
  1890. clicked item is enchanted with power 4
  1891. enchant clicked item with power 5
  1892. set cursor item to air
  1893. message "&aEncantamento aplicado com sucesso."
  1894. stop
  1895. else:
  1896. send "&cVocê precisa ter o encantamento Força IV."
  1897. cancel event
  1898. stop
  1899. chance of 50%:
  1900. clicked item is enchanted with power 4
  1901. set cursor item to air
  1902. send "&cIhhh! Parece que não deu certo."
  1903. stop
  1904. else:
  1905. send "&cVocê precisa ter o encantamento Força IV."
  1906. cancel event
  1907. stop
  1908. #=====================================================================#
  1909. # Impacto #
  1910. #=====================================================================#
  1911. on inventory click:
  1912. if cursor item is enchanted book named "&eLivro normal" with lore "&7Impacto I|| ||&aChance de sucesso: 50*||&7Encanta: Arcos":
  1913. if clicked item is bow:
  1914. chance of 50%:
  1915. enchant clicked item with punch 1
  1916. set cursor item to air
  1917. message "&aEncantamento aplicado com sucesso."
  1918. stop
  1919. chance of 50%:
  1920. send "&cIhhh! Parece que não deu certo."
  1921. set cursor item to air
  1922. stop
  1923. on inventory click:
  1924. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Impacto II|| ||&aChance de sucesso: 50*||&7Encanta: Arcos":
  1925. if clicked item is bow:
  1926. chance of 50%:
  1927. clicked item is enchanted with punch 1
  1928. enchant clicked item with punch 2
  1929. set cursor item to air
  1930. message "&aEncantamento aplicado com sucesso."
  1931. stop
  1932. else:
  1933. send "&cVocê precisa ter o encantamento punch I."
  1934. cancel event
  1935. stop
  1936. chance of 50%:
  1937. clicked item is enchanted with punch 1
  1938. set cursor item to air
  1939. send "&cIhhh! Parece que não deu certo."
  1940. stop
  1941. else:
  1942. send "&cVocê precisa ter o encantamento punch I."
  1943. cancel event
  1944. stop
  1945. #=====================================================================#
  1946. # Chama #
  1947. #=====================================================================#
  1948. on inventory click:
  1949. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Chama I|| ||&aChance de sucesso: 50*||&7Encanta: Arcos":
  1950. if clicked item is bow:
  1951. chance of 50%:
  1952. enchant clicked item with flame 1
  1953. set cursor item to air
  1954. message "&aEncantamento aplicado com sucesso."
  1955. stop
  1956. chance of 50%:
  1957. send "&cIhhh! Parece que não deu certo."
  1958. set cursor item to air
  1959. stop
  1960. #=====================================================================#
  1961. # Infinidade #
  1962. #=====================================================================#
  1963. on inventory click:
  1964. if cursor item is enchanted book named "&eLivro avançado" with lore "&7Infinidade I|| ||&aChance de sucesso: 50*||&7Encanta: Arcos":
  1965. if clicked item is bow:
  1966. chance of 50%:
  1967. enchant clicked item with infinity 1
  1968. set cursor item to air
  1969. message "&aEncantamento aplicado com sucesso."
  1970. stop
  1971. chance of 50%:
  1972. send "&cIhhh! Parece que não deu certo."
  1973. set cursor item to air
  1974. stop
  1975. #=====================================================================#
  1976. # Admin #
  1977. #=====================================================================#
  1978. command /httenchant:
  1979. trigger:
  1980. send "&a&l&k| &c&lSky Enchanting &a&l&k|"
  1981. send "&a&lCriador: hallowed"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement