HallowedS

Untitled

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