HallowedS

Untitled

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