Advertisement
HallowedS

Untitled

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