Guest User

3

a guest
Mar 6th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.11 KB | None | 0 0
  1. on damage:
  2. if damage cause is attack:
  3. if line 1 of lore of attacker's tool is "&5Magic: &eJudgment Thunder Ⅰ":
  4. set {_cooldown1} to difference between {magic.thunder1.%attacker%} and now
  5. if {_cooldown1} is less than 60 tick:
  6. stop
  7. if victim is not players:
  8. create lightning effect at victim
  9. damage the victim by 4
  10. set {magic.thunder1.%attacker%} to now
  11. stop
  12. if line 1 of lore of attacker's tool is "&5Magic: &eJudgment Thunder Ⅱ":
  13. set {_cooldown2} to difference between {magic.thunder2.%attacker%} and now
  14. if {_cooldown2} is less than 60 tick:
  15. stop
  16. loop entities in radius 3 around victim:
  17. loop-entity is not players:
  18. create lightning effect at loop-entity
  19. damage the loop-entity by 6
  20. set {magic.thunder2.%attacker%} to now
  21. stop
  22. if line 1 of lore of attacker's tool is "&5Magic: &eJudgment Thunder Ⅲ":
  23. set {_cooldown3} to difference between {magic.thunder3.%attacker%} and now
  24. if {_cooldown3} is less than 60 tick:
  25. stop
  26. loop entities in radius 5 around victim:
  27. loop-entity is not players:
  28. create lightning effect at loop-entity
  29. damage loop-entity by 8
  30. set {magic.thunder3.%attacker%} to now
  31. stop
  32. if line 1 of lore of attacker's tool is "&5Magic: &4Sacred flame Ⅰ":
  33. set {_cooldown4} to difference between {magic.flame1.%attacker%} and now
  34. if {_cooldown4} is less than 60 tick:
  35. stop
  36. if victim is not players:
  37. ignite victim for 2 seconds
  38. damage victim by 2
  39. set {magic.flame1.%attacker%} to now
  40. stop
  41. if line 1 of lore of attacker's tool is "&5Magic: &4Sacred flame Ⅱ":
  42. set {_cooldown5} to difference between {magic.flame2.%attacker%} and now
  43. if {_cooldown5} is less than 60 tick:
  44. stop
  45. if victim is players:
  46. loop entities in radius 3 around victim:
  47. loop-entity is not all players:
  48. ignite loop-entity for 4 seconds
  49. damage loop-entity by 3
  50. set {magic.flame2.%attacker%} to now
  51. stop
  52. if line 1 of lore of attacker's tool is "&5Magic: &4Sacred flame Ⅲ":
  53. set {_cooldown5} to difference between {magic.flame3.%attacker%} and now
  54. if {_cooldown5} is less than 60 tick:
  55. stop
  56. if victim is players:
  57. loop entities in radius 5 around victim:
  58. loop-entity is not all players:
  59. ignite loop-entity for 6 seconds
  60. damage loop-entity by 4
  61. set {magic.flame3.%attacker%} to now
  62. stop
  63. command /magic <text>:
  64. trigger:
  65. if player is an op:
  66. if arg 1 is "t1":
  67. set line 1 of lore of player's tool to "&5Magic: &eJudgment Thunder Ⅰ"
  68. if arg 1 is "t2":
  69. set line 1 of lore of player's tool to "&5Magic: &eJudgment Thunder Ⅱ"
  70. if arg 1 is "t3":
  71. set line 1 of lore of player's tool to "&5Magic: &eJudgment Thunder Ⅲ"
  72. if arg 1 is "2":
  73. set line 1 of lore of player's tool to "&5Magic: &4Fire Barrier"
  74. if arg 1 is "f1":
  75. set line 1 of lore of player's tool to "&5Magic: &4Sacred flame Ⅰ"
  76. if arg 1 is "f2":
  77. set line 1 of lore of player's tool to "&5Magic: &4Sacred flame Ⅱ"
  78. if arg 1 is "f3":
  79. set line 1 of lore of player's tool to "&5Magic: &4Sacred flame Ⅲ"
  80.  
  81. on right click holding a sword:
  82. if target block is end portal frame:
  83. loop all items in player's inventory:
  84. if loop-item is equal to nether star named "&5マジックストーン(武器)":
  85. remove 1 of nether star named "&5マジックストーン(武器)" from player
  86. set {1} to random integer between 1 and 300
  87. if {1} is between 1 and 120:
  88. message "Magic: Judgment Thunder Ⅰ" to player
  89. set line 1 of lore of player's tool to "&5Magic: &eJudgment Thunder Ⅰ"
  90. stop
  91. if {1} is between 242 and 262:
  92. message "Magic: Judgment Thunder Ⅱ" to player
  93. set line 1 of lore of player's tool to "&5Magic: &eJudgment Thunder Ⅱ"
  94. stop
  95. if {1} is 285:
  96. set line 1 of lore of player's tool to "&5Magic: &eJudgment Thunder Ⅲ"
  97. broadcast "-------------------------------------------"
  98. broadcast "%player%が&eJudgment Thunder Ⅲを出しました"
  99. broadcast "-------------------------------------------"
  100. stop
  101. if {1} is between 121 and 241:
  102. message "Magic: Sacred flame Ⅰ" to player
  103. set line 1 of lore of player's tool to "&5Magic: &4Sacred flame Ⅰ"
  104. stop
  105. if {1} is between 263 and 284:
  106. message "Magic: Sacred flame Ⅱ" to player
  107. set line 1 of lore of player's tool to "&5Magic: &4Sacred flame Ⅱ"
  108. stop
  109. if {1} is 286:
  110. set line 1 of lore of player's tool to "&5Magic: &4Sacred flame Ⅲ"
  111. broadcast "-------------------------------------------"
  112. broadcast "%player%が&4Sacred flame Ⅲ を出しました"
  113. broadcast "-------------------------------------------"
  114. stop
  115. if {1} is between 287 and 300:
  116. message "失敗しました" to player
  117. remove 1 of held item from player
  118. stop
  119. command /magicstone:
  120. trigger:
  121. if player is an op:
  122. give 64 nether star named "&5マジックストーン(武器)" to player
  123. on explode:
  124. cancel event
  125. on right click holding a golden sword:
  126. name of held item contains "&e&lピエロの傘"
  127. if player is an op:
  128. shoot a tnt
  129. on right click holding a blaze rod:
  130. name of held item contains "&e&lLightning Rod"
  131. if player is an op:
  132. loop entities in radius 20 around player:
  133. loop-entity is not all players:
  134. create lightning effect at loop-entity
  135. damage loop-entity by 20
  136. command /piero:
  137. trigger:
  138. if player is an op:
  139. give an golden sword named "&e&lピエロの傘" to player
  140. command /lightning rod:
  141. trigger:
  142. if player is an op:
  143. give an blaze rod named "&e&lLightning Rod" to player
  144. command /weapon:
  145. trigger:
  146. set {weapon} to difference between {weapon.%player%} and now
  147. if {weapon} is less than 60 seconds:
  148. stop
  149. broadcast "----------------------------------"
  150. broadcast " %player% "
  151. broadcast " Name: %name of held item%"
  152. broadcast " Magic: %line 1 of lore of held item%"
  153. broadcast "----------------------------------"
  154. set {weapon.%player%} to now
  155. stop
  156. command /beriaru <text>:
  157. trigger:
  158. if player is an op:
  159. if arg 1 is "on":
  160. set player's chat name to "&4&lBelial"
  161. if arg 1 is "off":
  162. set player's chat name to "%player%"
  163. set player's tablist name to "%player%"
  164. command /bossa:
  165. trigger:
  166. if player is an op:
  167. spawn a wither
  168. loop entities in radius 1 around player:
  169. if loop-entity is a wither:
  170. set name of loop-entity to "&4&lBelial"
  171. send player title "&4レイドボス" with subtitle "ベリアルの叫び声が聞こえる…" for 3 seconds
  172. set the last spawned entity's max health to 250
  173. set health of loop-entity to max health of loop-entity
  174. command /bossd:
  175. trigger:
  176. if player is an op:
  177. command "kill @e[type=wither]"
  178. on death of wither:
  179. name of victim contains "&4&lBelial"
  180. send all players title "&4ベリアルを討伐した" for 3 seconds
  181. command "/kill @e[type=item]"
  182. give a nether star named "&4&lベリアル討伐の印" to all players
  183. on join:
  184. broadcast "%player%さんが参加しました"
  185. command /skr:
  186. trigger:
  187. command "/sk reload scripts"
Advertisement
Add Comment
Please, Sign In to add comment