Advertisement
yukki10

Untitled

May 26th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.98 KB | None | 0 0
  1. on damage:
  2. if {deatht.%victim%} is 1:
  3. cancel event
  4. attacker is player
  5. victim is player
  6. set {tool.%attacker%} to attacker's tool
  7. set {tool.%victim%} to victim's tool
  8. if lore of {tool.%attacker%} contain "Attack Fortune Ⅲ":
  9. set {_af} to random integer between 1 and 100
  10. if {_af} is between 1 and 90:
  11. damage victim by 0.5 hearts
  12. if lore of {tool.%attacker%} contain "Last Attack Ⅲ":
  13. set {_la} to random integer between 1 and 100
  14. if {_la} is between 1 and 60:
  15. damage victim by 1 hearts
  16. if lore of {tool.%victim%} contain "Power Guard Ⅲ":
  17. set {_pg} to random integer between 1 and 100
  18. if {_pg} is between 1 and 35:
  19. cancel event
  20. if lore of {tool.%victim%} contain "Holy Barrier Ⅲ":
  21. set damage to damage - 0.5
  22.  
  23.  
  24.  
  25. if lore of {tool.%attacker%} contain "Attack Fortune Ⅱ":
  26. set {_af} to random integer between 1 and 100
  27. if {_af} is between 1 and 60:
  28. damage victim by 0.5 hearts
  29. if lore of {tool.%attacker%} contain "Last Attack Ⅱ":
  30. set {_la} to random integer between 1 and 100
  31. if {_la} is between 1 and 30:
  32. damage victim by 1 hearts
  33. if lore of {tool.%victim%} contain "Power Guard Ⅱ":
  34. set {_pg} to random integer between 1 and 100
  35. if {_pg} is between 1 and 20:
  36. cancel event
  37. if lore of {tool.%victim%} contain "Holy Barrier Ⅱ":
  38.  
  39. set damage to damage - 0.3
  40.  
  41.  
  42.  
  43. if lore of {tool.%attacker%} contain "Attack Fortune Ⅰ":
  44. set {_af} to random integer between 1 and 100
  45. if {_af} is between 1 and 30:
  46. damage victim by 0.5 hearts
  47. if lore of {tool.%attacker%} contain "Last Attack Ⅰ":
  48. set {_la} to random integer between 1 and 100
  49. if {_la} is between 1 and 20:
  50. damage victim by 1 hearts
  51. if lore of {tool.%victim%} contain "Power Guard Ⅰ":
  52. set {_pg} to random integer between 1 and 100
  53. if {_pg} is between 1 and 10:
  54. cancel event
  55. if lore of {tool.%victim%} contain "Holy Barrier Ⅰ":
  56.  
  57. set damage to damage - 0.2
  58.  
  59.  
  60. if lore of {tool.%attacker%} contain "&1Migration":
  61. set {_lg} to random integer between 1 and 100
  62. if {_lg} is between 1 and 20:
  63. execute console command "effect %victim% minecraft:slowness 4 0"
  64. if lore of {tool.%attacker%} contain "&4Lightguidance":
  65. set {_lg} to random integer between 1 and 100
  66. if {_lg} is between 1 and 30:
  67. execute console command "effect %victim% minecraft:glowing 3 1"
  68. damage victim by 0.5 hearts
  69. if lore of {tool.%attacker%} contain "&5Darkguidance":
  70. set {_dg} to random integer between 1 and 100
  71. if {_dg} is between 1 and 83:
  72. damage victim by 1 hearts
  73. set {_dg2} to random integer between 1 and 100
  74. if {_dg2} is between 1 and 20:
  75. execute console command "effect %victim% minecraft:blindness 3 1"
  76.  
  77. command /af <number>:
  78. permission:admin
  79. trigger:
  80. loop all items in player's inventory:
  81. if name of loop-item contains "AdminBOX":
  82. if loop-item is equal to nether star:
  83. remove 1 of loop-item from player
  84. set {ei.%player%} to player's held item
  85. if arg-1 is 1:
  86. set line 6 of lore of {ei.%player%} to "&1Attack Fortune Ⅰ"
  87. if arg-1 is 2:
  88. set line 6 of lore of {ei.%player%} to "&2Attack Fortune Ⅱ"
  89. if arg-1 is 3:
  90. set line 6 of lore of {ei.%player%} to "&5Attack Fortune Ⅲ"
  91. command /la <number>:
  92. permission:admin
  93. trigger:
  94. loop all items in player's inventory:
  95. if name of loop-item contains "AdminBOX":
  96. if loop-item is equal to nether star:
  97. remove 1 of loop-item from player
  98. set {ei.%player%} to player's held item
  99. if arg-1 is 1:
  100. set line 6 of lore of {ei.%player%} to "&1Last Attack Ⅰ"
  101. if arg-1 is 2:
  102. set line 6 of lore of {ei.%player%} to "&2Last Attack Ⅱ"
  103. if arg-1 is 3:
  104. set line 6 of lore of {ei.%player%} to "&5Last Attack Ⅲ"
  105. command /pg <number>:
  106. permission:admin
  107. trigger:
  108. loop all items in player's inventory:
  109. if name of loop-item contains "AdminBOX":
  110. if loop-item is equal to nether star:
  111. remove 1 of loop-item from player
  112. set {ei.%player%} to player's held item
  113. if arg-1 is 1:
  114. set line 6 of lore of {ei.%player%} to "&1Power Guard Ⅰ"
  115. if arg-1 is 2:
  116. set line 6 of lore of {ei.%player%} to "&2Power Guard Ⅱ"
  117. if arg-1 is 3:
  118. set line 6 of lore of {ei.%player%} to "&5Power Guard Ⅲ"
  119. command /hb <number>:
  120. permission:admin
  121. trigger:
  122. loop all items in player's inventory:
  123. if name of loop-item contains "AdminBOX":
  124. if loop-item is equal to nether star:
  125. remove 1 of loop-item from player
  126. set {ei.%player%} to player's held item
  127. if arg-1 is 1:
  128. set line 6 of lore of {ei.%player%} to "&1Holy Barrier Ⅰ"
  129. if arg-1 is 2:
  130. set line 6 of lore of {ei.%player%} to "&2Holy Barrier Ⅱ"
  131. if arg-1 is 3:
  132. set line 6 of lore of {ei.%player%} to "&5Holy Barrier Ⅲ"
  133.  
  134. on death of player:
  135. set {deatht.%entity%} to 1
  136. on respawn:
  137. set {deatht.%entity%} to 0
  138. execute console command "effect %player% minecraft:resistance 3 5"
  139.  
  140.  
  141. command /custom:
  142. trigger:
  143. if lore of player's held item contains "Ⅲ":
  144. stop
  145. loop all items in player's inventory:
  146. if name of loop-item is "&fEnchantStone":
  147. remove 1 of loop-item from player
  148. set {enchi.%player%} to player's held item
  149. set {_enchg} to random integer between 1 and 1000
  150. if {_enchg} is between 1 and 850:
  151. set {enchl} to 1
  152. if {_enchg} is between 851 and 950:
  153. remove 1 of {enchi.%player%} from player
  154. stop
  155. if {_enchg} is between 951 and 999:
  156. set {enchl} to 2
  157. if {_enchg} is 1000:
  158. set {enchl} to 3
  159. broadcast "%player%さんがエンチャントレベルⅢを出しました! おめでとう!"
  160. set {_ench} to random integer between 1 and 100
  161.  
  162. if {_ench} is between 1 and 25:
  163. if {enchl} is 1:
  164. set line 6 of lore of {enchi.%player%} to "&bAttack Fortune Ⅰ"
  165. if {enchl} is 2:
  166. set line 6 of lore of {enchi.%player%} to "&2Attack Fortune Ⅱ"
  167. if {enchl} is 3:
  168. set line 6 of lore of {enchi.%player%} to "&5Attack Fortune Ⅲ"
  169.  
  170. if {_ench} is between 26 and 50:
  171. if {enchl} is 1:
  172. set line 6 of lore of {enchi.%player%} to "&bLast Attack Ⅰ"
  173. if {enchl} is 2:
  174. set line 6 of lore of {enchi.%player%} to "&2Last Attack Ⅱ"
  175. if {enchl} is 3:
  176. set line 6 of lore of {enchi.%player%} to "&5Last Attack Ⅲ"
  177. if {_ench} is between 51 and 75:
  178. if {enchl} is 1:
  179. set line 6 of lore of {enchi.%player%} to "&bPower Guard Ⅰ"
  180. if {enchl} is 2:
  181. set line 6 of lore of {enchi.%player%} to "&2Power Guard Ⅱ"
  182. if {enchl} is 3:
  183. set line 6 of lore of {enchi.%player%} to "&5Power Guard Ⅲ"
  184. if {_ench} is between 76 and 100:
  185. if {enchl} is 1:
  186. set line 6 of lore of {enchi.%player%} to "&bHoly Barrier Ⅰ"
  187. if {enchl} is 2:
  188. set line 6 of lore of {enchi.%player%} to "&2Holy Barrier Ⅱ"
  189. if {enchl} is 3:
  190. set line 6 of lore of {enchi.%player%} to "&5Holy Barrier Ⅲ"
  191.  
  192. stop
  193.  
  194.  
  195. command /partscustom:
  196. trigger:
  197. loop all items in player's inventory:
  198. if name of loop-item is "&fPartsbox":
  199. remove 1 of loop-item from player
  200. set {pbi.%player%} to player's held item
  201. set {_pg} to random integer between 1 and 1000
  202. if {_pg} is between 1 and 190:
  203. set line 1 of lore of {pbi.%player%} to "&1Migration"
  204. if {_pg} is between 951 and 1000:
  205. remove 1 of {pbi.%player%} from player
  206. stop
  207. if {_pg} is between 191 and 380:
  208. set line 1 of lore of {pbi.%player%} to "&2Speedfast"
  209. if {_pg} is between 381 and 570:
  210. set line 1 of lore of {pbi.%player%} to "&3Heelsource"
  211. if {_pg} is between 571 and 760:
  212. set line 1 of lore of {pbi.%player%} to "&4Lightguidance"
  213. if {_pg} is between 761 and 950:
  214. set line 1 of lore of {pbi.%player%} to "&5Darkguidance"
  215. stop
  216.  
  217.  
  218. command /addon:
  219. trigger:
  220. loop all items in player's inventory:
  221. if name of loop-item is "&5Gun&6Parts":
  222. set {adi.%player%} to player's held item
  223. set {_dg} to random integer between 1 and 100
  224. if {_dg} is between 1 and 50:
  225. remove 1 of {adi.%player%} from player
  226. remove 1 of loop-item from player
  227. stop
  228. if lore of loop-item contain "&1Migration":
  229. set line 1 of lore of {adi.%player%} to "&1Migration"
  230. if lore of loop-item contain "&2Speedfast":
  231. set line 2 of lore of {adi.%player%} to "&2Speedfast"
  232. if lore of loop-item contain "&3Heelsource":
  233. set line 3 of lore of {adi.%player%} to "&3Heelsource"
  234. if lore of loop-item contain "&4Lightguidance":
  235. set line 4 of lore of {adi.%player%} to "&4Lightguidance"
  236. if lore of loop-item contain "&5Darkguidance":
  237. set line 5 of lore of {adi.%player%} to "&5Darkguidance"
  238. remove 1 of loop-item from player
  239. stop
  240.  
  241.  
  242. every 1 seconds:
  243. loop all players:
  244. if lore of loop-player's held item contain "&2Speedfast":
  245. execute console command "effect %loop-player% minecraft:speed 1 2"
  246. if lore of loop-player's held item contain "&3Heelsource":
  247. execute console command "effect %loop-player% minecraft:regeneration 1 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement