yukki10

Untitled

Aug 25th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.46 KB | None | 0 0
  1. command /enchf <player>:
  2. permission:admin
  3. trigger:
  4. broadcast "&6&l&m--------*--------*--------"
  5. broadcast "&a%arg-1% がエンチャ花火を使いました!"
  6. broadcast "&a5分間の間 エンチャレベルⅢの"
  7. broadcast "&a付与確率が5倍になります!"
  8. broadcast "&6&l&m--------*--------*--------"
  9. set {EnchF} to 1
  10.  
  11. wait 300 seconds
  12. set {EnchF} to 0
  13. broadcast "&6&l&m-------*--------*-------"
  14. broadcast "&aエンチャ花火の効果が切れました"
  15. broadcast "&6&l&m-------*--------*-------"
  16.  
  17.  
  18. command /uf <player>:
  19. permission:admin
  20. trigger:
  21. broadcast "&6&l&m--------*--------*--------"
  22. broadcast "&a%arg-1% がアンブレ花火を使いました!"
  23. broadcast "&aAddonで武器が消滅する確率が "
  24. broadcast "&a5分間の間 1/2になります!"
  25. broadcast "&6&l&m--------*--------*--------"
  26.  
  27. set {UF} to 1
  28. wait 300 seconds
  29. set {UF} to 0
  30. broadcast "&6&l&m--------*--------*--------"
  31. broadcast "&aアンブレ花火の効果が切れました"
  32. broadcast "&6&l&m--------*--------*--------"
  33.  
  34.  
  35.  
  36.  
  37.  
  38. on join:
  39. set {menu::%player%} to 0
  40. on inventory close:
  41. set {menu::%player%} to 0
  42. on right click on enchantment table:
  43. cancel event
  44. open chest with 0 row named "&5EnchMenu" to player
  45. set {menu::%player%} to 1
  46. on inventory click:
  47. {menu::%player%} is 1
  48. set {_item} to clicked item
  49. loop all items in player's inventory:
  50. if name of loop-item is "&fNormalEnchStone":
  51. remove 1 of loop-item from player
  52. if {EnchF} is 0:
  53. if {UF} is 0:
  54. set {_enchg} to random integer between 1 and 1000
  55. if {_enchg} is between 1 and 850:
  56. set {enchl} to 1
  57. if {_enchg} is between 851 and 950:
  58. remove 1 of {enchi.%player%} from player
  59. stop
  60. if {_enchg} is between 951 and 997:
  61. set {enchl} to 2
  62. if {_enchg} is between 998 and 1000:
  63. set {enchl} to 3
  64.  
  65. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  66.  
  67. set {_ench} to random integer between 1 and 100
  68.  
  69. if {_ench} is between 1 and 25:
  70. if {enchl} is 1:
  71. set line 2 of lore of clicked item to "&3LMGこそ最強"
  72. if {enchl} is 2:
  73. set line 2 of lore of clicked item to "&3LMGこそ最強"
  74. if {enchl} is 3:
  75. set line 2 of lore of clicked item to "&3LMGこそ最強"
  76.  
  77. if {_ench} is between 26 and 50:
  78. if {enchl} is 1:
  79. set line 2 of lore of clicked item to "&3LMGこそ最強"
  80. if {enchl} is 2:
  81. set line 2 of lore of clicked item to "&3LMGこそ最強"
  82. if {enchl} is 3:
  83. set line 2 of lore of clicked item to "&3LMGこそ最強"
  84. if {_ench} is between 51 and 75:
  85. if {enchl} is 1:
  86. set line 2 of lore of clicked item to "&3LMGこそ最強"
  87. if {enchl} is 2:
  88. set line 2 of lore of clicked item to "&3LMGこそ最強"
  89. if {enchl} is 3:
  90. set line 2 of lore of clicked item to "&3LMGこそ最強"
  91. if {_ench} is between 76 and 100:
  92. if {enchl} is 1:
  93. set line 2 of lore of clicked item to "&3LMGこそ最強"
  94. if {enchl} is 2:
  95. set line 2 of lore of clicked item to "&3LMGこそ最強"
  96. if {enchl} is 3:
  97. set line 2 of lore of clicked item to "&3LMGこそ最強"
  98. if {EnchF} is 0:
  99. if {UF} is 1:
  100. set {_enchg} to random integer between 1 and 1000
  101. if {_enchg} is between 1 and 900:
  102. set {enchl} to 1
  103. if {_enchg} is between 901 and 950:
  104. remove 1 of {enchi.%player%} from player
  105. stop
  106. if {_enchg} is between 951 and 997:
  107. set {enchl} to 2
  108. if {_enchg} is between 998 and 1000:
  109. set {enchl} to 3
  110.  
  111. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  112.  
  113. set {_ench} to random integer between 1 and 100
  114.  
  115. if {_ench} is between 1 and 25:
  116. if {enchl} is 1:
  117. set line 2 of lore of clicked item to "&3LMGこそ最強"
  118. if {enchl} is 2:
  119. set line 2 of lore of clicked item to "&3LMGこそ最強"
  120. if {enchl} is 3:
  121. set line 2 of lore of clicked item to "&3LMGこそ最強"
  122.  
  123. if {_ench} is between 26 and 50:
  124. if {enchl} is 1:
  125. set line 2 of lore of clicked item to "&3LMGこそ最強"
  126. if {enchl} is 2:
  127. set line 2 of lore of clicked item to "&3LMGこそ最強"
  128. if {enchl} is 3:
  129. set line 2 of lore of clicked item to "&3LMGこそ最強"
  130. if {_ench} is between 51 and 75:
  131. if {enchl} is 1:
  132. set line 2 of lore of clicked item to "&3LMGこそ最強"
  133. if {enchl} is 2:
  134. set line 2 of lore of clicked item to "&3LMGこそ最強"
  135. if {enchl} is 3:
  136. set line 2 of lore of clicked item to "&3LMGこそ最強"
  137. if {_ench} is between 76 and 100:
  138. if {enchl} is 1:
  139. set line 2 of lore of clicked item to "&3LMGこそ最強"
  140. if {enchl} is 2:
  141. set line 2 of lore of clicked item to "&3LMGこそ最強"
  142. if {enchl} is 3:
  143. set line 2 of lore of clicked item to "&3LMGこそ最強"
  144. if {EnchF} is 1:
  145. if {UF} is 0:
  146. set {_enchg} to random integer between 1 and 1000
  147. if {_enchg} is between 1 and 840:
  148. set {enchl} to 1
  149. if {_enchg} is between 841 and 940:
  150. remove 1 of {enchi.%player%} from player
  151. stop
  152. if {_enchg} is between 940 and 985:
  153. set {enchl} to 2
  154. if {_enchg} is between 986 and 1000:
  155. set {enchl} to 3
  156.  
  157. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  158.  
  159. set {_ench} to random integer between 1 and 100
  160.  
  161. if {_ench} is between 1 and 25:
  162. if {enchl} is 1:
  163. set line 2 of lore of clicked item to "&3LMGこそ最強"
  164. if {enchl} is 2:
  165. set line 2 of lore of clicked item to "&3LMGこそ最強"
  166. if {enchl} is 3:
  167. set line 2 of lore of clicked item to "&3LMGこそ最強"
  168.  
  169. if {_ench} is between 26 and 50:
  170. if {enchl} is 1:
  171. set line 2 of lore of clicked item to "&3LMGこそ最強"
  172. if {enchl} is 2:
  173. set line 2 of lore of clicked item to "&3LMGこそ最強"
  174. if {enchl} is 3:
  175. set line 2 of lore of clicked item to "&3LMGこそ最強"
  176. if {_ench} is between 51 and 75:
  177. if {enchl} is 1:
  178. set line 2 of lore of clicked item to "&3LMGこそ最強"
  179. if {enchl} is 2:
  180. set line 2 of lore of clicked item to "&3LMGこそ最強"
  181. if {enchl} is 3:
  182. set line 2 of lore of clicked item to "&3LMGこそ最強"
  183. if {_ench} is between 76 and 100:
  184. if {enchl} is 1:
  185. set line 2 of lore of clicked item to "&3LMGこそ最強"
  186. if {enchl} is 2:
  187. set line 2 of lore of clicked item to "&3LMGこそ最強"
  188. if {enchl} is 3:
  189. set line 2 of lore of clicked item to "&3LMGこそ最強"
  190. if {EnchF} is 1:
  191. if {UF} is 1:
  192. set {_enchg} to random integer between 1 and 1000
  193. if {_enchg} is between 1 and 900:
  194. set {enchl} to 1
  195. if {_enchg} is between 901 and 950:
  196. remove 1 of {enchi.%player%} from player
  197. stop
  198. if {_enchg} is between 940 and 985:
  199. set {enchl} to 2
  200. if {_enchg} is between 986 and 1000:
  201. set {enchl} to 3
  202.  
  203. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  204.  
  205. set {_ench} to random integer between 1 and 100
  206.  
  207. if {_ench} is between 1 and 25:
  208. if {enchl} is 1:
  209. set line 2 of lore of clicked item to "&3LMGこそ最強"
  210. if {enchl} is 2:
  211. set line 2 of lore of clicked item to "&3LMGこそ最強"
  212. if {enchl} is 3:
  213. set line 2 of lore of clicked item to "&3LMGこそ最強"
  214.  
  215. if {_ench} is between 26 and 50:
  216. if {enchl} is 1:
  217. set line 2 of lore of clicked item to "&3LMGこそ最強"
  218. if {enchl} is 2:
  219. set line 2 of lore of clicked item to "&3LMGこそ最強"
  220. if {enchl} is 3:
  221. set line 2 of lore of clicked item to "&3LMGこそ最強"
  222. if {_ench} is between 51 and 75:
  223. if {enchl} is 1:
  224. set line 2 of lore of clicked item to "&3LMGこそ最強"
  225. if {enchl} is 2:
  226. set line 2 of lore of clicked item to "&3LMGこそ最強"
  227. if {enchl} is 3:
  228. set line 2 of lore of clicked item to "&3LMGこそ最強"
  229. if {_ench} is between 76 and 100:
  230. if {enchl} is 1:
  231. set line 2 of lore of clicked item to "&3LMGこそ最強"
  232. if {enchl} is 2:
  233. set line 2 of lore of clicked item to "&3LMGこそ最強"
  234. if {enchl} is 3:
  235. set line 2 of lore of clicked item to "&3LMGこそ最強"
  236. stop
Advertisement
Add Comment
Please, Sign In to add comment